X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2df7be7f2cca699a02ee0c9ce69de9bfe6b0922f..e6f1ad222c5c1597a896dd29e69e1c7aa6459be4:/include/wx/sckint.h diff --git a/include/wx/sckint.h b/include/wx/sckint.h index 1b1ae55083..103595f5f6 100644 --- a/include/wx/sckint.h +++ b/include/wx/sckint.h @@ -83,6 +83,7 @@ class SocketWaiter: public wxThread { wxSocketInternal *m_internal; int m_fd; }; +#endif class SocketRequester #if wxUSE_THREADS @@ -99,17 +100,17 @@ class SocketRequester bool WaitFor(wxSocketBase::wxRequestNotify req, int millisec); +#if wxUSE_THREADS // Thread Entry point // --- virtual void *Entry(); +#endif public: wxSocketBase *m_socket; wxSocketInternal *m_internal; int m_fd; }; -#endif - // wxUSE_THREADS class wxSocketInternal { public: @@ -134,6 +135,7 @@ class wxSocketInternal { void QueueRequest(SockRequest *request, bool async); void WaitForEnd(SockRequest *request); + // Used by SocketRequester SockRequest *WaitForReq(); void EndRequest(SockRequest *req); public: