diff options
author | Max Horn | 2007-03-17 19:02:05 +0000 |
---|---|---|
committer | Max Horn | 2007-03-17 19:02:05 +0000 |
commit | ed54ea9155961d8ca5d5fb3c7777fc57a29f2751 (patch) | |
tree | 467b926af11cd4129ba003d04ba01de044c7a6df /engines/lure/events.h | |
parent | f272d1957084098c5b53975ad3501074f6971af8 (diff) | |
download | scummvm-rg350-ed54ea9155961d8ca5d5fb3c7777fc57a29f2751.tar.gz scummvm-rg350-ed54ea9155961d8ca5d5fb3c7777fc57a29f2751.tar.bz2 scummvm-rg350-ed54ea9155961d8ca5d5fb3c7777fc57a29f2751.zip |
Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
Diffstat (limited to 'engines/lure/events.h')
-rw-r--r-- | engines/lure/events.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/lure/events.h b/engines/lure/events.h index 435edc0a15..45a664d572 100644 --- a/engines/lure/events.h +++ b/engines/lure/events.h @@ -24,6 +24,7 @@ #define LURE_EVENTS_H #include "common/stdafx.h" +#include "common/events.h" #include "common/str.h" #include "lure/luredefs.h" #include "lure/disk.h" @@ -39,7 +40,7 @@ public: Mouse(); ~Mouse(); static Mouse &getReference(); - void handleEvent(OSystem::Event event); + void handleEvent(Common::Event event); void cursorOn(); void cursorOff(); @@ -59,7 +60,7 @@ public: class Events { private: - OSystem::Event _event; + Common::Event _event; public: bool quitFlag; @@ -68,8 +69,8 @@ public: bool pollEvent(); void waitForPress(); - OSystem::Event event() { return _event; } - OSystem::EventType type() { return _event.type; } + Common::Event event() { return _event; } + Common::EventType type() { return _event.type; } }; } // End of namespace Lure |