diff options
author | Eugene Sandulenko | 2011-08-05 10:15:20 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2011-08-06 11:28:35 +0100 |
commit | 78f1ea769060cd631c210fc01020bb921afe3607 (patch) | |
tree | 3d12aedc45efe68e6e5d81ee24d90c428bfc186c /common/timer.h | |
parent | e72c2fae8896b14553f2e2246726b2e426f0e9bb (diff) | |
download | scummvm-rg350-78f1ea769060cd631c210fc01020bb921afe3607.tar.gz scummvm-rg350-78f1ea769060cd631c210fc01020bb921afe3607.tar.bz2 scummvm-rg350-78f1ea769060cd631c210fc01020bb921afe3607.zip |
OSYSTEM: extended installTimerProc() with timer ID parameter
Diffstat (limited to 'common/timer.h')
-rw-r--r-- | common/timer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/timer.h b/common/timer.h index 40438f078c..621751f825 100644 --- a/common/timer.h +++ b/common/timer.h @@ -43,9 +43,10 @@ public: * @param proc the callback * @param interval the interval in which the timer shall be invoked (in microseconds) * @param refCon an arbitrary void pointer; will be passed to the timer callback + * @param id unique string id of the installed timer. Used by the event recorder * @return true if the timer was installed successfully, false otherwise */ - virtual bool installTimerProc(TimerProc proc, int32 interval, void *refCon) = 0; + virtual bool installTimerProc(TimerProc proc, int32 interval, void *refCon, const Common::String &id) = 0; /** * Remove the given timer callback. It will not be invoked anymore, |