X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c4728f63395c3641aa62f2b549ee693eb8be978..2c01d33555e3125057f4575ca7d0d2aba93f421f:/include/wx/sckipc.h diff --git a/include/wx/sckipc.h b/include/wx/sckipc.h index 0c159f1e54..efe0fcd27a 100644 --- a/include/wx/sckipc.h +++ b/include/wx/sckipc.h @@ -16,10 +16,6 @@ #ifndef _WX_SCKIPC_H #define _WX_SCKIPC_H -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "sckipc.h" -#endif - #include "wx/defs.h" #if wxUSE_SOCKETS && wxUSE_IPC @@ -79,8 +75,8 @@ public: virtual bool Disconnect(void); // Callbacks to BOTH - override at will - // Default behaviour is to delete connection and return TRUE - virtual bool OnDisconnect(void) { delete this; return TRUE; } + // Default behaviour is to delete connection and return true + virtual bool OnDisconnect(void) { delete this; return true; } // To enable the compressor (NOTE: not implemented!) void Compress(bool on); @@ -106,7 +102,7 @@ private: DECLARE_NO_COPY_CLASS(wxTCPConnection) }; -class wxTCPServer: public wxServerBase +class WXDLLIMPEXP_NET wxTCPServer: public wxServerBase { DECLARE_DYNAMIC_CLASS(wxTCPServer) @@ -116,7 +112,7 @@ public: wxTCPServer(); virtual ~wxTCPServer(); - // Returns FALSE on error (e.g. port number is already in use) + // Returns false on error (e.g. port number is already in use) virtual bool Create(const wxString& serverName); // Callbacks to SERVER - override at will @@ -133,7 +129,7 @@ protected: DECLARE_NO_COPY_CLASS(wxTCPServer) }; -class wxTCPClient: public wxClientBase +class WXDLLIMPEXP_NET wxTCPClient: public wxClientBase { DECLARE_DYNAMIC_CLASS(wxTCPClient)