comparison 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
comparison
equal deleted inserted replaced
21564:ad718740aa71 21565:554cb1447d06
7 @signal account-disabled 7 @signal account-disabled
8 @signal account-enabled 8 @signal account-enabled
9 @signal account-setting-info 9 @signal account-setting-info
10 @signal account-set-info 10 @signal account-set-info
11 @signal account-status-changed 11 @signal account-status-changed
12 @signal account-authorization-requested
13 @signal account-authorization-denied
14 @signal account-authorization-granted
15 @signal account-error-changed
12 @endsignals 16 @endsignals
13 17
14 @see account.h 18 @see account.h
15 19
16 <hr> 20 <hr>
111 @param account The account. 115 @param account The account.
112 @param user The name of the user requesting authorization. 116 @param user The name of the user requesting authorization.
113 @return Less than zero to deny the request without prompting, greater 117 @return Less than zero to deny the request without prompting, greater
114 than zero if the request should be granted. If zero is returned, 118 than zero if the request should be granted. If zero is returned,
115 then the user will be prompted with the request. 119 then the user will be prompted with the request.
120 @since 2.3.0
116 @endsignaldef 121 @endsignaldef
117 122
118 @signaldef account-authorization-denied 123 @signaldef account-authorization-denied
119 @signalproto 124 @signalproto
120 void (*account_authorization_denied)(PurpleAccount *account, const char *user); 125 void (*account_authorization_denied)(PurpleAccount *account, const char *user);
121 @endsignalproto 126 @endsignalproto
122 @signaldesc 127 @signaldesc
123 Emitted when the authorization request for a buddy is denied. 128 Emitted when the authorization request for a buddy is denied.
124 @param account The account. 129 @param account The account.
125 @param user The name of the user requesting authorization. 130 @param user The name of the user requesting authorization.
131 @since 2.3.0
126 @endsignaldef 132 @endsignaldef
127 133
128 @signaldef account-authorization-granted 134 @signaldef account-authorization-granted
129 @signalproto 135 @signalproto
130 void (*account_authorization_granted)(PurpleAccount *account, const char *user); 136 void (*account_authorization_granted)(PurpleAccount *account, const char *user);
131 @endsignalproto 137 @endsignalproto
132 @signaldesc 138 @signaldesc
133 Emitted when the authorization request for a buddy is granted. 139 Emitted when the authorization request for a buddy is granted.
134 @param account The account. 140 @param account The account.
135 @param user The name of the user requesting authorization. 141 @param user The name of the user requesting authorization.
142 @since 2.3.0
143 @endsignaldef
144
145 @signaldef account-error-changed
146 @signalproto
147 void (*account_error_changed)(PurpleAccount *account, const PurpleConnectionErrorInfo *old_error, const PurpleConnectionErrorInfo *current_error);
148 @endsignalproto
149 @signaldesc
150 Emitted when @a account's error changes.
151 @param account The account whose error has changed.
152 @param old_error The account's previous error, or @c NULL if it had no
153 error. After this signal is emitted, @a old_error is
154 not guaranteed to be a valid pointer.
155 @param new_error The account's new error, or @c NULL if it has no error.
156 If not @c NULL, @a new_error will remain a valid until
157 pointer just after the next time this signal is emitted
158 for this @a account.
159 @see purple_account_get_current_error()
160 @since 2.3.0
136 @endsignaldef 161 @endsignaldef
137 162
138 */ 163 */
139 // vim: syntax=c.doxygen tw=75 et 164 // vim: syntax=c.doxygen tw=75 et