aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/sdl.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/sdl/sdl.h')
-rw-r--r--backends/platform/sdl/sdl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/backends/platform/sdl/sdl.h b/backends/platform/sdl/sdl.h
index 9ef2573dad..5b1ce8f803 100644
--- a/backends/platform/sdl/sdl.h
+++ b/backends/platform/sdl/sdl.h
@@ -39,7 +39,7 @@
/**
* Base OSystem class for all SDL ports.
*/
-class OSystem_SDL : public ModularBackend, public SdlEventSource {
+class OSystem_SDL : public ModularBackend {
public:
OSystem_SDL();
virtual ~OSystem_SDL();
@@ -89,6 +89,11 @@ protected:
SdlMixerManager *_mixerManager;
/**
+ * The event source we use for obtaining SDL events.
+ */
+ SdlEventSource *_eventSource;
+
+ /**
* Initialze the SDL library.
*/
virtual void initSDL();