mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
19 lines
289 B
C++
19 lines
289 B
C++
#pragma once
|
|
|
|
#include "PLCore.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace PortabilityLayer
|
|
{
|
|
class EventQueue
|
|
{
|
|
public:
|
|
virtual bool Dequeue(EventRecord *evt) = 0;
|
|
virtual const EventRecord *Peek() const = 0;
|
|
virtual EventRecord *Enqueue() = 0;
|
|
|
|
static EventQueue *GetInstance();
|
|
};
|
|
}
|