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(wxSelectDispatcherEntryFlags flag
);
29 void AddFlag(wxSelectDispatcherEntryFlags flag
);
32 virtual void OnReadWaiting(int fd
);
33 virtual void OnWriteWaiting(int fd
);
34 virtual void OnExceptionWaiting(int fd
);
40 #endif // wxUSE_SOCKETS
42 #endif // _WX_PRIVATE_SOCKETEVTDISPATCH_H_