diff options
Diffstat (limited to 'backends/events/default/default-events.h')
-rw-r--r-- | backends/events/default/default-events.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/events/default/default-events.h b/backends/events/default/default-events.h index 4472b1115f..e836160188 100644 --- a/backends/events/default/default-events.h +++ b/backends/events/default/default-events.h @@ -27,6 +27,7 @@ #define BACKEND_EVENTS_DEFAULT_H #include "common/events.h" +#include "common/queue.h" #include "common/savefile.h" #include "backends/common/virtual-keyboard.h" @@ -47,6 +48,8 @@ class DefaultEventManager : public Common::EventManager { Common::VirtualKeyboard *_vk; + Common::Queue<Common::Event> _artificialEventQueue; + Common::Point _mousePos; int _buttonState; int _modifierState; @@ -110,6 +113,7 @@ public: ~DefaultEventManager(); virtual bool pollEvent(Common::Event &event); + virtual void pushEvent(Common::Event event); virtual void registerRandomSource(Common::RandomSource &rnd, const char *name); virtual void processMillis(uint32 &millis); |