Mercurial > pidgin.yaz
diff src/account.h @ 5779:758fa27534b3
[gaim-migrate @ 6204]
Auto-login support is back in, and we have UI-specific settings, and some
bugs were fixed in the account editor (including a crash on gtk 2.0, I
hope!)
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 07 Jun 2003 00:30:09 +0000 |
parents | 1f786fb43ee6 |
children | 059d95c67cda |
line wrap: on
line diff
--- a/src/account.h Fri Jun 06 21:46:16 2003 +0000 +++ b/src/account.h Sat Jun 07 00:30:09 2003 +0000 @@ -162,6 +162,17 @@ void gaim_account_set_check_mail(GaimAccount *account, gboolean value); /** + * Sets whether or not this account should auto-login for the specified + * UI. + * + * @param account The account. + * @param ui The UI. + * @param value @c TRUE if it should check for mail. + */ +void gaim_account_set_auto_login(GaimAccount *account, const char *ui, + gboolean value); + +/** * Sets the account's proxy information. * * @param account The account. @@ -329,6 +340,18 @@ gboolean gaim_account_get_check_mail(const GaimAccount *account); /** + * Returns whether or not this account should auto-login for the + * specified UI. + * + * @param account The account. + * @param ui The UI. + * + * @return @c TRUE if it should auto-login on this UI. + */ +gboolean gaim_account_get_auto_login(const GaimAccount *account, + const char *ui); + +/** * Returns the account's proxy information. * * @param account The account. @@ -439,6 +462,13 @@ void gaim_accounts_remove(GaimAccount *account); /** + * Auto-logins to all accounts set to auto-login under the specified UI. + * + * @param ui The UI. + */ +void gaim_accounts_auto_login(const char *ui); + +/** * Reorders an account. * * @param account The account to reorder.