From 77f114b835eaafcc334ad38c407faaa04cb62eb8 Mon Sep 17 00:00:00 2001 From: Alejandro Marzini Date: Sun, 13 Jun 2010 21:09:52 +0000 Subject: Added SdlTimerManager. Added getMillis, delayMillis and getTimeAndDate to Common::TimerManager, DefaultTimerManager and ModularBackend. Removed timer code from OSystem_SDL. svn-id: r49637 --- backends/platform/sdl/sdl.h | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'backends/platform/sdl/sdl.h') diff --git a/backends/platform/sdl/sdl.h b/backends/platform/sdl/sdl.h index 5a621a8645..8dae6a779c 100644 --- a/backends/platform/sdl/sdl.h +++ b/backends/platform/sdl/sdl.h @@ -33,22 +33,7 @@ #endif #include "backends/modular-backend.h" - -#include "backends/mutex/sdl/sdl-mutex.h" #include "backends/graphics/sdl/sdl-graphics.h" -#include "backends/audiocd/sdl/sdl-audiocd.h" - -#include "graphics/scaler.h" - - -namespace Audio { - class MixerImpl; -} - -#if !defined(_WIN32_WCE) && !defined(__SYMBIAN32__) -// Uncomment this to enable the 'on screen display' code. -#define USE_OSD 1 -#endif class OSystem_SDL : public ModularBackend { public: @@ -57,14 +42,6 @@ public: virtual void initBackend(); - // Get the number of milliseconds since the program was started. - uint32 getMillis(); - - // Delay for a specified amount of milliseconds - void delayMillis(uint msecs); - - virtual void getTimeAndDate(TimeDate &t) const; - // Define all hardware keys for keymapper virtual Common::HardwareKeySet *getHardwareKeySet(); @@ -86,8 +63,6 @@ public: protected: bool _inited; - SDL_TimerID _timerID; - void setupIcon(); }; -- cgit v1.2.3