return result;
}
+
gint
modest_platform_run_confirmation_dialog (GtkWindow *parent_window,
- ModestConfirmationDialogType type,
- gpointer user_data)
+ const gchar *msg)
+{
+ /* TODO implement confirmation dialog */
+ return GTK_RESPONSE_CANCEL;
+}
+
+void
+modest_platform_run_information_dialog (GtkWindow *parent_window,
+ ModestInformationDialogType type)
{
switch (type) {
- case MODEST_CONFIRMATION_DELETE_FOLDER:
+ case MODEST_INFORMATION_CREATE_FOLDER:
+ break;
+ case MODEST_INFORMATION_DELETE_FOLDER:
break;
};
- /* TODO implement confirmation dialog */
- return GTK_RESPONSE_CANCEL;
+ /* TODO: implement a information dialog */
+}
+
+gboolean modest_platform_connect_and_wait (GtkWindow *parent_window)
+{
+ /* TODO: Do something with network-manager?
+ Otherwise, maybe it is safe to assume that we would already be online if we could be. */
+ return TRUE;
}
+
+gboolean modest_platform_set_update_interval (guint minutes)
+{
+ /* TODO. */
+}
+