Notify account protocol plugins when the wizard has finished.
[modest] / src / modest-account-protocol.c
index c9cdbb8..c527d43 100644 (file)
@@ -90,6 +90,7 @@ static void modest_account_protocol_check_support_default (ModestAccountProtocol
                                                           ModestAccountProtocolCheckSupportFunc func,
                                                           gpointer userdata);
 static void modest_account_protocol_cancel_check_support_default (ModestAccountProtocol *self);
+static void modest_account_protocol_wizard_finished_default (ModestAccountProtocol *self);
 static gboolean modest_account_protocol_is_supported_default (ModestAccountProtocol *self);
 static gchar *modest_account_protocol_get_from_default (ModestAccountProtocol *self,
                                                        const gchar *account_id,
@@ -208,6 +209,8 @@ modest_account_protocol_class_init (ModestAccountProtocolClass *klass)
                modest_account_protocol_check_support_default;
        account_class->cancel_check_support =
                modest_account_protocol_cancel_check_support_default;
+       account_class->wizard_finished =
+               modest_account_protocol_wizard_finished_default;
        account_class->get_from =
                modest_account_protocol_get_from_default;
        account_class->get_from_list =
@@ -672,6 +675,18 @@ modest_account_protocol_cancel_check_support (ModestAccountProtocol *self)
        MODEST_ACCOUNT_PROTOCOL_GET_CLASS (self)->cancel_check_support (self);
 }
 
+static void
+modest_account_protocol_wizard_finished_default (ModestAccountProtocol *self)
+{
+       return;
+}
+
+void
+modest_account_protocol_wizard_finished (ModestAccountProtocol *self)
+{
+       MODEST_ACCOUNT_PROTOCOL_GET_CLASS (self)->wizard_finished (self);
+}
+
 gchar *
 modest_account_protocol_get_from (ModestAccountProtocol *self,
                                  const gchar *account_id,