X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/324899f6c5fa0e052dc718b9b37fc6f557dc78ba..5b5e4f325c734b239c5e6fa6931e3cd0aac66a0e:/include/wx/apptrait.h diff --git a/include/wx/apptrait.h b/include/wx/apptrait.h index 164f042bd7..8a2b8c265e 100644 --- a/include/wx/apptrait.h +++ b/include/wx/apptrait.h @@ -24,6 +24,11 @@ class WXDLLIMPEXP_BASE wxMessageOutput; class WXDLLEXPORT wxRendererNative; class WXDLLIMPEXP_BASE wxString; +extern "C" +{ + struct GSocketGUIFunctionsTable; +} + // ---------------------------------------------------------------------------- // toolkit information // ---------------------------------------------------------------------------- @@ -105,6 +110,11 @@ public: // wxBase virtual void RemoveFromPendingDelete(wxObject *object) = 0; +#if wxUSE_SOCKETS + // return table of GUI callbacks for GSocket code or NULL in wxBase + virtual GSocketGUIFunctionsTable* GetSocketGUIFunctionsTable() = 0; +#endif + // return information about what toolkit is running; we need for two things // that are both contained in wxBase: @@ -154,6 +164,9 @@ public: virtual wxFontMapper *CreateFontMapper(); #endif // wxUSE_FONTMAP virtual wxRendererNative *CreateRenderer(); +#if wxUSE_SOCKETS + virtual GSocketGUIFunctionsTable* GetSocketGUIFunctionsTable(); +#endif #ifdef __WXDEBUG__ virtual bool ShowAssertDialog(const wxString& msg); @@ -181,6 +194,9 @@ public: virtual wxFontMapper *CreateFontMapper(); #endif // wxUSE_FONTMAP virtual wxRendererNative *CreateRenderer(); +#if wxUSE_SOCKETS + virtual GSocketGUIFunctionsTable* GetSocketGUIFunctionsTable(); +#endif #ifdef __WXDEBUG__ virtual bool ShowAssertDialog(const wxString& msg);