#pragma interface
#endif
+#include "wx/defs.h"
+
#if wxUSE_SOCKETS
-#include <wx/object.h>
-#include <wx/list.h>
-#include <wx/socket.h>
-#include <wx/thread.h>
+#include "wx/object.h"
+#include "wx/list.h"
+#include "wx/socket.h"
+#include "wx/thread.h"
// Socket state
class SocketState
wxSocketInternal *m_internal;
int m_fd;
};
+#endif
class SocketRequester
#if wxUSE_THREADS
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:
void QueueRequest(SockRequest *request, bool async);
void WaitForEnd(SockRequest *request);
+ // Used by SocketRequester
SockRequest *WaitForReq();
void EndRequest(SockRequest *req);
public: