Add emision of signals for account created and removed through dbus
[modest] / src / maemo / modest-platform.c
index 9485a63..52f7206 100644 (file)
@@ -2279,3 +2279,26 @@ modest_platform_emit_folder_updated_signal (const gchar *account_id, const gchar
 
        modest_dbus_emit_folder_updated_signal (con, account_id, folder_id);
 }
 
        modest_dbus_emit_folder_updated_signal (con, account_id, folder_id);
 }
+
+
+void
+modest_platform_emit_account_created_signal (const gchar *account_id)
+{
+       DBusConnection *con;
+
+       con = modest_platform_get_dbus_connection ();
+       if (!con) return;
+
+       modest_dbus_emit_account_created_signal (con, account_id);
+}
+
+void
+modest_platform_emit_account_removed_signal (const gchar *account_id)
+{
+       DBusConnection *con;
+
+       con = modest_platform_get_dbus_connection ();
+       if (!con) return;
+
+       modest_dbus_emit_account_removed_signal (con, account_id);
+}