X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b036c4b2365723b4c52890bd4c2f6bde20bbc00..da8b1d4b3b535aba94d04494f5b6e2b3e47901ee:/include/wx/msw/private/sockmsw.h?ds=sidebyside diff --git a/include/wx/msw/private/sockmsw.h b/include/wx/msw/private/sockmsw.h index 13319931cd..ca3384d43d 100644 --- a/include/wx/msw/private/sockmsw.h +++ b/include/wx/msw/private/sockmsw.h @@ -39,8 +39,13 @@ public: virtual wxSocketError GetLastError() const; - virtual int Read(void *buffer, int size); - virtual int Write(const void *buffer, int size); + virtual void ReenableEvents(wxSocketEventFlags WXUNUSED(flags)) + { + // notifications are never disabled in this implementation, there is no + // need for this as WSAAsyncSelect() only sends notification once when + // the new data becomes available anyhow, so there is no need to do + // anything here + } private: virtual void DoClose(); @@ -52,17 +57,11 @@ private: wxSocketManager::Get()->Install_Callback(this); } - wxSocketError Connect_Timeout(); - int Recv_Stream(void *buffer, int size); - int Recv_Dgram(void *buffer, int size); - int Send_Stream(const void *buffer, int size); - int Send_Dgram(const void *buffer, int size); - int m_msgnumber; friend class wxSocketMSWManager; - DECLARE_NO_COPY_CLASS(wxSocketImplMSW) + wxDECLARE_NO_COPY_CLASS(wxSocketImplMSW); }; #endif /* _WX_MSW_GSOCKMSW_H_ */