summaryrefslogtreecommitdiffstats
path: root/matchblox/engine/MessageQueue.h
blob: 47a061ede88b5d0530b554ef13efb94a96be88f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef MESSAGEQUEUE_HEADER_FILE

#define MESSAGEQUEUE_HEADER_FILE

#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;

#endif //MESSAGEQUEUE_HEADER_FILE