diff options
author | Johannes Schickel | 2009-07-25 01:00:24 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-07-25 01:00:24 +0000 |
commit | 38309da52193ffb3a2a497b4474667a347b0a5c8 (patch) | |
tree | 84b4898ebc8ad907ff24b042499fd786b1bdde60 | |
parent | dafd5d509b4f31d06a40d03f4b0c96e04703fb95 (diff) | |
download | scummvm-rg350-38309da52193ffb3a2a497b4474667a347b0a5c8.tar.gz scummvm-rg350-38309da52193ffb3a2a497b4474667a347b0a5c8.tar.bz2 scummvm-rg350-38309da52193ffb3a2a497b4474667a347b0a5c8.zip |
- Add marco to easily access the EventDispatcher instance.
- Add events.cpp to module.mk
svn-id: r42724
-rw-r--r-- | common/events.h | 2 | ||||
-rw-r--r-- | common/module.mk | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/common/events.h b/common/events.h index be269e1969..484ccec5f0 100644 --- a/common/events.h +++ b/common/events.h @@ -284,6 +284,8 @@ private: void dispatchEvent(const Event &event); }; +#define g_eventDispatcher (Common::EventDispatcher::instance()) + class Keymapper; /** diff --git a/common/module.mk b/common/module.mk index bdf9590962..798fe4f9ed 100644 --- a/common/module.mk +++ b/common/module.mk @@ -5,6 +5,7 @@ MODULE_OBJS := \ config-file.o \ config-manager.o \ debug.o \ + events.o \ file.o \ fs.o \ hashmap.o \ |