mirror of
https://github.com/solemnwarning/directplay-lite
synced 2024-12-30 16:45:37 +01:00
20 lines
324 B
C++
20 lines
324 B
C++
|
#ifndef DPLITE_EVENTOBJECT_HPP
|
||
|
#define DPLITE_EVENTOBJECT_HPP
|
||
|
|
||
|
#include <winsock2.h>
|
||
|
#include <windows.h>
|
||
|
|
||
|
class EventObject
|
||
|
{
|
||
|
private:
|
||
|
HANDLE handle;
|
||
|
|
||
|
public:
|
||
|
EventObject(BOOL bManualReset = FALSE, BOOL bInitialState = FALSE);
|
||
|
~EventObject();
|
||
|
|
||
|
operator HANDLE() const;
|
||
|
};
|
||
|
|
||
|
#endif /* !DPLITE_EVENTOBJECT_HPP */
|