1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/private/gsocketiohandler.h
3 // Purpose: class for registering GSocket in wxSelectDispatcher
4 // Authors: Lukasz Michalski
6 // Created: December 2006
7 // Copyright: (c) Lukasz Michalski
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_PRIVATE_GSOCKETIOHANDLER_H_
13 #define _WX_PRIVATE_GSOCKETIOHANDLER_H_
16 #include "wx/private/selectdispatcher.h"
20 // forward declarations
23 class WXDLLIMPEXP_CORE wxGSocketIOHandler
: public wxFDIOHandler
26 wxGSocketIOHandler(GSocket
* socket
);
28 void RemoveFlag(wxFDIODispatcherEntryFlags flag
);
29 void AddFlag(wxFDIODispatcherEntryFlags flag
);
31 virtual void OnReadWaiting();
32 virtual void OnWriteWaiting();
33 virtual void OnExceptionWaiting();
40 #endif // wxUSE_SOCKETS
42 #endif // _WX_PRIVATE_SOCKETEVTDISPATCH_H_