GObject *object,
guint icon_size);
+static gchar *modest_account_protocol_get_service_name_default (ModestAccountProtocol *self,
+ const gchar *account_id,
+ const gchar *mailbox);
/* globals */
static GObjectClass *parent_class = NULL;
modest_account_protocol_get_signature_default;
account_class->get_icon =
modest_account_protocol_get_icon_default;
+ account_class->get_service_name =
+ modest_account_protocol_get_service_name_default;
}
static void
return NULL;
}
+
+gchar *
+modest_account_protocol_get_service_name (ModestAccountProtocol *self,
+ const gchar *account_id,
+ const gchar *mailbox)
+{
+ return MODEST_ACCOUNT_PROTOCOL_GET_CLASS (self)->get_service_name (self, account_id, mailbox);
+}
+
+static gchar *
+modest_account_protocol_get_service_name_default (ModestAccountProtocol *self,
+ const gchar *account_id,
+ const gchar *mailbox)
+{
+ g_return_val_if_fail (MODEST_ACCOUNT_PROTOCOL (self), NULL);
+
+ return NULL;
+}
+