diff options
-rwxr-xr-x | backends/PalmOS/Src/be_os5ex.cpp | 10 | ||||
-rwxr-xr-x | backends/PalmOS/Src/be_os5ex.h | 11 |
2 files changed, 13 insertions, 8 deletions
diff --git a/backends/PalmOS/Src/be_os5ex.cpp b/backends/PalmOS/Src/be_os5ex.cpp index 605d7cab8a..f6f95ac06e 100755 --- a/backends/PalmOS/Src/be_os5ex.cpp +++ b/backends/PalmOS/Src/be_os5ex.cpp @@ -17,7 +17,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - * $Header$ + * $URL$ + * $Id$ * */ @@ -37,7 +38,7 @@ OSystem_PalmOS5Ex::OSystem_PalmOS5Ex() : OSystem_PalmOS5() { _timerEx.timer = &_timer; _timerEx.ticks = SysTicksPerSecond(); } - +/* static SYSTEM_CALLBACK void timer_handler(void *userDataP) { CALLBACK_PROLOGUE TimerExPtr _timerEx = (TimerExPtr)userDataP; @@ -72,7 +73,7 @@ void OSystem_PalmOS5Ex::setTimerCallback(TimerProc callback, int timer) { if (!_timer.active) _timerEx.timerID = 0; } - +*/ OSystem::MutexRef OSystem_PalmOS5Ex::createMutex() { UInt32 mutexID; Err e = KALMutexCreate(&mutexID, appFileCreator); @@ -94,8 +95,9 @@ void OSystem_PalmOS5Ex::deleteMutex(MutexRef mutex) { if (mutex) KALMutexDelete((UInt32)mutex); } - +/* void OSystem_PalmOS5Ex::int_quit() { if (_timerEx.timerID) KALTimerDelete(_timerEx.timerID); } +*/
\ No newline at end of file diff --git a/backends/PalmOS/Src/be_os5ex.h b/backends/PalmOS/Src/be_os5ex.h index fe2199ffb0..fb4027ccce 100755 --- a/backends/PalmOS/Src/be_os5ex.h +++ b/backends/PalmOS/Src/be_os5ex.h @@ -17,7 +17,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - * $Header$ + * $URL$ + * $Id$ * */ @@ -26,6 +27,8 @@ #include "be_os5.h" +#undef dprintf // fix compilation in Zodiac mode + #ifndef PALMOS_ARM // Not usable with 68k mode (?), so ... #define OSystem_PalmOS5Ex OSystem_PalmOS5 @@ -42,9 +45,9 @@ typedef struct { class OSystem_PalmOS5Ex : public OSystem_PalmOS5 { private: - void timer_handler() {}; +// void timer_handler() {}; void sound_handler() {}; - void int_quit(); +// void int_quit(); SndStreamVariableBufferCallback sound_callback(); @@ -52,7 +55,7 @@ public: OSystem_PalmOS5Ex(); static OSystem *create(); - void setTimerCallback(TimerProc callback, int interval); +// void setTimerCallback(TimerProc callback, int interval); MutexRef createMutex(); void lockMutex(MutexRef mutex); |