]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sckipc.h
use "..." for wx includes instead of <...>
[wxWidgets.git] / include / wx / sckipc.h
index 743da0ab9f03e0f8268422f80b55a6ea651d3a99..548d0723d332c62e1cbe2be0b34689e31b16fca2 100644 (file)
@@ -16,7 +16,7 @@
 #ifndef _WX_SCKIPC_H
 #define _WX_SCKIPC_H
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "sckipc.h"
 #endif
 
@@ -61,7 +61,7 @@ class WXDLLEXPORT wxTCPConnection: public wxConnectionBase
   DECLARE_DYNAMIC_CLASS(wxTCPConnection)
 
 public:
-  wxTCPConnection(char *buffer, int size);
+  wxTCPConnection(wxChar *buffer, int size);
   wxTCPConnection();
   virtual ~wxTCPConnection();
 
@@ -122,6 +122,11 @@ public:
 
 protected:
   wxSocketServer *m_server;
+
+#ifdef __UNIX_LIKE__
+  // the name of the file associated to the Unix domain socket, may be empty
+  wxString m_filename;
+#endif // __UNIX_LIKE__
 };
 
 class wxTCPClient: public wxClientBase