Mercurial > pidgin
comparison doc/conversation-signals.dox @ 23404:3c1f1bed5be2
merge of '57be04f07f9fdc005b620053ae4f09dd1e27ebb3'
and '582755b8228024381c2a9e110de35f0aaedd5dc1'
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Wed, 02 Jul 2008 00:06:25 +0000 |
parents | ff8ec3d58367 |
children | 29502959f74a |
comparison
equal
deleted
inserted
replaced
22773:c9bc2d0215ed | 23404:3c1f1bed5be2 |
---|---|
5 @signal wrote-im-msg | 5 @signal wrote-im-msg |
6 @signal sending-im-msg | 6 @signal sending-im-msg |
7 @signal sent-im-msg | 7 @signal sent-im-msg |
8 @signal receiving-im-msg | 8 @signal receiving-im-msg |
9 @signal received-im-msg | 9 @signal received-im-msg |
10 @signal blocked-im-msg | |
10 @signal writing-chat-msg | 11 @signal writing-chat-msg |
11 @signal wrote-chat-msg | 12 @signal wrote-chat-msg |
12 @signal sending-chat-msg | 13 @signal sending-chat-msg |
13 @signal sent-chat-msg | 14 @signal sent-chat-msg |
14 @signal receiving-chat-msg | 15 @signal receiving-chat-msg |
24 @signal chat-buddy-leaving | 25 @signal chat-buddy-leaving |
25 @signal chat-buddy-left | 26 @signal chat-buddy-left |
26 @signal chat-inviting-user | 27 @signal chat-inviting-user |
27 @signal chat-invited-user | 28 @signal chat-invited-user |
28 @signal chat-invited | 29 @signal chat-invited |
30 @signal chat-invite-blocked | |
29 @signal chat-joined | 31 @signal chat-joined |
32 @signal chat-join-failed | |
30 @signal chat-left | 33 @signal chat-left |
31 @signal chat-topic-changed | 34 @signal chat-topic-changed |
32 @signal conversation-extended-menu | 35 @signal conversation-extended-menu |
33 @endsignals | 36 @endsignals |
34 | 37 |
129 @param message The message that was sent. | 132 @param message The message that was sent. |
130 @param conv The IM conversation. | 133 @param conv The IM conversation. |
131 @param flags The IM message flags. | 134 @param flags The IM message flags. |
132 @endsignaldef | 135 @endsignaldef |
133 | 136 |
137 @signaldef blocked-im-msg | |
138 @signalproto | |
139 void (*blocked_im_msg)(PurpleAccount *account, const char *sender, | |
140 const char *message, PurpleMessageFlags flags, time_t when); | |
141 @endsignalproto | |
142 @signaldesc | |
143 Emitted after an IM is blocked due to privacy settings. | |
144 @param account The account the message was received on. | |
145 @param sender The username of the sender. | |
146 @param message The message that was blocked. | |
147 @param flags The IM message flags. | |
148 @param when The time the message was sent. | |
149 @since 2.5.0 | |
150 @endsignaldef | |
151 | |
134 @signaldef writing-chat-msg | 152 @signaldef writing-chat-msg |
135 @signalproto | 153 @signalproto |
136 gboolean (*writing_chat_msg)(PurpleAccount *account, const char *who, | 154 gboolean (*writing_chat_msg)(PurpleAccount *account, const char *who, |
137 char **message, PurpleConversation *conv, | 155 char **message, PurpleConversation *conv, |
138 PurpleMessageFlags flags); | 156 PurpleMessageFlags flags); |
298 Emitted when a buddy joined a chat, after the users list is updated. | 316 Emitted when a buddy joined a chat, after the users list is updated. |
299 @param conv The chat conversation. | 317 @param conv The chat conversation. |
300 @param name The name of the user that has joined the conversation. | 318 @param name The name of the user that has joined the conversation. |
301 @param flags The flags of the user that has joined the conversation. | 319 @param flags The flags of the user that has joined the conversation. |
302 @param new_arrival If the buddy is a new arrival. | 320 @param new_arrival If the buddy is a new arrival. |
321 @endsignaldef | |
322 | |
323 @signaldef chat-join-failed | |
324 @signalproto | |
325 void (*chat_join_failed)(PurpleConnection *gc, GHashTable *components); | |
326 @endsignalproto | |
327 @signaldesc | |
328 Emitted when an account fails to join a chat room | |
329 @param gc The PurpleConnection of the account which failed to join the chat. | |
330 @param data The components passed to serv_join_chat() originally. | |
331 The hash function should be g_str_hash() and the equal | |
332 function should be g_str_equal(). | |
303 @endsignaldef | 333 @endsignaldef |
304 | 334 |
305 @signaldef chat-buddy-flags | 335 @signaldef chat-buddy-flags |
306 @signalproto | 336 @signalproto |
307 void (*chat_buddy_flags)(PurpleConversation *conv, const char *name, | 337 void (*chat_buddy_flags)(PurpleConversation *conv, const char *name, |
389 @return Less than zero if the invitation should be rejected, greater than | 419 @return Less than zero if the invitation should be rejected, greater than |
390 zero if the invitation should be accepted. If zero is returned, the | 420 zero if the invitation should be accepted. If zero is returned, the |
391 default behavior will be maintained: the user will be prompted. | 421 default behavior will be maintained: the user will be prompted. |
392 @endsignaldef | 422 @endsignaldef |
393 | 423 |
424 @signaldef chat-invite-blocked | |
425 @signalproto | |
426 void (*chat_invite_blocked)(PurpleAccount *account, const char *inviter, | |
427 const char *name, const char *message, GHashTable *data); | |
428 @endsignalproto | |
429 @signaldesc | |
430 Emitted when an invitation to join a chat is blocked. | |
431 @param account The account the invitation was sent to. | |
432 @param inviter The name of the person sending the invitation. | |
433 @param name The name of the chat invited to. | |
434 @param message The invitation message sent. | |
435 @param data Hashtable containing data about the invited chat. | |
436 @since 2.5.0 | |
437 @endsignaldef | |
438 | |
394 @signaldef chat-joined | 439 @signaldef chat-joined |
395 @signalproto | 440 @signalproto |
396 void (*chat_joined)(PurpleConversation *conv); | 441 void (*chat_joined)(PurpleConversation *conv); |
397 @endsignalproto | 442 @endsignalproto |
398 @signaldesc | 443 @signaldesc |