X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-account-mgr-helpers.h;h=d5b020e88dd48e68137ff045f7d9d3c86bfa44d6;hp=269fe14f43b711f90c804e5e3460d948eeeea57d;hb=87596c5aa5517ac7ba37e50664a969fcaaea72f9;hpb=dfb4c6caa8826c70b263e4974e4b293ab87f2017 diff --git a/src/modest-account-mgr-helpers.h b/src/modest-account-mgr-helpers.h index 269fe14..d5b020e 100644 --- a/src/modest-account-mgr-helpers.h +++ b/src/modest-account-mgr-helpers.h @@ -316,12 +316,31 @@ modest_server_account_set_username_has_succeeded (ModestAccountMgr *self, const * @account_name: The name of a server account. * @password: The new password. * - * Sets the password this server account. + * Sets the password for this server account. */ void modest_server_account_set_password (ModestAccountMgr *self, const gchar* account_name, const gchar* password); - + +/** + * modest_server_account_get_password: + * @self: a ModestAccountMgr instance + * @account_name: The name of a server account. + * + * Gets the password for this server account from the account settings. + */ +gchar* +modest_server_account_get_password (ModestAccountMgr *self, const gchar* account_name); + +/** + * modest_server_account_get_has_password: + * @self: a ModestAccountMgr instance + * @account_name: The name of a server account. + * + * Gets whether a password has been set for this server account in the account settings. + */ +gboolean +modest_server_account_get_has_password (ModestAccountMgr *self, const gchar* account_name); /** * modest_server_account_modest_server_account_get_hostnameget_username: