aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJohannes Schickel2009-07-25 01:01:41 +0000
committerJohannes Schickel2009-07-25 01:01:41 +0000
commitbbc8021182b9b3b7c7037a26700bc18b255556ae (patch)
tree2e00737a4f09c2fa0ece0e9aff973135f2e5007d /common
parent901f2d5836027ee36bac706b68c8c9a06f515031 (diff)
downloadscummvm-rg350-bbc8021182b9b3b7c7037a26700bc18b255556ae.tar.gz
scummvm-rg350-bbc8021182b9b3b7c7037a26700bc18b255556ae.tar.bz2
scummvm-rg350-bbc8021182b9b3b7c7037a26700bc18b255556ae.zip
Add enum which marks global priorites of the EventManager event dispatcher.
svn-id: r42729
Diffstat (limited to 'common')
-rw-r--r--common/events.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/events.h b/common/events.h
index 2ca705c70c..ed00260f9a 100644
--- a/common/events.h
+++ b/common/events.h
@@ -396,6 +396,14 @@ public:
virtual Common::Keymapper *getKeymapper() = 0;
#endif
+ enum {
+ /**
+ * Priority of the event manager, for now it's lowest since it eats
+ * *all* events, we might to change that in the future though.
+ */
+ kEventManPriority = 0
+ };
+
/**
* Returns the underlying EventDispatcher.
*/