Mercurial > pidgin.yaz
annotate doc/account-signals.dox @ 15136:31603a03cc02
[gaim-migrate @ 17921]
Etan had changed the account notify stuff so that the prpl decides
if the person is a buddy or not; I totally wiped that out with my
authorization stuff. This brings it back.
Additionally, I added a googletalk flag to JabberStream which
can determine at runtime if you're connected to Google Talk.
All of the Google Talk extensions can be detected individually
with disco, but this might be used for working with perfectly
standard XMPP that's implemented in what might be considered a
quirky way in Google Talk. For instance, Google Talk automatically
adds buddies to your roster when you authorize them to add you.
I was going to use this flag so that the Jabber prpl would
never ask me to add a Google Talk buddy who's just been
automatically added anyway.
I decided to keep it, though, since I may still want to
specify what group he's in.
This opens the door for more Google Talk customization though >:)
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 08 Dec 2006 02:51:47 +0000 |
parents | e629076386f1 |
children | 8cf53d7a0887 |
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 |
12127
944c97d11bb1
[gaim-migrate @ 14427]
Richard Laager <rlaager@wiktel.com>
parents:
12070
diff
changeset
|
7 @signal account-disabled |
944c97d11bb1
[gaim-migrate @ 14427]
Richard Laager <rlaager@wiktel.com>
parents:
12070
diff
changeset
|
8 @signal account-enabled |
6605 | 9 @signal account-setting-info |
10 @signal account-set-info | |
11628 | 11 @signal account-status-changed |
6605 | 12 @endsignals |
13 | |
14 <hr> | |
15 | |
12053 | 16 @signaldef account-added |
17 @signalproto | |
18 void (*account_added)(GaimAccount *account); | |
19 @endsignalproto | |
20 @signaldesc | |
21 Emitted when an account is added. | |
22 @param account The account that was added. | |
23 @endsignaldef | |
24 | |
6605 | 25 @signaldef account-connecting |
26 @signalproto | |
27 void (*account_connecting)(GaimAccount *account); | |
28 @endsignalproto | |
29 @signaldesc | |
30 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
|
31 @param account The account in the process of connecting. |
6605 | 32 @endsignaldef |
33 | |
12053 | 34 @signaldef account-removed |
35 @signalproto | |
36 void (*account_removed)(GaimAccount *account); | |
37 @endsignalproto | |
38 @signaldesc | |
39 Emitted when an account is removed. | |
40 @param account The account that was removed. | |
41 @endsignaldef | |
42 | |
12070 | 43 @signaldef account-disabled |
44 @signalproto | |
45 void (*account_disabled)(GaimAccount *account); | |
46 @endsignalproto | |
47 @signaldesc | |
48 Emitted when an account is disabled. | |
49 @param account The account that was disabled. | |
50 @endsignaldef | |
51 | |
52 @signaldef account-enabled | |
53 @signalproto | |
54 void (*account_enabled)(GaimAccount *account); | |
55 @endsignalproto | |
56 @signaldesc | |
57 Emitted when an account is enabled. | |
58 @param account The account that was enabled. | |
59 @endsignaldef | |
60 | |
6605 | 61 @signaldef account-setting-info |
62 @signalproto | |
63 void (*account_setting_info)(GaimAccount *account, const char *new_info); | |
64 @endsignalproto | |
65 @signaldesc | |
66 Emitted when a user is about to send his new user info, or | |
67 profile, to the server. | |
6606
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
68 @param account The account that the info will be set on. |
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
69 @param new_info The new information to set. |
6605 | 70 @endsignaldef |
71 | |
72 @signaldef account-set-info | |
73 @signalproto | |
74 void (*account_set_info)(GaimAccount *account, const char *new_info); | |
75 @endsignalproto | |
6606
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
76 @signaldesc |
34eaa941ecd6
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
77 Emitted when a user sent his new user info, or profile, to the server. |
6605 | 78 @param account The account that the info was set on. |
79 @param new_info The new information set. | |
80 @endsignaldef | |
81 | |
11628 | 82 @signaldef account-status-changed |
83 @signalproto | |
84 void (*account_status_changed)(GaimAccount *account, GaimStatus *old, GaimStatus *new); | |
85 @endsignalproto | |
86 @signaldesc | |
87 Emitted when the status of an account changes (after the change). | |
88 @param account The account that changed status. | |
89 @param old The status before change. | |
90 @param new The status after change. | |
91 @endsignaldef | |
92 | |
13281
e629076386f1
[gaim-migrate @ 15647]
Richard Laager <rlaager@wiktel.com>
parents:
12127
diff
changeset
|
93 @signaldef account-alias-changed |
e629076386f1
[gaim-migrate @ 15647]
Richard Laager <rlaager@wiktel.com>
parents:
12127
diff
changeset
|
94 @signalproto |
e629076386f1
[gaim-migrate @ 15647]
Richard Laager <rlaager@wiktel.com>
parents:
12127
diff
changeset
|
95 void (*account_alias_changed)(GaimAccount *account, const char *old); |
e629076386f1
[gaim-migrate @ 15647]
Richard Laager <rlaager@wiktel.com>
parents:
12127
diff
changeset
|
96 @endsignalproto |
e629076386f1
[gaim-migrate @ 15647]
Richard Laager <rlaager@wiktel.com>
parents:
12127
diff
changeset
|
97 @signaldesc |
e629076386f1
[gaim-migrate @ 15647]
Richard Laager <rlaager@wiktel.com>
parents:
12127
diff
changeset
|
98 Emitted when the alias of an account changes (after the change). |
e629076386f1
[gaim-migrate @ 15647]
Richard Laager <rlaager@wiktel.com>
parents:
12127
diff
changeset
|
99 @param account The account for which the alias was changed. |
e629076386f1
[gaim-migrate @ 15647]
Richard Laager <rlaager@wiktel.com>
parents:
12127
diff
changeset
|
100 @param old The alias before change. |
e629076386f1
[gaim-migrate @ 15647]
Richard Laager <rlaager@wiktel.com>
parents:
12127
diff
changeset
|
101 @endsignaldef |
e629076386f1
[gaim-migrate @ 15647]
Richard Laager <rlaager@wiktel.com>
parents:
12127
diff
changeset
|
102 |
6605 | 103 */ |
104 // vim: syntax=c tw=75 et |