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