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:
Vadim Zeitlin
2008-11-28 13:43:41 +00:00
parent 86c5b12b21
commit 9123889f20
2 changed files with 8 additions and 13 deletions

View File

@@ -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);

View File

@@ -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