Mercurial > pidgin
annotate doc/account-signals.dox @ 12089:ed60afb9294f
[gaim-migrate @ 14386]
sf patch #1356626, from Sadrul Habib Chowdhury
"For systems that don't use xscreensaver to detect idle
time, the idle-time is reported incorrectly. The reason
is last_sent_time had not been updated. This patch
resets that field when a new connection is made."
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 14 Nov 2005 22:46:16 +0000 |
parents | e4666705944b |
children | 944c97d11bb1 |
rev | line source |
---|---|
6605 | 1 /** @page account-signals Account Signals |
2 | |
3 @signals | |
12053 | 4 @signal account-added |
6605 | 5 @signal account-connecting |
12053 | 6 @signal account-removed |
6605 | 7 @signal account-setting-info |
8 @signal account-set-info | |
11628 | 9 @signal account-status-changed |
6605 | 10 @endsignals |
11 | |
12 <hr> | |
13 | |
12053 | 14 @signaldef account-added |
15 @signalproto | |
16 void (*account_added)(GaimAccount *account); | |
17 @endsignalproto | |
18 @signaldesc | |
19 Emitted when an account is added. | |
20 @param account The account that was added. | |
21 @endsignaldef | |
22 | |
6605 | 23 @signaldef account-connecting |
24 @signalproto | |
25 void (*account_connecting)(GaimAccount *account); | |
26 @endsignalproto | |
27 @signaldesc | |
28 This is called when an account is in the process of connecting. | |
6606
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
29 @param account The account in the process of connecting. |
6605 | 30 @endsignaldef |
31 | |
12053 | 32 @signaldef account-removed |
33 @signalproto | |
34 void (*account_removed)(GaimAccount *account); | |
35 @endsignalproto | |
36 @signaldesc | |
37 Emitted when an account is removed. | |
38 @param account The account that was removed. | |
39 @endsignaldef | |
40 | |
12070 | 41 @signaldef account-disabled |
42 @signalproto | |
43 void (*account_disabled)(GaimAccount *account); | |
44 @endsignalproto | |
45 @signaldesc | |
46 Emitted when an account is disabled. | |
47 @param account The account that was disabled. | |
48 @endsignaldef | |
49 | |
50 @signaldef account-enabled | |
51 @signalproto | |
52 void (*account_enabled)(GaimAccount *account); | |
53 @endsignalproto | |
54 @signaldesc | |
55 Emitted when an account is enabled. | |
56 @param account The account that was enabled. | |
57 @endsignaldef | |
58 | |
6605 | 59 @signaldef account-setting-info |
60 @signalproto | |
61 void (*account_setting_info)(GaimAccount *account, const char *new_info); | |
62 @endsignalproto | |
63 @signaldesc | |
64 Emitted when a user is about to send his new user info, or | |
65 profile, to the server. | |
6606
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
66 @param account The account that the info will be set on. |
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
67 @param new_info The new information to set. |
6605 | 68 @endsignaldef |
69 | |
70 @signaldef account-set-info | |
71 @signalproto | |
72 void (*account_set_info)(GaimAccount *account, const char *new_info); | |
73 @endsignalproto | |
6606
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
74 @signaldesc |
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
75 Emitted when a user sent his new user info, or profile, to the server. |
6605 | 76 @param account The account that the info was set on. |
77 @param new_info The new information set. | |
78 @endsignaldef | |
79 | |
11628 | 80 @signaldef account-status-changed |
81 @signalproto | |
82 void (*account_status_changed)(GaimAccount *account, GaimStatus *old, GaimStatus *new); | |
83 @endsignalproto | |
84 @signaldesc | |
85 Emitted when the status of an account changes (after the change). | |
86 @param account The account that changed status. | |
87 @param old The status before change. | |
88 @param new The status after change. | |
89 @endsignaldef | |
90 | |
6605 | 91 */ |
92 // vim: syntax=c tw=75 et |