]> git.saurik.com Git - wxWidgets.git/blame - include/wx/private/gsocketiohandler.h
remove extra ';'
[wxWidgets.git] / include / wx / private / gsocketiohandler.h
CommitLineData
30c45bdd
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/private/gsocketiohandler.h
3// Purpose: class for registering GSocket in wxSelectDispatcher
4// Authors: Lukasz Michalski
5// Modified by:
6// Created: December 2006
7// Copyright: (c) Lukasz Michalski
8// RCS-ID: $Id$
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_PRIVATE_GSOCKETIOHANDLER_H_
13#define _WX_PRIVATE_GSOCKETIOHANDLER_H_
14
15#include "wx/defs.h"
16#include "wx/private/selectdispatcher.h"
17
18#if wxUSE_SOCKETS
19
20// forward declarations
21class GSocket;
22
23class WXDLLIMPEXP_CORE wxGSocketIOHandler : public wxFDIOHandler
24{
25public:
26 wxGSocketIOHandler(GSocket* socket);
27 int GetFlags() const;
b46b1d59
VZ
28 void RemoveFlag(wxFDIODispatcherEntryFlags flag);
29 void AddFlag(wxFDIODispatcherEntryFlags flag);
30c45bdd 30
b46b1d59
VZ
31 virtual void OnReadWaiting();
32 virtual void OnWriteWaiting();
33 virtual void OnExceptionWaiting();
30c45bdd 34
b46b1d59 35private:
30c45bdd
VZ
36 GSocket* m_socket;
37 int m_flags;
38};
39
40#endif // wxUSE_SOCKETS
41
42#endif // _WX_PRIVATE_SOCKETEVTDISPATCH_H_