Files
Aerofoil/PortabilityLayer/PLEventQueue.h

19 lines
289 B
C
Raw Normal View History

2019-12-21 18:40:17 -05:00
#pragma once
#include "PLCore.h"
#include <stdint.h>
2019-12-21 18:40:17 -05:00
namespace PortabilityLayer
{
2019-12-21 18:40:17 -05:00
class EventQueue
{
public:
virtual bool Dequeue(EventRecord *evt) = 0;
virtual const EventRecord *Peek() const = 0;
2019-12-21 18:40:17 -05:00
virtual EventRecord *Enqueue() = 0;
static EventQueue *GetInstance();
};
}