1
0
Fork 0

Initial commit

This commit is contained in:
Henrik Hautakoski 2015-12-22 17:43:51 +01:00
commit edfc5298e1
252 changed files with 93965 additions and 0 deletions

View file

@ -0,0 +1,21 @@
#ifndef SPECTRE_MESSAGE_QUEUE_H
#define SPECTRE_MESSAGE_QUEUE_H
#include <Spectre/System/SystemEvent.h>
#include <queue>
class MessageQueue
{
public :
void postEvent(SysEvent& event);
bool pollEvent(SysEvent& event);
bool isEmpty() const;
protected :
std::deque<SysEvent> m_queue;
};
#endif /* SPECTRE_MESSAGE_QUEUE_H */