X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0728199b911be9095406cf05059a5a180e707778..2ef989c972df0bd023ec3b7252fb91afca55f8ab:/include/wx/gtk/app.h diff --git a/include/wx/gtk/app.h b/include/wx/gtk/app.h index 84580a1422..b258ea5a99 100644 --- a/include/wx/gtk/app.h +++ b/include/wx/gtk/app.h @@ -15,9 +15,13 @@ //----------------------------------------------------------------------------- #if wxUSE_THREADS -class WXDLLIMPEXP_BASE wxMutex; +class WXDLLIMPEXP_FWD_BASE wxMutex; #endif +#if wxUSE_LIBHILDON +typedef struct _HildonProgram HildonProgram; +#endif // wxUSE_LIBHILDON + //----------------------------------------------------------------------------- // wxApp //----------------------------------------------------------------------------- @@ -58,6 +62,10 @@ public: // must return XVisualInfo pointer (it is not freed by caller) virtual void *GetXVisualInfo() { return NULL; } +#if wxUSE_LIBHILDON + // Maemo-specific method: get the main program object + HildonProgram *GetHildonProgram() const { return m_hildonProgram; } +#endif // wxUSE_LIBHILDON // implementation only from now on // ------------------------------- @@ -80,6 +88,10 @@ private: #endif guint m_idleSourceId; +#if wxUSE_LIBHILDON + HildonProgram *m_hildonProgram; +#endif // wxUSE_LIBHILDON + DECLARE_DYNAMIC_CLASS(wxApp) };