Mercurial > pidgin.yaz
diff src/account.h @ 11251:ad9a61894d9b
[gaim-migrate @ 13420]
sf patch #1242524, from Sadrul Habib Chowdhury
gaim_account_is_connected fix
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 13 Aug 2005 05:54:34 +0000 |
parents | b4b1be482b4e |
children | 519dc2186438 |
line wrap: on
line diff
--- a/src/account.h Sat Aug 13 05:30:13 2005 +0000 +++ b/src/account.h Sat Aug 13 05:54:34 2005 +0000 @@ -403,6 +403,24 @@ gboolean gaim_account_is_connected(const GaimAccount *account); /** + * Returns whether or not the account is connecting. + * + * @param account The account. + * + * @return @c TRUE if connecting, or @c FALSE otherwise. + */ +gboolean gaim_account_is_connecting(const GaimAccount *account); + +/** + * Returns whether or not the account is disconnected. + * + * @param account The account. + * + * @return @c TRUE if disconnected, or @c FALSE otherwise. + */ +gboolean gaim_account_is_disconnected(const GaimAccount *account); + +/** * Returns the account's username. * * @param account The account.