Added GSocket stubs for wxCocoa

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2003-06-13 21:19:49 +00:00
parent c8cae94c72
commit d533381ebc

40
src/cocoa/gsockcocoa.c Normal file
View File

@@ -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