foobar2000 SDK  2015-08-03
event.h
Go to the documentation of this file.
1 namespace pfc {
2 #ifdef _WIN32
3 
5 
6  class event : public win32_event {
7  public:
8  event() { create(true, false); }
9 
10  HANDLE get_handle() const {return win32_event::get();}
11  };
12 #else
13 
14  typedef int eventHandle_t;
15 
16  typedef nix_event event;
17 
18 #endif
19 }
HANDLE eventHandle_t
Definition: event.h:4
typedef HANDLE(WINAPI *pPowerCreateRequest_t)(__in void *Context)
HANDLE get_handle() const
Definition: event.h:10
event()
Definition: event.h:8
HANDLE get() const
Definition: win-objects.h:131
void create(bool p_manualreset, bool p_initialstate)