Mercurial > pidgin.yaz
diff doc/account-signals.dox @ 21565:554cb1447d06
merge of '540d26af45cb3708b3fe07efd7aa25e40a0b78ea'
and 'db4543bc39e18a4d6a4dda023bcbad610059e7a5'
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 17 Nov 2007 02:03:01 +0000 |
parents | ad718740aa71 30a532b14003 |
children | 14afe5a92fc2 |
line wrap: on
line diff
--- a/doc/account-signals.dox Sat Nov 17 01:55:40 2007 +0000 +++ b/doc/account-signals.dox Sat Nov 17 02:03:01 2007 +0000 @@ -9,6 +9,10 @@ @signal account-setting-info @signal account-set-info @signal account-status-changed + @signal account-authorization-requested + @signal account-authorization-denied + @signal account-authorization-granted + @signal account-error-changed @endsignals @see account.h @@ -113,6 +117,7 @@ @return Less than zero to deny the request without prompting, greater than zero if the request should be granted. If zero is returned, then the user will be prompted with the request. + @since 2.3.0 @endsignaldef @signaldef account-authorization-denied @@ -123,6 +128,7 @@ Emitted when the authorization request for a buddy is denied. @param account The account. @param user The name of the user requesting authorization. + @since 2.3.0 @endsignaldef @signaldef account-authorization-granted @@ -133,6 +139,25 @@ Emitted when the authorization request for a buddy is granted. @param account The account. @param user The name of the user requesting authorization. + @since 2.3.0 + @endsignaldef + + @signaldef account-error-changed + @signalproto +void (*account_error_changed)(PurpleAccount *account, const PurpleConnectionErrorInfo *old_error, const PurpleConnectionErrorInfo *current_error); + @endsignalproto + @signaldesc + Emitted when @a account's error changes. + @param account The account whose error has changed. + @param old_error The account's previous error, or @c NULL if it had no + error. After this signal is emitted, @a old_error is + not guaranteed to be a valid pointer. + @param new_error The account's new error, or @c NULL if it has no error. + If not @c NULL, @a new_error will remain a valid until + pointer just after the next time this signal is emitted + for this @a account. + @see purple_account_get_current_error() + @since 2.3.0 @endsignaldef */