X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-account-protocol.h;h=cc056f05162ae04b3424d36ec0cc006807b9f196;hp=eca9b0ff26c3db522b169a5a07460ce249a93df8;hb=c242f03ef9213d58ce5cf0101e09d02cbec3736b;hpb=bf45cd61532813de90dd9a4d2bea228d27fa0fcd diff --git a/src/modest-account-protocol.h b/src/modest-account-protocol.h index eca9b0f..cc056f0 100644 --- a/src/modest-account-protocol.h +++ b/src/modest-account-protocol.h @@ -35,6 +35,7 @@ #include "widgets/modest-account-settings-dialog.h" #include "modest-protocol.h" +#include "widgets/modest-wizard-dialog.h" #include "modest-pair.h" #include #include @@ -64,6 +65,7 @@ struct _ModestAccountProtocolClass { TnyAccount * (*create_account) (ModestAccountProtocol *self); ModestAccountSettingsDialog* (*create_account_settings_dialog) (ModestAccountProtocol* self); ModestPairList* (*get_easysetupwizard_tabs) (ModestAccountProtocol* self); + ModestWizardDialogResponseOverrideFunc (*get_wizard_response_override) (ModestAccountProtocol *self); void (*save_settings) (ModestAccountProtocol *self, ModestAccountSettingsDialog *dialog, ModestAccountSettings *settings); void (*save_wizard_settings) (ModestAccountProtocol *self, GList *wizard_pages, ModestAccountSettings *settings); }; @@ -272,6 +274,18 @@ void modest_account_protocol_save_wizard_settings (ModestAccountProtocol *self, GList *wizard_pages, ModestAccountSettings *settings); +/** + * modest_account_protocol_get_wizard_response_override: + * @self: a #ModestAccountProtocol + * + * obtains the method that should be used to override wizard response behavior when the + * wizard is setting up this account type. + * + * Returns: a #ModestWizardDialogResponseOverrideFunc + */ +ModestWizardDialogResponseOverrideFunc modest_account_protocol_get_wizard_response_override (ModestAccountProtocol *self); + + G_END_DECLS #endif /* __MODEST_ACCOUNT_PROTOCOL_H__ */