summaryrefslogblamecommitdiffstats
path: root/source/cEvent.h
blob: b0b1d73be16964d4de0ab8d9078fa83a3bc0aa2f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                
#pragma once

class cEvent
{
public:
	cEvent( unsigned int a_NumEvents = 1 );
	~cEvent();

	void Wait();
	void Set(unsigned int a_EventNum = 0);
private:
	unsigned int m_NumEvents;
	void* m_Handle; // HANDLE[] pointer

#ifndef _WIN32
    bool m_bNamed;
#endif
};