summaryrefslogtreecommitdiffstats
path: root/src/common/event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/event.cpp')
-rw-r--r--src/common/event.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/event.cpp b/src/common/event.cpp
index 6a5f4d3..d082ba9 100644
--- a/src/common/event.cpp
+++ b/src/common/event.cpp
@@ -19,6 +19,16 @@
#include "common/event.h"
#include "common/iman.h"
+static EventType g_uniqueEventType = EVENT_USER;
+
+
+EventType GetUniqueEventType()
+{
+ int i = (int)g_uniqueEventType+1;
+ g_uniqueEventType = (EventType)i;
+ return g_uniqueEventType;
+}
+
CEventQueue::CEventQueue(CInstanceManager* iMan)