aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMax Horn2003-10-17 16:39:32 +0000
committerMax Horn2003-10-17 16:39:32 +0000
commitad2db089404e99a2750cd059237dc2a8579e045f (patch)
tree1067985d297a609ab32a6b45aee6508f330905ae /common
parent96a8d0ec1cb7410d3790c822f2f9d5ce363daeb2 (diff)
downloadscummvm-rg350-ad2db089404e99a2750cd059237dc2a8579e045f.tar.gz
scummvm-rg350-ad2db089404e99a2750cd059237dc2a8579e045f.tar.bz2
scummvm-rg350-ad2db089404e99a2750cd059237dc2a8579e045f.zip
renamed some Timer methods
svn-id: r10868
Diffstat (limited to 'common')
-rw-r--r--common/timer.cpp4
-rw-r--r--common/timer.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/common/timer.cpp b/common/timer.cpp
index f96a2e553a..b6c1ce5710 100644
--- a/common/timer.cpp
+++ b/common/timer.cpp
@@ -104,7 +104,7 @@ int Timer::handler(int t) {
return t;
}
-bool Timer::installProcedure(TimerProc procedure, int32 interval, void *refCon) {
+bool Timer::installTimerProc(TimerProc procedure, int32 interval, void *refCon) {
assert(interval > 0);
Common::StackLock lock(_mutex);
@@ -122,7 +122,7 @@ bool Timer::installProcedure(TimerProc procedure, int32 interval, void *refCon)
return false;
}
-void Timer::releaseProcedure(TimerProc procedure) {
+void Timer::removeTimerProc(TimerProc procedure) {
Common::StackLock lock(_mutex);
for (int l = 0; l < MAX_TIMERS; l++) {
diff --git a/common/timer.h b/common/timer.h
index 5aaa7ccf96..d9ac75ea13 100644
--- a/common/timer.h
+++ b/common/timer.h
@@ -52,8 +52,8 @@ public:
Timer(OSystem *system);
~Timer();
- bool installProcedure(TimerProc procedure, int32 interval, void *refCon);
- void releaseProcedure(TimerProc procedure);
+ bool installTimerProc(TimerProc procedure, int32 interval, void *refCon);
+ void removeTimerProc(TimerProc procedure);
protected:
static int timer_handler(int t);