/////////////////////////////////////////////////////////////////////////////
// Name: wx/gtk/app.h
-// Purpose:
+// Purpose: wxApp definition for wxGTK
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling, Julian Smart
//-----------------------------------------------------------------------------
#if wxUSE_THREADS
-class WXDLLIMPEXP_BASE wxMutex;
+class WXDLLIMPEXP_FWD_BASE wxMutex;
#endif
+#if wxUSE_LIBHILDON
+typedef struct _HildonProgram HildonProgram;
+#endif // wxUSE_LIBHILDON
+
//-----------------------------------------------------------------------------
// wxApp
//-----------------------------------------------------------------------------
* (palette/visual/colorcube). under wxMSW, OnInitGui() does nothing by
* default. when overriding this method, the code in it is likely to be
* platform dependent, otherwise use OnInit(). */
+ virtual bool SetNativeTheme(const wxString& theme);
virtual bool OnInitGui();
// override base class (pure) virtuals
- virtual bool Yield(bool onlyIfNeeded = FALSE);
virtual void WakeUpIdle();
virtual bool Initialize(int& argc, wxChar **argv);
// 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
// -------------------------------
#endif
guint m_idleSourceId;
+#if wxUSE_LIBHILDON
+ HildonProgram *m_hildonProgram;
+#endif // wxUSE_LIBHILDON
+
DECLARE_DYNAMIC_CLASS(wxApp)
- DECLARE_EVENT_TABLE()
};
#endif // _WX_GTK_APP_H_