diff options
author | dhewg | 2011-03-22 11:53:10 +0100 |
---|---|---|
committer | dhewg | 2011-03-22 21:02:41 +0100 |
commit | 18d9654ca2b86033aff58c1e20ec9683cb97c47f (patch) | |
tree | 83c977305064caeee12bd1c9899b7c38e66d6917 | |
parent | bb12acfa0ffc0c1fe0a907e6b63c3dd0c2acaec5 (diff) | |
download | scummvm-rg350-18d9654ca2b86033aff58c1e20ec9683cb97c47f.tar.gz scummvm-rg350-18d9654ca2b86033aff58c1e20ec9683cb97c47f.tar.bz2 scummvm-rg350-18d9654ca2b86033aff58c1e20ec9683cb97c47f.zip |
TIMER: Cleanup
-rw-r--r-- | backends/timer/default/default-timer.cpp | 2 | ||||
-rw-r--r-- | backends/timer/default/default-timer.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/backends/timer/default/default-timer.cpp b/backends/timer/default/default-timer.cpp index dd468bbe09..b5060c4c8d 100644 --- a/backends/timer/default/default-timer.cpp +++ b/backends/timer/default/default-timer.cpp @@ -34,7 +34,7 @@ struct TimerSlot { uint32 interval; // in microseconds uint32 nextFireTime; // in milliseconds - uint32 nextFireTimeMicro; // mircoseconds part of nextFire + uint32 nextFireTimeMicro; // microseconds part of nextFire TimerSlot *next; }; diff --git a/backends/timer/default/default-timer.h b/backends/timer/default/default-timer.h index e7ac3d122f..a4c7385ef9 100644 --- a/backends/timer/default/default-timer.h +++ b/backends/timer/default/default-timer.h @@ -40,9 +40,9 @@ private: public: DefaultTimerManager(); - ~DefaultTimerManager(); - bool installTimerProc(TimerProc proc, int32 interval, void *refCon); - void removeTimerProc(TimerProc proc); + virtual ~DefaultTimerManager(); + virtual bool installTimerProc(TimerProc proc, int32 interval, void *refCon); + virtual void removeTimerProc(TimerProc proc); /** * Timer callback, to be invoked at regular time intervals by the backend. |