1
0
Fork 0
spectre/source/Platform/Win32/Win32EventQueue.h

22 lines
422 B
C++

#ifndef PLATFORM_WIN32_EVENT_QUEUE_H
#define PLATFORM_WIN32_EVENT_QUEUE_H
#include <windows.h>
#include <Spectre/System/SystemEvent.h>
#include <Platform/PlatformEventQueue.h>
namespace sp {
class Win32EventQueue : public PlatformEventQueue
{
public :
virtual bool poll(SysEvent& event);
private :
LRESULT processMessage(MSG msg, SysEvent& event);
};
} // namespace sp
#endif /* PLATFORM_WIN32_MESSAGE_QUEUE_H */