]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unix/gsockunx.h
added base array of size_t as under Win64 size_t > long
[wxWidgets.git] / include / wx / unix / gsockunx.h
index 19e210ae3c2dc6a80bd1371eddc8a87c8ede9b2e..8603d4290ba7ff70f89b9893132d4270d87f8fa6 100644 (file)
@@ -112,6 +112,30 @@ struct _GSocket
 #ifdef __cplusplus
 }
 #endif  /* __cplusplus */
+#else
+///////////////////////////////////////////////////////////////////////////
+// GSocketBSDGUIShim
+class GSocketBSDGUIShim:public GSocketBSD
+{
+    friend void GSocket_SetGUIFunctions(struct GSocketGUIFunctionsTable *guifunc);
+public:
+    static inline bool GUI_Init();
+    static inline void GUI_Cleanup();
+    static inline bool UseGUI();
+    GSocketBSDGUIShim();
+    virtual ~GSocketBSDGUIShim();
+protected:
+    virtual void EventLoop_Enable_Events();
+    virtual void EventLoop_Disable_Events();
+    virtual void EventLoop_Install_Callback(GSocketEvent event);
+    virtual void EventLoop_Uninstall_Callback(GSocketEvent event);
+private:
+/* Table of GUI-related functions. We must call them indirectly because
+ * of wxBase and GUI separation: */
+
+    static struct GSocketGUIFunctionsTable *ms_gui_functions;
+};
+
 #endif //ndef wxUSE_GSOCKET_CPLUSPLUS
 
 #ifdef __cplusplus