#include <config.h>
#endif /*HAVE_CONFIG_H*/
+#include <gtk/gtk.h>
+
/*
* admittedly, the ifdefs for gtk and maemo are rather ugly; still
* this way is probably the easiest to maintain
#endif /* MODEST_PLATFORM_GNOME */
#ifdef MODEST_PLATFORM_MAEMO
+#ifdef MODEST_HILDON_VERSION_0
#include <hildon-widgets/hildon-window.h>
+#else
+#include <hildon/hildon-window.h>
+#endif /*MODEST_HILDON_VERSION_0*/
typedef HildonWindow ModestWindowParent;
typedef HildonWindowClass ModestWindowParentClass;
gboolean (*zoom_plus_func) (ModestWindow *self);
gboolean (*zoom_minus_func) (ModestWindow *self);
void (*show_toolbar_func) (ModestWindow *self, gboolean show_toolbar);
+
+ void (*save_state_func) (ModestWindow *self);
};
/**
**/
void modest_window_show_toolbar (ModestWindow *window,
gboolean show_toolbar);
+
+/**
+ * modest_window_save_state:
+ * @window:
+ *
+ * Ask the window to save its settings for loading again later.
+ * This actually invokes the save_setting_func vfunc, which
+ * derived windows should implement.
+ **/
+void modest_window_save_state (ModestWindow *window);
G_END_DECLS