From ed54ea9155961d8ca5d5fb3c7777fc57a29f2751 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 17 Mar 2007 19:02:05 +0000 Subject: 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 --- engines/lure/events.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'engines/lure/events.h') 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 -- cgit v1.2.3