aboutsummaryrefslogtreecommitdiff
path: root/backends/events/wincesdl/wincesdl-events.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/events/wincesdl/wincesdl-events.h')
-rw-r--r--backends/events/wincesdl/wincesdl-events.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/backends/events/wincesdl/wincesdl-events.h b/backends/events/wincesdl/wincesdl-events.h
index da15b96fe1..f5b1026c46 100644
--- a/backends/events/wincesdl/wincesdl-events.h
+++ b/backends/events/wincesdl/wincesdl-events.h
@@ -26,7 +26,12 @@
#ifndef BACKENDS_EVENTS_SDL_WINCE_H
#define BACKENDS_EVENTS_SDL_WINCE_H
+#include "common/scummsys.h"
+
+#ifdef _WIN32_WCE
+
#include "backends/events/sdl/sdl-events.h"
+#include "backends/graphics/wincesdl/wincesdl-graphics.h"
extern bool _isSmartphone;
@@ -34,6 +39,8 @@ class WINCESdlEventSource : public SdlEventSource {
public:
WINCESdlEventSource();
+ void init(WINCESdlGraphicsManager *graphicsMan);
+
void loadDeviceConfiguration();
// Overloaded from SDL backend (toolbar handling)
@@ -48,6 +55,8 @@ protected:
private:
int mapKeyCE(SDLKey key, SDLMod mod, Uint16 unicode, bool unfilter);
+ WINCESdlGraphicsManager *_graphicsMan;
+
// Keyboard tap
int _tapX;
int _tapY;
@@ -59,4 +68,6 @@ private:
};
+#endif
+
#endif /* BACKENDS_EVENTS_SDL_WINCE_H */