]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private/sockmsw.h
Make wxImageList not copiable (fixes #10503), replace wxList with wxObjectList
[wxWidgets.git] / include / wx / msw / private / sockmsw.h
index d65e493b982501818799758614c157925366b5ba..ca3384d43df34a3b5e8ee29e07100b08ef88daf9 100644 (file)
@@ -37,14 +37,17 @@ public:
 
     virtual ~wxSocketImplMSW();
 
-    virtual wxSocketImpl *WaitConnection(wxSocketBase& wxsocket);
+    virtual wxSocketError GetLastError() const;
 
-
-    int Read(void *buffer, int size);
-    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 wxSocketError DoHandleConnect(int ret);
     virtual void DoClose();
 
     virtual void UnblockAndRegisterWithEventLoop()
@@ -54,19 +57,11 @@ private:
         wxSocketManager::Get()->Install_Callback(this);
     }
 
-    wxSocketError Input_Timeout();
-    wxSocketError Output_Timeout();
-    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_ */