#include "gnome/modest-gnome-global-settings-dialog.h"
gboolean
-modest_platform_init (void)
+modest_platform_init (int argc, char *argv[])
{
return TRUE; /* nothing to do */
}
+gboolean modest_platform_uninit (void)
+{
+ return TRUE; /*nothing to do */
+}
+
+
TnyDevice*
modest_platform_get_new_device (void)
{
/* TODO: implement a information dialog */
}
-gboolean modest_platform_connect_and_wait (GtkWindow *parent_window)
+gboolean modest_platform_connect_and_wait (GtkWindow *parent_window, TnyAccount *account)
+{
+ /* 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_connect_and_wait_if_network_account (GtkWindow *parent_window, TnyAccount *account)
{
/* TODO: Do something with network-manager?
Otherwise, maybe it is safe to assume that we would already be online if we could be. */
return modest_gnome_global_settings_dialog_new ();
}
+
void
-modest_platform_on_new_msg (void)
+modest_platform_on_new_headers_received (TnyList *header_list)
{
/* TODO: implement this */
g_print ("--------------- NEW MESSAGE ARRIVED ---------------\n");
return widget;
}
+
+gboolean
+modest_platform_run_alert_dialog (const gchar* prompt,
+ gboolean is_question)
+{
+ /* TODO */
+ return TRUE;
+}