diff options
author | Dennis Peeten <dpeeten@onsneteindhoven.nl> | 2008-04-22 13:32:09 (GMT) |
---|---|---|
committer | Dennis Peeten <dpeeten@onsneteindhoven.nl> | 2008-04-22 13:32:09 (GMT) |
commit | 2b53b94bdc1815fbc73f7ef0e5c2400f42a55508 (patch) | |
tree | d88af88abd415094b636a968d1640bf205bbb1c7 /MatchBloxEngine/MatchBloxEngine/MessageQueue.h | |
parent | 92f2ef5fa1b80c6491ce46eab0ab0908eb9be9cc (diff) | |
download | 2iv55-2b53b94bdc1815fbc73f7ef0e5c2400f42a55508.zip 2iv55-2b53b94bdc1815fbc73f7ef0e5c2400f42a55508.tar.gz 2iv55-2b53b94bdc1815fbc73f7ef0e5c2400f42a55508.tar.bz2 |
Initial check in MatchBloxEngine
Diffstat (limited to 'MatchBloxEngine/MatchBloxEngine/MessageQueue.h')
-rw-r--r-- | MatchBloxEngine/MatchBloxEngine/MessageQueue.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/MatchBloxEngine/MatchBloxEngine/MessageQueue.h b/MatchBloxEngine/MatchBloxEngine/MessageQueue.h new file mode 100644 index 0000000..0edc388 --- /dev/null +++ b/MatchBloxEngine/MatchBloxEngine/MessageQueue.h @@ -0,0 +1,19 @@ +#include <queue>
+
+typedef enum msgType
+{
+ MOUSE_MOVE,
+ MOUSE_PRESS,
+ KEY_PRESS,
+ SPECIAL_KEY,
+ WII_CURSOR_MOVE,
+ WII_BUTTON_PRESS
+};
+
+typedef struct message
+{
+ msgType m_MessageType;
+ int parm1, parm2, parm3, parm4;
+} msgStruct;
+
+typedef std::queue<msgStruct> msgQueue;
|