X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17dff81c7141e142765b168ab225e5c61475669f..58a8ab88685a72ac030d5e2ade62b4d796f11bed:/include/wx/socket.h diff --git a/include/wx/socket.h b/include/wx/socket.h index 99422550b4..9037f92c7b 100644 --- a/include/wx/socket.h +++ b/include/wx/socket.h @@ -81,7 +81,10 @@ class WXDLLEXPORT wxSocketBase : public wxEvtHandler { DECLARE_CLASS(wxSocketBase) #ifdef __WXMAC__ -friend void wxMacSocketOnRequestProc(void *refcon , short event) ; + friend void wxMacSocketOnRequestProc(void *refcon , short event) ; +#endif +#if defined(__WXGTK__) && defined(WXSOCK_INTERNAL) + friend void wxPrereadSocket(wxSocketBase *sock); #endif public: @@ -166,7 +169,7 @@ public: inline size_t LastCount() const { return m_lcount; } inline int LastError() const { return m_error; } - inline void SetFlags(wxSockFlags _flags); + void SetFlags(wxSockFlags _flags); inline void SetTimeout(unsigned long sec) { m_timeout = sec; } // seconds = -1 means infinite wait @@ -211,7 +214,15 @@ protected: friend class wxSocketServer; friend class wxSocketHandler; +#ifdef __SALFORDC__ +public: +#endif + wxSocketBase(wxSockFlags flags, wxSockType type); + +#ifdef __SALFORDC__ +protected: +#endif bool _Wait(long seconds, long microseconds, int type);