X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..76f1eb7e1f6be1d53c81fd3fa6ebb6f9c9b689b7:/include/wx/gtk/app.h diff --git a/include/wx/gtk/app.h b/include/wx/gtk/app.h index d9a34eee80..b258ea5a99 100644 --- a/include/wx/gtk/app.h +++ b/include/wx/gtk/app.h @@ -18,6 +18,10 @@ 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) };