aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/timer/default/default-timer.cpp2
-rw-r--r--backends/timer/default/default-timer.h6
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.