diff options
Diffstat (limited to 'backends/timer/default/default-timer.h')
-rw-r--r-- | backends/timer/default/default-timer.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/backends/timer/default/default-timer.h b/backends/timer/default/default-timer.h index bea4dc3f86..40c5cfcc32 100644 --- a/backends/timer/default/default-timer.h +++ b/backends/timer/default/default-timer.h @@ -27,22 +27,14 @@ class OSystem; +struct TimerSlot; + class DefaultTimerManager : public Common::TimerManager { private: - enum { - MAX_TIMERS = 8 - }; Common::Mutex _mutex; void *_timerHandler; - int32 _thisTime; - int32 _lastTime; - - struct TimerSlots { - TimerProc procedure; - int32 interval; - int32 counter; - void *refCon; - } _timerSlots[MAX_TIMERS]; + TimerSlot *_head; + public: DefaultTimerManager(); |