[Scummvm-cvs-logs] CVS: scummvm/common timer.cpp,1.22,1.23 timer.h,1.11,1.12

Max Horn fingolfin at users.sourceforge.net
Fri Oct 17 09:41:19 CEST 2003


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv11213/common

Modified Files:
	timer.cpp timer.h 
Log Message:
renamed some Timer methods

Index: timer.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/timer.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- timer.cpp	17 Oct 2003 16:30:24 -0000	1.22
+++ timer.cpp	17 Oct 2003 16:39:31 -0000	1.23
@@ -104,7 +104,7 @@
 	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 @@
 	return false;
 }
 
-void Timer::releaseProcedure(TimerProc procedure) {
+void Timer::removeTimerProc(TimerProc procedure) {
 	Common::StackLock lock(_mutex);
 
 	for (int l = 0; l < MAX_TIMERS; l++) {

Index: timer.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/timer.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- timer.h	28 Sep 2003 21:08:47 -0000	1.11
+++ timer.h	17 Oct 2003 16:39:31 -0000	1.12
@@ -52,8 +52,8 @@
 	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);





More information about the Scummvm-git-logs mailing list