summaryrefslogtreecommitdiff
path: root/include/timers.h
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2010-07-26 23:32:03 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2010-07-26 23:32:03 -0400
commit57bb7593059242652c57aae4391b45416dc7fa70 (patch)
tree80b1b21308a0ce7e55bc5b8e278ed6cc95c07e8c /include/timers.h
parent6e6b6b46aabfb3e558f66bd0fdc528e93505cf76 (diff)
Trying to make things a little more const-safe, a work in progress but this is a bit better.
Diffstat (limited to 'include/timers.h')
-rw-r--r--include/timers.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/timers.h b/include/timers.h
index 9573ee524..79443d753 100644
--- a/include/timers.h
+++ b/include/timers.h
@@ -56,22 +56,22 @@ class CoreExport Timer : public Extensible
/** Retrieve the triggering time
* @return The trigger time
*/
- const time_t GetTimer();
+ time_t GetTimer() const;
/** Returns true if the timer is set to repeat
* @return Returns true if the timer is set to repeat
*/
- const bool GetRepeat();
+ bool GetRepeat() const;
/** Returns the interval between ticks
* @return The interval
*/
- const long GetSecs();
+ long GetSecs() const;
/** Returns the time this timer was created
* @return The time this timer was created
*/
- const time_t GetSetTime();
+ time_t GetSetTime() const;
/** Called when the timer ticks
* This should be overridden with something useful