mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-24 07:06:36 +00:00
22 lines
337 B
C++
22 lines
337 B
C++
#pragma once
|
|
|
|
#include "GpCoreDefs.h"
|
|
|
|
class GpEvent final
|
|
{
|
|
public:
|
|
void Wait();
|
|
void WaitMSec(unsigned int msec);
|
|
void Signal();
|
|
void Reset();
|
|
void Destroy();
|
|
|
|
static GpEvent *Create(bool autoReset, bool startSignalled);
|
|
|
|
private:
|
|
explicit GpEvent(void *privateData);
|
|
~GpEvent();
|
|
|
|
void *m_PrivateData;
|
|
};
|