Sun, 24 Aug 2003 07:14:40 +0000
[gaim-migrate @ 7134]
Fix some signal names in the docs.
| 6605 | 1 | /** @page conversation-signals Conversation Signals |
| 2 | ||
| 3 | @signals | |
| 4 | @signal displaying-im-msg | |
| 5 | @signal displayed-im-msg | |
| 6 | @signal sending-im-msg | |
| 7 | @signal sent-im-msg | |
| 8 | @signal received-im-msg | |
| 9 | @signal displaying-chat-msg | |
| 10 | @signal displayed-chat-msg | |
| 11 | @signal sending-chat-msg | |
| 12 | @signal sent-chat-msg | |
| 13 | @signal received-chat-msg | |
| 14 | @signal conversation-switching | |
| 15 | @signal conversation-switched | |
| 16 | @signal conversation-created | |
| 17 | @signal deleting-conversation | |
| 18 | @signal buddy-typing | |
| 19 | @signal chat-buddy-joining | |
| 20 | @signal chat-buddy-joined | |
| 21 | @signal chat-buddy-leaving | |
| 22 | @signal chat-buddy-left | |
| 23 | @signal chat-inviting-user | |
| 24 | @signal chat-invited-user | |
| 25 | @signal chat-invited | |
| 26 | @signal chat-joined | |
| 27 | @signal chat-left | |
| 28 | @endsignals | |
| 29 | ||
| 30 | @signaldef displaying-im-msg | |
| 31 | @signalproto | |
| 32 | gboolean (*displaying_im_msg)(GaimAccount *account, char **message); | |
| 33 | @endsignalproto | |
| 34 | @signaldesc | |
| 35 | Emitted just before a message is displayed in an IM conversation. | |
| 36 | @a message is a pointer to a string, so the plugin can replace the | |
| 37 | message that will be displayed. This can also be used to cancel displaying | |
| 38 | a message by returning @c TRUE. | |
| 39 | @note | |
| 40 | Make sure to free @a *message before you replace it! | |
|
6606
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
41 | @param account The account the message is being displayed on. |
|
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
42 | @param message A pointer to the message that will be displayed. |
| 6605 | 43 | @return @c TRUE if the message should be canceled, or @c FALSE otherwise. |
| 44 | @endsignaldef | |
| 45 | ||
| 46 | @signaldef displayed-im-msg | |
| 47 | @signalproto | |
| 48 | void (*displayed_im_msg)(GaimAccount *account, const char *message); | |
| 49 | @endsignalproto | |
|
6606
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
50 | @signaldesc |
|
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
51 | Emitted after a message is displayed in an IM conversation. |
| 6605 | 52 | @param account The account the message was displayed on. |
| 53 | @param message The message that was displayed. | |
| 54 | @endsignaldef | |
| 55 | ||
| 56 | @signaldef sending-im-msg | |
| 57 | @signalproto | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
58 | void (*sending_im_msg)(GaimAccount *account, const char *receiver, |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
59 | char **message); |
| 6605 | 60 | @endsignalproto |
| 61 | @signaldesc | |
| 62 | Emitted before sending an IM to a user. @a message is a pointer to the | |
| 63 | message string, so the plugin can replace the message before being sent. | |
| 64 | @note | |
| 65 | Make sure to free @a *message before you replace it! | |
|
6606
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
66 | @param conv The account the message is being sent on. |
|
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
67 | @param receiver The username of the receiver. |
|
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
68 | @param message A pointer to the outgoing message. This can be modified. |
| 6605 | 69 | @endsignaldef |
| 70 | ||
| 71 | @signaldef sent-im-msg | |
| 72 | @signalproto | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
73 | void (*sent_im_msg)(GaimAccount *account, const char *receiver, |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
74 | const char *message); |
| 6605 | 75 | @endsignalproto |
|
6606
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
76 | @signaldesc |
|
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
77 | Emitted after sending an IM to a user. |
| 6605 | 78 | @param account The account the message was sent on. |
| 79 | @param receiver The username of the receiver. | |
| 80 | @param message The message that was sent. | |
| 81 | @endsignaldef | |
| 82 | ||
| 83 | @signaldef received-im-msg | |
| 84 | @signalproto | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
85 | gboolean (*received_im_msg)(GaimAccount *account, char **sender, |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
86 | char **message, int *flags); |
| 6605 | 87 | @endsignalproto |
| 88 | @signaldesc | |
| 89 | Emitted when an IM is received. The callback can replace the name of the | |
| 90 | sender, the message, or the flags by modifying the pointer to the | |
| 91 | strings and integer. This can also be used to cancel a message by | |
| 92 | returning @c TRUE. | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
93 | @note |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
94 | Make sure to free @a *sender and @a *message before you replace them! |
| 6605 | 95 | @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
|
96 | @param account The account the message was received on. |
|
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
97 | @param sender A pointer to the username of the sender. |
|
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
98 | @param message A pointer to the message that was sent. |
| 6605 | 99 | @endsignaldef |
| 100 | ||
| 101 | @signaldef displaying-chat-msg | |
| 102 | @signalproto | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
103 | gboolean (*displaying_chat_msg)(GaimAccount *account, char **message); |
| 6605 | 104 | @endsignalproto |
| 105 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
106 | Emitted just before a message is displayed in a chat. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
107 | @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
|
108 | 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
|
109 | a message by returning @c TRUE. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
110 | @note |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
111 | Make sure to free @a *message before you replace it! |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
112 | @param account The account the message is being displayed on. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
113 | @param message A pointer to the message that will be displayed. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
114 | @return @c TRUE if the message should be canceled, or @c FALSE otherwise. |
| 6605 | 115 | @endsignaldef |
| 116 | ||
| 117 | @signaldef displayed-chat-msg | |
| 118 | @signalproto | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
119 | void (*displayed_chat_msg)(GaimAccount *account, const char *message); |
| 6605 | 120 | @endsignalproto |
| 121 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
122 | Emitted after a message is displayed in a chat conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
123 | @param account The account the message was displayed on. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
124 | @param message The message that was displayed. |
| 6605 | 125 | @endsignaldef |
| 126 | ||
| 127 | @signaldef sending-chat-msg | |
| 128 | @signalproto | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
129 | void (*sending_chat_msg)(GaimAccount *account, char **message, int id); |
| 6605 | 130 | @endsignalproto |
| 131 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
132 | 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
|
133 | 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
|
134 | @note |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
135 | Make sure to free @a *message before you replace it! |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
136 | @param account The account the message is being sent on. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
137 | @param message A pointer to the message that will be sent. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
138 | @param id The ID of the chat. |
| 6605 | 139 | @endsignaldef |
| 140 | ||
| 141 | @signaldef sent-chat-msg | |
| 142 | @signalproto | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
143 | void (*sent_chat_msg)(GaimAccount *account, const char *message, int id); |
| 6605 | 144 | @endsignalproto |
| 145 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
146 | Emitted after sending a message to a chat. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
147 | @param account The account the message was sent on. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
148 | @param message The message that was sent. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
149 | @param id The ID of the chat. |
| 6605 | 150 | @endsignaldef |
| 151 | ||
| 152 | @signaldef received-chat-msg | |
| 153 | @signalproto | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
154 | gboolean (*received_chat_msg)(GaimAccount *account, char **sender, |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
155 | char **message, int id); |
| 6605 | 156 | @endsignalproto |
| 157 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
158 | Emitted when a chat message is received. The callback can replace the |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
159 | name of the sender or the messageby modifying the pointer to the |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
160 | 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
|
161 | returning @c TRUE. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
162 | @note |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
163 | 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
|
164 | @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
|
165 | @param account The account the message was received on. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
166 | @param sender A pointer to the username of the sender. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
167 | @param message A pointer to the message that was sent. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
168 | @param id The ID of the chat. |
| 6605 | 169 | @endsignaldef |
| 170 | ||
| 171 | @signaldef conversation-switching | |
| 172 | @signalproto | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
173 | void (*conversation_switching)(GaimConversation *old_conv, |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
174 | GaimConversation *new_conv); |
| 6605 | 175 | @endsignalproto |
| 176 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
177 | 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
|
178 | another. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
179 | @param old_conv The old active conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
180 | @param new_conv The soon-to-be active conversation |
| 6605 | 181 | @endsignaldef |
| 182 | ||
| 183 | @signaldef conversation-switched | |
| 184 | @signalproto | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
185 | void (*conversation_switched)(GaimConversation *old_conv, |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
186 | GaimConversation *new_conv); |
| 6605 | 187 | @endsignalproto |
| 188 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
189 | Emitted when a window switched from one conversation to another. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
190 | @param old_conv The old active conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
191 | @param new_conv The now active conversation. |
| 6605 | 192 | @endsignaldef |
| 193 | ||
| 194 | @signaldef conversation-created | |
| 195 | @signalproto | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
196 | void (*conversation_created)(GaimConversation *conv); |
| 6605 | 197 | @endsignalproto |
| 198 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
199 | Emitted when a new conversation is created. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
200 | @param conv The new conversation. |
| 6605 | 201 | @endsignaldef |
| 202 | ||
| 203 | @signaldef deleting-conversation | |
| 204 | @signalproto | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
205 | void (*deleting_conversation)(GaimConversation *conv); |
| 6605 | 206 | @endsignalproto |
| 207 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
208 | Emitted just before a conversation is to be destroyed. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
209 | @param conv The conversation that's about to be destroyed. |
| 6605 | 210 | @endsignaldef |
| 211 | ||
| 212 | @signaldef buddy-typing | |
| 213 | @signalproto | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
214 | void (*buddy_typing)(GaimConversation *conv); |
| 6605 | 215 | @endsignalproto |
| 216 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
217 | Emitted when a buddy starts typing in a conversation window. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
218 | @param conv The IM conversation a buddy is typing in. |
| 6605 | 219 | @endsignaldef |
| 220 | ||
| 221 | @signaldef chat-buddy-joining | |
| 222 | @signalproto | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
223 | void (*chat_buddy_joining)(GaimConversation *conv, const char *name); |
| 6605 | 224 | @endsignalproto |
| 225 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
226 | 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
|
227 | users in the chat updates to include the new user. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
228 | @param conv The chat conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
229 | @param name The name of the user that is joining the conversation. |
| 6605 | 230 | @endsignaldef |
| 231 | ||
| 232 | @signaldef chat-buddy-joined | |
| 233 | @signalproto | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
234 | void (*chat_buddy_joined)(GaimConversation *conv, const char *name); |
| 6605 | 235 | @endsignalproto |
| 236 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
237 | 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
|
238 | @param conv The chat conversation. |
| 6605 | 239 | @endsignaldef |
| 240 | ||
| 241 | @signaldef chat-buddy-leaving | |
| 242 | @signalproto | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
243 | void (*chat_buddy_leaving)(GaimConversation *conv, const char *name, |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
244 | const char *reason); |
| 6605 | 245 | @endsignalproto |
| 246 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
247 | 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
|
248 | This may include an optional reason why the user is leaving. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
249 | @param conv The chat conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
250 | @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
|
251 | @param reason The optional reason why the user is leaving. |
| 6605 | 252 | @endsignaldef |
| 253 | ||
| 254 | @signaldef chat-buddy-left | |
| 255 | @signalproto | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
256 | void (*chat_buddy_left)(GaimConversation *conv, const char *name, |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
257 | const char *reason); |
| 6605 | 258 | @endsignalproto |
| 259 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
260 | 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
|
261 | This may include an optional reason why the user is leaving. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
262 | @param conv The chat conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
263 | @param name The name of the user that left the chat. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
264 | @param reason The optional reason why the user left the chat. |
| 6605 | 265 | @endsignaldef |
| 266 | ||
| 267 | @signaldef chat-inviting-user | |
| 268 | @signalproto | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
269 | void (*chat_inviting_user)(GaimConversation *conv, const char *name, |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
270 | char **invite_message); |
| 6605 | 271 | @endsignalproto |
| 272 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
273 | 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
|
274 | 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
|
275 | the invite message. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
276 | @note |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
277 | Make sure to free @a *invite_message before you replace it! |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
278 | @param conv The chat conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
279 | @param name The name of the user being invited. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
280 | @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
|
281 | invited. |
| 6605 | 282 | @endsignaldef |
| 283 | ||
| 284 | @signaldef chat-invited-user | |
| 285 | @signalproto | |
|
6610
74bcebaa7c54
[gaim-migrate @ 7134]
Christian Hammond <chipx86@chipx86.com>
parents:
6609
diff
changeset
|
286 | void (*chat_invited_user)(GaimConversation *conv, const char *name, |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
287 | const char *invite_message); |
| 6605 | 288 | @endsignalproto |
| 289 | @signaldesc | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
290 | Emitted when a user invited another user to a chat. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
291 | @param conv The chat conversation. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
292 | @param conv The name of the user that was invited. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
293 | @param invite_message The message to be sent to the user when invited. |
| 6605 | 294 | @endsignaldef |
| 295 | ||
| 296 | @signaldef chat-invited | |
| 297 | @signalproto | |
|
6610
74bcebaa7c54
[gaim-migrate @ 7134]
Christian Hammond <chipx86@chipx86.com>
parents:
6609
diff
changeset
|
298 | void (*chat_invited)(GaimAccount *account, const char *inviter, |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
299 | const char *invite, const char *invite_message); |
| 6605 | 300 | @endsignalproto |
| 301 | @signaldesc | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
302 | Emitted when an account was invited to a chat. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
303 | @param account The account being invited. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
304 | @param inviter The username of the person inviting the account. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
305 | @param invitee The username of the account being invited. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
306 | @param invite_message The optional invite message. |
| 6605 | 307 | @endsignaldef |
| 308 | ||
| 309 | @signaldef chat-joined | |
| 310 | @signalproto | |
|
6610
74bcebaa7c54
[gaim-migrate @ 7134]
Christian Hammond <chipx86@chipx86.com>
parents:
6609
diff
changeset
|
311 | void (*chat_joined)(GaimConversation *conv); |
| 6605 | 312 | @endsignalproto |
| 313 | @signaldesc | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
314 | Emitted when an account joins a chat room. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
315 | @param conv The conversation that joined the chat room. |
| 6605 | 316 | @endsignaldef |
| 317 | ||
| 318 | @signaldef chat-left | |
| 319 | @signalproto | |
|
6610
74bcebaa7c54
[gaim-migrate @ 7134]
Christian Hammond <chipx86@chipx86.com>
parents:
6609
diff
changeset
|
320 | void (*chat_left)(GaimConversation *conv); |
| 6605 | 321 | @endsignalproto |
| 322 | @signaldesc | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
323 | Emitted when an account leaves a chat room. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
324 | @param conv The conversation that left the chat room. |
| 6605 | 325 | @endsignaldef |
| 326 | ||
| 327 | */ | |
| 328 | // vim: syntax=c tw=75 et |