* Fixed a compilation issue in OSSO1.1
[modest] / src / modest-platform.h
index 46af1e2..b2024eb 100644 (file)
@@ -39,11 +39,6 @@ typedef enum _ModestConfirmationDialogType {
        MODEST_CONFIRMATION_DELETE_FOLDER,
 } ModestConfirmationDialogType;
 
-typedef enum _ModestInformationDialogType {
-       MODEST_INFORMATION_CREATE_FOLDER,
-       MODEST_INFORMATION_DELETE_FOLDER,
-} ModestInformationDialogType;
-
 typedef enum _ModestSortDialogType {
        MODEST_SORT_HEADERS,
 } ModestSortDialogType;
@@ -169,12 +164,13 @@ gint      modest_platform_run_confirmation_dialog      (GtkWindow *parent_window
 /**
  * modest_platform_run_information_dialog:
  * @parent_window: the parent #GtkWindow of the dialog
- * @type: the type of information dialog
+ * @message: the message to show
  * 
  * shows an information dialog
  **/
 void      modest_platform_run_information_dialog       (GtkWindow *parent_window,
-                                                       ModestInformationDialogType type);
+                                                       const gchar *message);
+
 /**
  * modest_platform_run_sort_dialog:
  * @parent_window: the parent #GtkWindow of the dialog
@@ -205,7 +201,17 @@ gboolean modest_platform_connect_and_wait (GtkWindow *parent_window);
  **/
 gboolean modest_platform_set_update_interval (guint minutes);
 
-GtkWidget* modest_platform_get_global_settings_dialog ();
+/**
+ * modest_platform_get_global_settings_dialog:
+ * @void: 
+ * 
+ * returns the global settings dialog
+ * 
+ * Return value: a new #ModestGlobalSettingsDialog dialog
+ **/
+GtkWidget* modest_platform_get_global_settings_dialog (void);
+
+void modest_platform_on_new_msg (void);
 
 G_END_DECLS