]> git.saurik.com Git - wxWidgets.git/commitdiff
Added GSocket stubs for wxCocoa
authorDavid Elliott <dfe@tgwbd.org>
Fri, 13 Jun 2003 21:19:49 +0000 (21:19 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Fri, 13 Jun 2003 21:19:49 +0000 (21:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/gsockcocoa.c [new file with mode: 0644]

diff --git a/src/cocoa/gsockcocoa.c b/src/cocoa/gsockcocoa.c
new file mode 100644 (file)
index 0000000..2a8b2f9
--- /dev/null
@@ -0,0 +1,40 @@
+/* -------------------------------------------------------------------------
+ * Project: GSocket (Generic Socket) for WX
+ * Name:    gsockmot.c
+ * Purpose: GSocket: X11 part
+ * CVSID:   $Id$
+ * ------------------------------------------------------------------------- */
+
+#include "wx/setup.h"
+
+#if wxUSE_SOCKETS
+
+#include <stdlib.h>
+#include "wx/gsocket.h"
+
+int _GSocket_GUI_Init(GSocket *socket)
+{
+    return 0;
+}
+
+void _GSocket_GUI_Destroy(GSocket *socket)
+{
+}
+
+void _GSocket_Install_Callback(GSocket *socket, GSocketEvent event)
+{
+}
+
+void _GSocket_Uninstall_Callback(GSocket *socket, GSocketEvent event)
+{
+}
+
+void _GSocket_Enable_Events(GSocket *socket)
+{
+}
+
+void _GSocket_Disable_Events(GSocket *socket)
+{
+}
+
+#endif // wxUSE_SOCKETS