Sat, 19 Nov 2005 13:52:03 +0000
[gaim-migrate @ 14455]
Migrate the old idle reporting preference in a way to cause least confusion
| 6605 | 1 | /** @page conversation-signals Conversation Signals |
| 2 | ||
| 3 | @signals | |
| 8736 | 4 | @signal writing-im-msg |
| 5 | @signal wrote-im-msg | |
| 6605 | 6 | @signal displaying-im-msg |
| 7 | @signal displayed-im-msg | |
| 8 | @signal sending-im-msg | |
| 9 | @signal sent-im-msg | |
| 8999 | 10 | @signal receiving-im-msg |
| 6605 | 11 | @signal received-im-msg |
| 8736 | 12 | @signal writing-chat-msg |
| 13 | @signal wrote-chat-msg | |
| 6605 | 14 | @signal displaying-chat-msg |
| 15 | @signal displayed-chat-msg | |
| 16 | @signal sending-chat-msg | |
| 17 | @signal sent-chat-msg | |
| 8999 | 18 | @signal receiving-chat-msg |
| 6605 | 19 | @signal received-chat-msg |
| 20 | @signal conversation-switching | |
| 21 | @signal conversation-switched | |
| 22 | @signal conversation-created | |
|
12053
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
23 | @signal conversation-updated |
| 6605 | 24 | @signal deleting-conversation |
| 25 | @signal buddy-typing | |
|
6838
b6061dc100cf
[gaim-migrate @ 7383]
Christian Hammond <chipx86@chipx86.com>
parents:
6781
diff
changeset
|
26 | @signal buddy-typing-stopped |
| 6605 | 27 | @signal chat-buddy-joining |
| 28 | @signal chat-buddy-joined | |
|
12053
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
29 | @signal chat-buddy-flags |
| 6605 | 30 | @signal chat-buddy-leaving |
| 31 | @signal chat-buddy-left | |
| 32 | @signal chat-inviting-user | |
| 33 | @signal chat-invited-user | |
| 34 | @signal chat-invited | |
| 35 | @signal chat-joined | |
| 36 | @signal chat-left | |
| 9517 | 37 | @signal chat-topic-changed |
| 6605 | 38 | @endsignals |
| 39 | ||
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
40 | @signaldef writing-im-msg |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
41 | @signalproto |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
42 | gboolean (*writing_im_msg)(GaimAccount *account, GaimConversation *conv, char **message); |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
43 | @endsignalproto |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
44 | @signaldesc |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
45 | Emitted before a message is displayed in an IM conversation or sent to a remote user. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
46 | @a message is a pointer to a string, so the plugin can replace the |
|
8276
cbe8a50524a6
[gaim-migrate @ 9000]
Christian Hammond <chipx86@chipx86.com>
parents:
8078
diff
changeset
|
47 | message that will be displayed along with the message that will be sent. |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
48 | This can also be used to cancel an outgoing message by returning @c TRUE. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
49 | @note |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
50 | Make sure to free @a *message before you replace it! |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
51 | @param account The account the message is being displayed and sent on. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
52 | @param conv The conversation the message is being displayed and sent on. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
53 | @param message A pointer to the message that will be displayed and sent. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
54 | @return @c TRUE if the message should be canceled, or @c FALSE otherwise. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
55 | @endsignaldef |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
56 | |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
57 | @signaldef wrote-im-msg |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
58 | @signalproto |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
59 | void (*wrote_im_msg)(GaimAccount *account, GaimConversation *conv, const char *message); |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
60 | @endsignalproto |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
61 | @signaldesc |
|
8276
cbe8a50524a6
[gaim-migrate @ 9000]
Christian Hammond <chipx86@chipx86.com>
parents:
8078
diff
changeset
|
62 | Emitted after a message is entered by the user, but before it is sent and displyed. |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
63 | When sending an IM, the order that the im-msg callbacks will be called is: |
|
8276
cbe8a50524a6
[gaim-migrate @ 9000]
Christian Hammond <chipx86@chipx86.com>
parents:
8078
diff
changeset
|
64 | writing-im-msg, wrote-im-msg, displaying-im-msg, displayed-im-msg, sending-im-msg, |
| 8736 | 65 | and finally sent-im-msg. |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
66 | @param account The account the message was displayed on. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
67 | @param conv The conversation the message was displayed on. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
68 | @param message The message that was displayed. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
69 | @endsignaldef |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
70 | |
| 6605 | 71 | @signaldef displaying-im-msg |
| 72 | @signalproto | |
|
6781
655eacaa1353
[gaim-migrate @ 7320]
Christian Hammond <chipx86@chipx86.com>
parents:
6610
diff
changeset
|
73 | gboolean (*displaying_im_msg)(GaimAccount *account, GaimConversation *conv, char **message); |
| 6605 | 74 | @endsignalproto |
| 75 | @signaldesc | |
| 76 | Emitted just before a message is displayed in an IM conversation. | |
| 77 | @a message is a pointer to a string, so the plugin can replace the | |
| 78 | message that will be displayed. This can also be used to cancel displaying | |
| 79 | a message by returning @c TRUE. | |
| 80 | @note | |
| 81 | Make sure to free @a *message before you replace it! | |
|
6606
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
82 | @param account The account the message is being displayed on. |
|
6781
655eacaa1353
[gaim-migrate @ 7320]
Christian Hammond <chipx86@chipx86.com>
parents:
6610
diff
changeset
|
83 | @param conv The conversation the message is being displayed on. |
|
6606
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
84 | @param message A pointer to the message that will be displayed. |
| 6605 | 85 | @return @c TRUE if the message should be canceled, or @c FALSE otherwise. |
| 86 | @endsignaldef | |
| 87 | ||
| 88 | @signaldef displayed-im-msg | |
| 89 | @signalproto | |
|
6781
655eacaa1353
[gaim-migrate @ 7320]
Christian Hammond <chipx86@chipx86.com>
parents:
6610
diff
changeset
|
90 | void (*displayed_im_msg)(GaimAccount *account, GaimConversation *conv, const char *message); |
| 6605 | 91 | @endsignalproto |
|
6606
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
92 | @signaldesc |
|
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
93 | Emitted after a message is displayed in an IM conversation. |
| 6605 | 94 | @param account The account the message was displayed on. |
|
6781
655eacaa1353
[gaim-migrate @ 7320]
Christian Hammond <chipx86@chipx86.com>
parents:
6610
diff
changeset
|
95 | @param conv The conversation the message was displayed on. |
| 6605 | 96 | @param message The message that was displayed. |
| 97 | @endsignaldef | |
| 98 | ||
| 99 | @signaldef sending-im-msg | |
| 100 | @signalproto | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
101 | void (*sending_im_msg)(GaimAccount *account, const char *receiver, |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
102 | char **message); |
| 6605 | 103 | @endsignalproto |
| 104 | @signaldesc | |
| 105 | Emitted before sending an IM to a user. @a message is a pointer to the | |
| 106 | message string, so the plugin can replace the message before being sent. | |
| 107 | @note | |
| 108 | Make sure to free @a *message before you replace it! | |
|
8276
cbe8a50524a6
[gaim-migrate @ 9000]
Christian Hammond <chipx86@chipx86.com>
parents:
8078
diff
changeset
|
109 | @param account The account the message is being sent on. |
|
6606
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
110 | @param receiver The username of the receiver. |
|
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
111 | @param message A pointer to the outgoing message. This can be modified. |
| 6605 | 112 | @endsignaldef |
| 113 | ||
| 114 | @signaldef sent-im-msg | |
| 115 | @signalproto | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
116 | void (*sent_im_msg)(GaimAccount *account, const char *receiver, |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
117 | const char *message); |
| 6605 | 118 | @endsignalproto |
|
6606
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
119 | @signaldesc |
|
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
120 | Emitted after sending an IM to a user. |
| 6605 | 121 | @param account The account the message was sent on. |
| 122 | @param receiver The username of the receiver. | |
| 123 | @param message The message that was sent. | |
| 124 | @endsignaldef | |
| 125 | ||
| 8999 | 126 | @signaldef receiving-im-msg |
| 6605 | 127 | @signalproto |
| 8999 | 128 | gboolean (*receiving_im_msg)(GaimAccount *account, char **sender, |
|
10104
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
129 | char **message, GaimConversation *conv, int *flags); |
| 6605 | 130 | @endsignalproto |
| 131 | @signaldesc | |
| 132 | Emitted when an IM is received. The callback can replace the name of the | |
| 133 | sender, the message, or the flags by modifying the pointer to the | |
| 134 | strings and integer. This can also be used to cancel a message by | |
| 135 | returning @c TRUE. | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
136 | @note |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
137 | Make sure to free @a *sender and @a *message before you replace them! |
| 6605 | 138 | @return @c TRUE if the message should be canceled, or @c FALSE otherwise. |
|
6606
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
139 | @param account The account the message was received on. |
|
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
140 | @param sender A pointer to the username of the sender. |
|
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
141 | @param message A pointer to the message that was sent. |
|
10104
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
142 | @param conv The IM conversation. |
|
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
143 | @param flags A pointer to the IM message flags. |
| 6605 | 144 | @endsignaldef |
| 145 | ||
| 8999 | 146 | @signaldef received-im-msg |
| 147 | @signalproto | |
|
10104
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
148 | void (*received_im_msg)(GaimAccount *account, char *sender, char *message, |
|
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
149 | GaimConversation *conv, int flags); |
| 8999 | 150 | @endsignalproto |
| 151 | @signaldesc | |
| 152 | Emitted after an IM is received. | |
| 153 | @param account The account the message was received on. | |
| 154 | @param sender The username of the sender. | |
| 155 | @param message The message that was sent. | |
|
10104
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
156 | @param conv The IM conversation. |
|
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
157 | @param flags The IM message flags. |
| 8999 | 158 | @endsignaldef |
| 159 | ||
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
160 | @signaldef writing-chat-msg |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
161 | @signalproto |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
162 | gboolean (*writing_chat_msg)(GaimAccount *account, GaimConversation *conv, char **message); |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
163 | @endsignalproto |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
164 | @signaldesc |
|
8276
cbe8a50524a6
[gaim-migrate @ 9000]
Christian Hammond <chipx86@chipx86.com>
parents:
8078
diff
changeset
|
165 | Emitted before a message is displayed in a chat conversation or sent to |
|
cbe8a50524a6
[gaim-migrate @ 9000]
Christian Hammond <chipx86@chipx86.com>
parents:
8078
diff
changeset
|
166 | a remote chat. @a message is a pointer to a string, so the plugin can |
|
cbe8a50524a6
[gaim-migrate @ 9000]
Christian Hammond <chipx86@chipx86.com>
parents:
8078
diff
changeset
|
167 | replace the message that will be displayed along with the message that |
|
cbe8a50524a6
[gaim-migrate @ 9000]
Christian Hammond <chipx86@chipx86.com>
parents:
8078
diff
changeset
|
168 | will be sent. This can also be used to cancel an outgoing message by |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
169 | returning @c TRUE. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
170 | @note |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
171 | Make sure to free @a *message before you replace it! |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
172 | @param account The account the message is being displayed and sent on. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
173 | @param conv The conversation the message is being displayed and sent on. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
174 | @param message A pointer to the message that will be displayed and sent. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
175 | @return @c TRUE if the message should be canceled, or @c FALSE otherwise. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
176 | @endsignaldef |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
177 | |
| 8736 | 178 | @signaldef wrote-chat-msg |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
179 | @signalproto |
| 8736 | 180 | void (*wrote_chat_msg)(GaimAccount *account, GaimConversation *conv, const char *message); |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
181 | @endsignalproto |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
182 | @signaldesc |
|
8276
cbe8a50524a6
[gaim-migrate @ 9000]
Christian Hammond <chipx86@chipx86.com>
parents:
8078
diff
changeset
|
183 | Emitted after a message is entered by the user, but before it is sent and displyed. |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
184 | When sending an IM, the order that the im-msg callbacks will be called is: |
|
8276
cbe8a50524a6
[gaim-migrate @ 9000]
Christian Hammond <chipx86@chipx86.com>
parents:
8078
diff
changeset
|
185 | writing-im-msg, wrote-im-msg, displaying-im-msg, displayed-im-msg, sending-im-msg, |
| 8736 | 186 | and finally sent-im-msg. |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
187 | @param account The account the message was displayed on. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
188 | @param conv The conversation the message was displayed on. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
189 | @param message The message that was displayed. |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
190 | @endsignaldef |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
191 | |
| 6605 | 192 | @signaldef displaying-chat-msg |
| 193 | @signalproto | |
|
6781
655eacaa1353
[gaim-migrate @ 7320]
Christian Hammond <chipx86@chipx86.com>
parents:
6610
diff
changeset
|
194 | gboolean (*displaying_chat_msg)(GaimAccount *account, GaimConversation *conv, char **message); |
| 6605 | 195 | @endsignalproto |
| 196 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
197 | Emitted just before a message is displayed in a chat. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
198 | @a message is a pointer to a string, so the plugin can replace the |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
199 | message that will be displayed. This can also be used to cancel displaying |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
200 | a message by returning @c TRUE. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
201 | @note |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
202 | Make sure to free @a *message before you replace it! |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
203 | @param account The account the message is being displayed on. |
|
6781
655eacaa1353
[gaim-migrate @ 7320]
Christian Hammond <chipx86@chipx86.com>
parents:
6610
diff
changeset
|
204 | @param conv The conversation the message is being displayed on. |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
205 | @param message A pointer to the message that will be displayed. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
206 | @return @c TRUE if the message should be canceled, or @c FALSE otherwise. |
| 6605 | 207 | @endsignaldef |
| 208 | ||
| 209 | @signaldef displayed-chat-msg | |
| 210 | @signalproto | |
|
6781
655eacaa1353
[gaim-migrate @ 7320]
Christian Hammond <chipx86@chipx86.com>
parents:
6610
diff
changeset
|
211 | void (*displayed_chat_msg)(GaimAccount *account, GaimConversation *conv, const char *message); |
| 6605 | 212 | @endsignalproto |
| 213 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
214 | Emitted after a message is displayed in a chat conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
215 | @param account The account the message was displayed on. |
|
6781
655eacaa1353
[gaim-migrate @ 7320]
Christian Hammond <chipx86@chipx86.com>
parents:
6610
diff
changeset
|
216 | @param conv The conversation the message was displayed on. |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
217 | @param message The message that was displayed. |
| 6605 | 218 | @endsignaldef |
| 219 | ||
| 220 | @signaldef sending-chat-msg | |
| 221 | @signalproto | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
222 | void (*sending_chat_msg)(GaimAccount *account, char **message, int id); |
| 6605 | 223 | @endsignalproto |
| 224 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
225 | Emitted before sending a message to a chat. @a message is a pointer to the |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
226 | message string, so the plugin can replace the message before being sent. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
227 | @note |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
228 | Make sure to free @a *message before you replace it! |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
229 | @param account The account the message is being sent on. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
230 | @param message A pointer to the message that will be sent. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
231 | @param id The ID of the chat. |
| 6605 | 232 | @endsignaldef |
| 233 | ||
| 234 | @signaldef sent-chat-msg | |
| 235 | @signalproto | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
236 | void (*sent_chat_msg)(GaimAccount *account, const char *message, int id); |
| 6605 | 237 | @endsignalproto |
| 238 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
239 | Emitted after sending a message to a chat. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
240 | @param account The account the message was sent on. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
241 | @param message The message that was sent. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
242 | @param id The ID of the chat. |
| 6605 | 243 | @endsignaldef |
| 244 | ||
| 8999 | 245 | @signaldef receiving-chat-msg |
| 6605 | 246 | @signalproto |
| 8999 | 247 | gboolean (*receiving_chat_msg)(GaimAccount *account, char **sender, |
|
10104
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
248 | char **message, GaimConversation *conv, int *flags); |
| 6605 | 249 | @endsignalproto |
| 250 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
251 | Emitted when a chat message is received. The callback can replace the |
|
10104
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
252 | name of the sender, the message, or the flags by modifying the pointer to the |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
253 | strings. This can also be used to cancel displaying a message by |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
254 | returning @c TRUE. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
255 | @note |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
256 | Make sure to free @a *sender and @a *message before you replace them! |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
257 | @return @c TRUE if the message should be canceled, or @c FALSE otherwise. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
258 | @param account The account the message was received on. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
259 | @param sender A pointer to the username of the sender. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
260 | @param message A pointer to the message that was sent. |
|
7512
4b43dc5a09cf
[gaim-migrate @ 8125]
Christian Hammond <chipx86@chipx86.com>
parents:
6838
diff
changeset
|
261 | @param conv The chat conversation. |
|
10104
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
262 | @param flags A pointer to the chat message flags |
| 6605 | 263 | @endsignaldef |
| 264 | ||
| 8999 | 265 | @signaldef received-chat-msg |
| 266 | @signalproto | |
|
10104
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
267 | void (*received_chat_msg)(GaimAccount *account, char *sender, char *message, |
|
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
268 | GaimConversation *conv, int flags); |
| 8999 | 269 | @endsignalproto |
| 270 | @signaldesc | |
| 271 | Emitted after a chat message is received. | |
| 272 | @param account The account the message was received on. | |
| 273 | @param sender The username of the sender. | |
| 274 | @param message The message that was sent. | |
| 275 | @param conv The chat conversation. | |
|
10104
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
276 | @param flags The chat message flags. |
| 8999 | 277 | @endsignaldef |
| 278 | ||
| 6605 | 279 | @signaldef conversation-switching |
| 280 | @signalproto | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
281 | void (*conversation_switching)(GaimConversation *old_conv, |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
282 | GaimConversation *new_conv); |
| 6605 | 283 | @endsignalproto |
| 284 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
285 | Emitted when a window is about to switch from one conversation to |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
286 | another. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
287 | @param old_conv The old active conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
288 | @param new_conv The soon-to-be active conversation |
| 6605 | 289 | @endsignaldef |
| 290 | ||
| 291 | @signaldef conversation-switched | |
| 292 | @signalproto | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
293 | void (*conversation_switched)(GaimConversation *old_conv, |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
294 | GaimConversation *new_conv); |
| 6605 | 295 | @endsignalproto |
| 296 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
297 | Emitted when a window switched from one conversation to another. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
298 | @param old_conv The old active conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
299 | @param new_conv The now active conversation. |
| 6605 | 300 | @endsignaldef |
| 301 | ||
| 302 | @signaldef conversation-created | |
| 303 | @signalproto | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
304 | void (*conversation_created)(GaimConversation *conv); |
| 6605 | 305 | @endsignalproto |
| 306 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
307 | Emitted when a new conversation is created. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
308 | @param conv The new conversation. |
| 6605 | 309 | @endsignaldef |
| 310 | ||
|
12053
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
311 | @signaldef conversation-updated |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
312 | @signalproto |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
313 | void (*conversation_updated)(GaimConversation *conv, |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
314 | GaimConvUpdateType type); |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
315 | @endsignalproto |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
316 | @signaldesc |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
317 | Emitted when a conversation is updated. |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
318 | @param conv The conversation that was updated. |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
319 | @param type The type of update that was made. |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
320 | @endsignaldef |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
321 | |
| 6605 | 322 | @signaldef deleting-conversation |
| 323 | @signalproto | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
324 | void (*deleting_conversation)(GaimConversation *conv); |
| 6605 | 325 | @endsignalproto |
| 326 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
327 | Emitted just before a conversation is to be destroyed. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
328 | @param conv The conversation that's about to be destroyed. |
| 6605 | 329 | @endsignaldef |
| 330 | ||
| 331 | @signaldef buddy-typing | |
| 332 | @signalproto | |
|
11707
a2c8dd795e3b
[gaim-migrate @ 13998]
Richard Laager <rlaager@pidgin.im>
parents:
11474
diff
changeset
|
333 | void (*buddy_typing)(GaimAccount *account, const char *name); |
| 6605 | 334 | @endsignalproto |
| 335 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
336 | Emitted when a buddy starts typing in a conversation window. |
|
11707
a2c8dd795e3b
[gaim-migrate @ 13998]
Richard Laager <rlaager@pidgin.im>
parents:
11474
diff
changeset
|
337 | @param account The account of the user which is typing. |
|
a2c8dd795e3b
[gaim-migrate @ 13998]
Richard Laager <rlaager@pidgin.im>
parents:
11474
diff
changeset
|
338 | @param name The name of the user which is typing. |
| 6605 | 339 | @endsignaldef |
| 340 | ||
|
6838
b6061dc100cf
[gaim-migrate @ 7383]
Christian Hammond <chipx86@chipx86.com>
parents:
6781
diff
changeset
|
341 | @signaldef buddy-typing-stopped |
|
b6061dc100cf
[gaim-migrate @ 7383]
Christian Hammond <chipx86@chipx86.com>
parents:
6781
diff
changeset
|
342 | @signalproto |
|
11707
a2c8dd795e3b
[gaim-migrate @ 13998]
Richard Laager <rlaager@pidgin.im>
parents:
11474
diff
changeset
|
343 | void (*buddy_typing_stopped)(GaimAccount *account, const char *name); |
|
6838
b6061dc100cf
[gaim-migrate @ 7383]
Christian Hammond <chipx86@chipx86.com>
parents:
6781
diff
changeset
|
344 | @endsignalproto |
|
b6061dc100cf
[gaim-migrate @ 7383]
Christian Hammond <chipx86@chipx86.com>
parents:
6781
diff
changeset
|
345 | @signaldesc |
|
b6061dc100cf
[gaim-migrate @ 7383]
Christian Hammond <chipx86@chipx86.com>
parents:
6781
diff
changeset
|
346 | Emitted when a buddy stops typing in a conversation window. |
|
11707
a2c8dd795e3b
[gaim-migrate @ 13998]
Richard Laager <rlaager@pidgin.im>
parents:
11474
diff
changeset
|
347 | @param account The account of the user which stopped typing. |
|
a2c8dd795e3b
[gaim-migrate @ 13998]
Richard Laager <rlaager@pidgin.im>
parents:
11474
diff
changeset
|
348 | @param name The name of the user which stopped typing. |
|
6838
b6061dc100cf
[gaim-migrate @ 7383]
Christian Hammond <chipx86@chipx86.com>
parents:
6781
diff
changeset
|
349 | @endsignaldef |
|
b6061dc100cf
[gaim-migrate @ 7383]
Christian Hammond <chipx86@chipx86.com>
parents:
6781
diff
changeset
|
350 | |
| 6605 | 351 | @signaldef chat-buddy-joining |
| 352 | @signalproto | |
| 9587 | 353 | gboolean (*chat_buddy_joining)(GaimConversation *conv, const char *name, |
|
9554
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
354 | GaimConvChatBuddyFlags flags); |
| 6605 | 355 | @endsignalproto |
| 356 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
357 | Emitted when a buddy is joining a chat, before the list of |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
358 | users in the chat updates to include the new user. |
| 9587 | 359 | @return @c TRUE if the join should be hidden, or @c FALSE otherwise. |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
360 | @param conv The chat conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
361 | @param name The name of the user that is joining the conversation. |
|
9554
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
362 | @param flags The flags of the user that is joining the conversation. |
| 6605 | 363 | @endsignaldef |
| 364 | ||
| 365 | @signaldef chat-buddy-joined | |
| 366 | @signalproto | |
|
9554
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
367 | void (*chat_buddy_joined)(GaimConversation *conv, const char *name, |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
368 | GaimConvChatBuddyFlags flags); |
| 6605 | 369 | @endsignalproto |
| 370 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
371 | Emitted when a buddy joined a chat, after the users list is updated. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
372 | @param conv The chat conversation. |
|
9554
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
373 | @param name The name of the user that has joined the conversation. |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
374 | @param flags The flags of the user that has joined the conversation. |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
375 | @endsignaldef |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
376 | |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
377 | @signaldef chat-buddy-flags |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
378 | @signalproto |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
379 | void (*chat_buddy_flags)(GaimConversation *conv, const char *name, |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
380 | GaimConvChatBuddyFlags oldflags, |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
381 | GaimConvChatBuddyFlags newflags); |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
382 | @endsignalproto |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
383 | @signaldesc |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
384 | Emitted when a user in a chat changes flags. |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
385 | @param conv The chat conversation. |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
386 | @param name The name of the user. |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
387 | @param oldflags The old flags. |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
388 | @param newflags The new flags. |
| 6605 | 389 | @endsignaldef |
| 390 | ||
| 391 | @signaldef chat-buddy-leaving | |
| 392 | @signalproto | |
| 9587 | 393 | gboolean (*chat_buddy_leaving)(GaimConversation *conv, const char *name, |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
394 | const char *reason); |
| 6605 | 395 | @endsignalproto |
| 396 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
397 | Emitted when a user is leaving a chat, before the user list is updated. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
398 | This may include an optional reason why the user is leaving. |
| 9587 | 399 | @return @c TRUE if the leave should be hidden, or @c FALSE otherwise. |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
400 | @param conv The chat conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
401 | @param name The name of the user that is leaving the chat. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
402 | @param reason The optional reason why the user is leaving. |
| 6605 | 403 | @endsignaldef |
| 404 | ||
| 405 | @signaldef chat-buddy-left | |
| 406 | @signalproto | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
407 | void (*chat_buddy_left)(GaimConversation *conv, const char *name, |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
408 | const char *reason); |
| 6605 | 409 | @endsignalproto |
| 410 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
411 | Emitted when a user leaves a chat, after the user list is updated. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
412 | This may include an optional reason why the user is leaving. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
413 | @param conv The chat conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
414 | @param name The name of the user that left the chat. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
415 | @param reason The optional reason why the user left the chat. |
| 6605 | 416 | @endsignaldef |
| 417 | ||
| 418 | @signaldef chat-inviting-user | |
| 419 | @signalproto | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
420 | void (*chat_inviting_user)(GaimConversation *conv, const char *name, |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
421 | char **invite_message); |
| 6605 | 422 | @endsignalproto |
| 423 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
424 | Emitted when a user is being invited to the chat. The callback can |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
425 | replace the invite message to the invitee by modifying the pointer to |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
426 | the invite message. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
427 | @note |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
428 | Make sure to free @a *invite_message before you replace it! |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
429 | @param conv The chat conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
430 | @param name The name of the user being invited. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
431 | @param invite_message A pointer to the reason why a user is being |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
432 | invited. |
| 6605 | 433 | @endsignaldef |
| 434 | ||
| 435 | @signaldef chat-invited-user | |
| 436 | @signalproto | |
|
6610
74bcebaa7c54
[gaim-migrate @ 7134]
Christian Hammond <chipx86@chipx86.com>
parents:
6609
diff
changeset
|
437 | void (*chat_invited_user)(GaimConversation *conv, const char *name, |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
438 | const char *invite_message); |
| 6605 | 439 | @endsignalproto |
| 440 | @signaldesc | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
441 | Emitted when a user invited another user to a chat. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
442 | @param conv The chat conversation. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
443 | @param conv The name of the user that was invited. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
444 | @param invite_message The message to be sent to the user when invited. |
| 6605 | 445 | @endsignaldef |
| 446 | ||
| 447 | @signaldef chat-invited | |
| 448 | @signalproto | |
| 11064 | 449 | gint (*chat_invited)(GaimAccount *account, const char *inviter, |
| 9514 | 450 | const char *chat, const char *invite_message |
|
11474
759ad9f18c13
[gaim-migrate @ 13715]
Gary Kramlich <grim@reaperworld.com>
parents:
11064
diff
changeset
|
451 | const GHashTable *components); |
| 6605 | 452 | @endsignalproto |
| 453 | @signaldesc | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
454 | Emitted when an account was invited to a chat. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
455 | @param account The account being invited. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
456 | @param inviter The username of the person inviting the account. |
| 9484 | 457 | @param chat The name of the chat you're being invited to. |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
458 | @param invite_message The optional invite message. |
| 9514 | 459 | @param components The components necessary if you want to call |
| 460 | serv_join_chat | |
| 11064 | 461 | @return Less than zero if the invitation should be rejected, greater than |
| 462 | zero if the invitation should be accepted. If zero is returned, the | |
| 463 | default behavior will be maintained: the user will be prompted. | |
| 6605 | 464 | @endsignaldef |
| 465 | ||
| 466 | @signaldef chat-joined | |
| 467 | @signalproto | |
|
6610
74bcebaa7c54
[gaim-migrate @ 7134]
Christian Hammond <chipx86@chipx86.com>
parents:
6609
diff
changeset
|
468 | void (*chat_joined)(GaimConversation *conv); |
| 6605 | 469 | @endsignalproto |
| 470 | @signaldesc | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
471 | Emitted when an account joins a chat room. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
472 | @param conv The conversation that joined the chat room. |
| 6605 | 473 | @endsignaldef |
| 474 | ||
| 475 | @signaldef chat-left | |
| 476 | @signalproto | |
|
6610
74bcebaa7c54
[gaim-migrate @ 7134]
Christian Hammond <chipx86@chipx86.com>
parents:
6609
diff
changeset
|
477 | void (*chat_left)(GaimConversation *conv); |
| 6605 | 478 | @endsignalproto |
| 479 | @signaldesc | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
480 | Emitted when an account leaves a chat room. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
481 | @param conv The conversation that left the chat room. |
| 6605 | 482 | @endsignaldef |
| 483 | ||
| 9517 | 484 | @signaldef chat-topic-changed |
| 485 | @signalproto | |
| 486 | void (*chat_topic_changed)(GaimConversation *conv, const char *who, const char *topic); | |
| 487 | @endsignalproto | |
| 488 | @signaldesc | |
| 489 | Emitted when the topic is changed in a chat. | |
| 490 | @param conv The conversation whose topic changed. | |
| 491 | @param who The name of the person that changed the topic. | |
| 492 | @param topic The new topic. | |
| 493 | @endsignaldef | |
| 494 | ||
| 6605 | 495 | */ |
| 496 | // vim: syntax=c tw=75 et |