* If a user edits a message from drafts, disable the header view
[modest] / src / gnome / modest-platform.c
index 6d2d200..3c30170 100644 (file)
@@ -43,6 +43,12 @@ modest_platform_init (int argc, char *argv[])
 }
 
 
+gboolean modest_platform_uninit (void)
+{
+       return TRUE; /*nothing to do */
+}
+
+
 TnyDevice*
 modest_platform_get_new_device (void)
 {
@@ -216,8 +222,9 @@ modest_platform_get_global_settings_dialog ()
        return modest_gnome_global_settings_dialog_new ();
 }
 
+
 void 
-modest_platform_on_new_header_received (TnyHeader *header)
+modest_platform_on_new_headers_received (TnyList *header_list)
 {
        /* TODO: implement this */
        g_print ("--------------- NEW MESSAGE ARRIVED ---------------\n");
@@ -248,3 +255,11 @@ modest_platform_create_folder_view (TnyFolderStoreQuery *query)
 
        return widget;
 }
+
+gboolean
+modest_platform_run_alert_dialog (const gchar* prompt, 
+                                 gboolean is_question)
+{
+       /* TODO */
+       return TRUE;
+}