1
0
mirror of https://github.com/solemnwarning/directplay-lite synced 2024-12-30 16:45:37 +01:00
directplay-lite/src/EventObject.hpp

23 lines
394 B
C++
Raw Normal View History

#ifndef DPLITE_EVENTOBJECT_HPP
#define DPLITE_EVENTOBJECT_HPP
#include <winsock2.h>
#include <windows.h>
class EventObject
{
private:
2018-09-20 00:58:41 +01:00
/* No copy c'tor. */
EventObject(const EventObject&) = delete;
HANDLE handle;
public:
EventObject(BOOL bManualReset = FALSE, BOOL bInitialState = FALSE);
~EventObject();
operator HANDLE() const;
};
#endif /* !DPLITE_EVENTOBJECT_HPP */