diff options
Diffstat (limited to 'linden/indra/llcommon/lltimer.h')
-rw-r--r-- | linden/indra/llcommon/lltimer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/llcommon/lltimer.h b/linden/indra/llcommon/lltimer.h index 37917d0..35f0a7b 100644 --- a/linden/indra/llcommon/lltimer.h +++ b/linden/indra/llcommon/lltimer.h | |||
@@ -142,11 +142,12 @@ void secondsToTimecodeString(F32 current_time, char *tcstring); | |||
142 | class LLEventTimer | 142 | class LLEventTimer |
143 | { | 143 | { |
144 | public: | 144 | public: |
145 | LLEventTimer(F32 period); // period is the amount of time between each call to tick() | 145 | LLEventTimer(F32 period); // period is the amount of time between each call to tick() in seconds |
146 | virtual ~LLEventTimer(); | 146 | virtual ~LLEventTimer(); |
147 | 147 | ||
148 | //function to be called at the supplied frequency | 148 | //function to be called at the supplied frequency |
149 | virtual void tick() = 0; | 149 | // Normally return FALSE; TRUE will delete the timer after the function returns. |
150 | virtual BOOL tick() = 0; | ||
150 | 151 | ||
151 | static void updateClass(); | 152 | static void updateClass(); |
152 | 153 | ||