mirror of
https://github.com/elasota/Aerofoil.git
synced 2026-03-03 14:15:28 +00:00
18 lines
244 B
C
18 lines
244 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "PLCore.h"
|
||
|
|
|
||
|
|
#include <stdint.h>
|
||
|
|
|
||
|
|
namespace PortabilityLayer
|
||
|
|
{
|
||
|
|
class EventQueue
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
virtual bool Dequeue(EventRecord *evt) = 0;
|
||
|
|
virtual EventRecord *Enqueue() = 0;
|
||
|
|
|
||
|
|
static EventQueue *GetInstance();
|
||
|
|
};
|
||
|
|
}
|