no real changes, just moved wxSocketImplUnix ctor inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -15,12 +15,17 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
|
||||||
class wxSocketIOHandler;
|
|
||||||
|
|
||||||
class wxSocketImplUnix : public wxSocketImpl
|
class wxSocketImplUnix : public wxSocketImpl
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxSocketImplUnix(wxSocketBase& wxsocket);
|
wxSocketImplUnix(wxSocketBase& wxsocket)
|
||||||
|
: wxSocketImpl(wxsocket)
|
||||||
|
{
|
||||||
|
m_fds[0] =
|
||||||
|
m_fds[1] = -1;
|
||||||
|
|
||||||
|
m_use_events = false;
|
||||||
|
}
|
||||||
|
|
||||||
virtual void Shutdown();
|
virtual void Shutdown();
|
||||||
virtual wxSocketImpl *WaitConnection(wxSocketBase& wxsocket);
|
virtual wxSocketImpl *WaitConnection(wxSocketBase& wxsocket);
|
||||||
|
@@ -431,16 +431,6 @@ struct servent *wxGetservbyname_r(const char *port, const char *protocol,
|
|||||||
# define SOCKET_DEBUG(args)
|
# define SOCKET_DEBUG(args)
|
||||||
#endif /* __GSOCKET_DEBUG__ */
|
#endif /* __GSOCKET_DEBUG__ */
|
||||||
|
|
||||||
/* Constructors / Destructors for wxSocketImplUnix */
|
|
||||||
|
|
||||||
wxSocketImplUnix::wxSocketImplUnix(wxSocketBase& wxsocket)
|
|
||||||
: wxSocketImpl(wxsocket)
|
|
||||||
{
|
|
||||||
m_fds[0] =
|
|
||||||
m_fds[1] = -1;
|
|
||||||
|
|
||||||
m_use_events = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Disallow further read/write operations on this socket, close
|
* Disallow further read/write operations on this socket, close
|
||||||
|
Reference in New Issue
Block a user