Wed, 30 Apr 2008 06:29:16 +0000
As discussed on the devel list, purple_serv_got_join_chat_failed() and the
"chat-join-failed" signal now accept and pass (respectively) a GHashTable
instead of a string. The GHashTable is the same one which was passed to
serv_join_chat() originally.
| 6605 | 1 | /** @page conversation-signals Conversation Signals |
| 2 | ||
| 3 | @signals | |
| 8736 | 4 | @signal writing-im-msg |
| 5 | @signal wrote-im-msg | |
| 6605 | 6 | @signal sending-im-msg |
| 7 | @signal sent-im-msg | |
| 8999 | 8 | @signal receiving-im-msg |
| 6605 | 9 | @signal received-im-msg |
| 8736 | 10 | @signal writing-chat-msg |
| 11 | @signal wrote-chat-msg | |
| 6605 | 12 | @signal sending-chat-msg |
| 13 | @signal sent-chat-msg | |
| 8999 | 14 | @signal receiving-chat-msg |
| 6605 | 15 | @signal received-chat-msg |
| 16 | @signal conversation-created | |
|
12053
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
17 | @signal conversation-updated |
| 6605 | 18 | @signal deleting-conversation |
| 19 | @signal buddy-typing | |
|
6838
b6061dc100cf
[gaim-migrate @ 7383]
Christian Hammond <chipx86@chipx86.com>
parents:
6781
diff
changeset
|
20 | @signal buddy-typing-stopped |
| 6605 | 21 | @signal chat-buddy-joining |
| 22 | @signal chat-buddy-joined | |
|
12053
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
23 | @signal chat-buddy-flags |
| 6605 | 24 | @signal chat-buddy-leaving |
| 25 | @signal chat-buddy-left | |
| 26 | @signal chat-inviting-user | |
| 27 | @signal chat-invited-user | |
| 28 | @signal chat-invited | |
| 29 | @signal chat-joined | |
|
23270
2b7db16e721a
As discussed on the devel list, purple_serv_got_join_chat_failed() and the
Evan Schoenberg <evands@pidgin.im>
parents:
22917
diff
changeset
|
30 | @signal chat-join-failed |
| 6605 | 31 | @signal chat-left |
| 9517 | 32 | @signal chat-topic-changed |
|
17265
fd5b0ca330a3
New api function purple_conversation_get_extended_menu.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16262
diff
changeset
|
33 | @signal conversation-extended-menu |
| 6605 | 34 | @endsignals |
| 35 | ||
|
20897
2608e9e07913
Add some links from signal documentation back to the documentation for the
Will Thompson <resiak@pidgin.im>
parents:
17265
diff
changeset
|
36 | @see conversation.h |
|
2608e9e07913
Add some links from signal documentation back to the documentation for the
Will Thompson <resiak@pidgin.im>
parents:
17265
diff
changeset
|
37 | |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
38 | @signaldef writing-im-msg |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
39 | @signalproto |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
40 | gboolean (*writing_im_msg)(PurpleAccount *account, const char *who, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
41 | char **message, PurpleConversation *conv, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
42 | PurpleMessageFlags flags); |
|
8078
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 |
|
13234
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
45 | Emitted before a message is written in an IM conversation. If the |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
46 | message is changed, then the changed message is displayed and logged |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
47 | instead of the original message. |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
48 | @note |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
49 | Make sure to free @a *message before you replace it! |
|
13234
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
50 | @param account The account. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
51 | @param who The name of the user. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
52 | @param message A pointer to the message. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
53 | @param conv The conversation. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
54 | @param flags Flags for this message. |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
55 | @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
|
56 | @endsignaldef |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
57 | |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
58 | @signaldef wrote-im-msg |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
59 | @signalproto |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
60 | void (*wrote_im_msg)(PurpleAccount *account, const char *who, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
61 | char *message, PurpleConversation *conv, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
62 | PurpleMessageFlags flags); |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
63 | @endsignalproto |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
64 | @signaldesc |
|
13234
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
65 | Emitted after a message is written and possibly displayed in a conversation. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
66 | @param account The account. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
67 | @param who The name of the user. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
68 | @param message The message. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
69 | @param conv The conversation. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
70 | @param flags Flags for this message. |
| 6605 | 71 | @endsignaldef |
| 72 | ||
| 73 | @signaldef sending-im-msg | |
| 74 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
75 | void (*sending_im_msg)(PurpleAccount *account, const char *receiver, |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
76 | char **message); |
| 6605 | 77 | @endsignalproto |
| 78 | @signaldesc | |
| 79 | Emitted before sending an IM to a user. @a message is a pointer to the | |
| 80 | message string, so the plugin can replace the message before being sent. | |
| 81 | @note | |
| 82 | Make sure to free @a *message before you replace it! | |
|
8276
cbe8a50524a6
[gaim-migrate @ 9000]
Christian Hammond <chipx86@chipx86.com>
parents:
8078
diff
changeset
|
83 | @param account The account the message is being sent on. |
|
6606
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
84 | @param receiver The username of the receiver. |
|
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
85 | @param message A pointer to the outgoing message. This can be modified. |
| 6605 | 86 | @endsignaldef |
| 87 | ||
| 88 | @signaldef sent-im-msg | |
| 89 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
90 | void (*sent_im_msg)(PurpleAccount *account, const char *receiver, |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
91 | const char *message); |
| 6605 | 92 | @endsignalproto |
|
6606
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
93 | @signaldesc |
|
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
94 | Emitted after sending an IM to a user. |
| 6605 | 95 | @param account The account the message was sent on. |
| 96 | @param receiver The username of the receiver. | |
| 97 | @param message The message that was sent. | |
| 98 | @endsignaldef | |
| 99 | ||
| 8999 | 100 | @signaldef receiving-im-msg |
| 6605 | 101 | @signalproto |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
102 | gboolean (*receiving_im_msg)(PurpleAccount *account, char **sender, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
103 | char **message, PurpleConversation *conv, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
104 | PurpleMessageFlags *flags); |
| 6605 | 105 | @endsignalproto |
| 106 | @signaldesc | |
| 107 | Emitted when an IM is received. The callback can replace the name of the | |
| 108 | sender, the message, or the flags by modifying the pointer to the | |
| 109 | strings and integer. This can also be used to cancel a message by | |
| 110 | returning @c TRUE. | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
111 | @note |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
112 | Make sure to free @a *sender and @a *message before you replace them! |
| 6605 | 113 | @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
|
114 | @param account The account the message was received on. |
|
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
115 | @param sender A pointer to the username of the sender. |
|
1387777368c7
[gaim-migrate @ 7130]
Christian Hammond <chipx86@chipx86.com>
parents:
6605
diff
changeset
|
116 | @param message A pointer to the message that was sent. |
|
10104
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
117 | @param conv The IM conversation. |
|
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
118 | @param flags A pointer to the IM message flags. |
| 6605 | 119 | @endsignaldef |
| 120 | ||
| 8999 | 121 | @signaldef received-im-msg |
| 122 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
123 | void (*received_im_msg)(PurpleAccount *account, char *sender, char *message, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
124 | PurpleConversation *conv, PurpleMessageFlags flags); |
| 8999 | 125 | @endsignalproto |
| 126 | @signaldesc | |
| 127 | Emitted after an IM is received. | |
| 128 | @param account The account the message was received on. | |
| 129 | @param sender The username of the sender. | |
| 130 | @param message The message that was sent. | |
|
10104
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
131 | @param conv The IM conversation. |
|
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
132 | @param flags The IM message flags. |
| 8999 | 133 | @endsignaldef |
| 134 | ||
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
135 | @signaldef writing-chat-msg |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
136 | @signalproto |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
137 | gboolean (*writing_chat_msg)(PurpleAccount *account, const char *who, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
138 | char **message, PurpleConversation *conv, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
139 | PurpleMessageFlags flags); |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
140 | @endsignalproto |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
141 | @signaldesc |
|
13234
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
142 | Emitted before a message is written in a chat conversation. If the |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
143 | message is changed, then the changed message is displayed and logged |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
144 | instead of the original message. |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
145 | @note |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
146 | Make sure to free @a *message before you replace it! |
|
13234
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
147 | @param account The account. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
148 | @param who The name of the user. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
149 | @param message A pointer to the message. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
150 | @param conv The conversation. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
151 | @param flags Flags for this message. |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
152 | @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
|
153 | @endsignaldef |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
154 | |
| 8736 | 155 | @signaldef wrote-chat-msg |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
156 | @signalproto |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
157 | void (*wrote_chat_msg)(PurpleAccount *account, const char *who, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
158 | char *message, PurpleConversation *conv, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
159 | PurpleMessageFlags flags); |
|
8078
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
160 | @endsignalproto |
|
e8e087085339
[gaim-migrate @ 8777]
Mark Doliner <markdoliner@pidgin.im>
parents:
7512
diff
changeset
|
161 | @signaldesc |
|
13234
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
162 | Emitted after a message is written and possibly displayed in a chat. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
163 | @param account The account. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
164 | @param who The name of the user. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
165 | @param message The message. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
166 | @param conv The conversation. |
|
1d8e569b2053
[gaim-migrate @ 15598]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12850
diff
changeset
|
167 | @param flags Flags for this message. |
| 6605 | 168 | @endsignaldef |
| 169 | ||
| 170 | @signaldef sending-chat-msg | |
| 171 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
172 | void (*sending_chat_msg)(PurpleAccount *account, char **message, int id); |
| 6605 | 173 | @endsignalproto |
| 174 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
175 | 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
|
176 | 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
|
177 | @note |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
178 | Make sure to free @a *message before you replace it! |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
179 | @param account The account the message is being sent on. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
180 | @param message A pointer to the message that will be sent. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
181 | @param id The ID of the chat. |
| 6605 | 182 | @endsignaldef |
| 183 | ||
| 184 | @signaldef sent-chat-msg | |
| 185 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
186 | void (*sent_chat_msg)(PurpleAccount *account, const char *message, int id); |
| 6605 | 187 | @endsignalproto |
| 188 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
189 | Emitted after sending a message to a chat. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
190 | @param account The account the message was sent on. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
191 | @param message The message that was sent. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
192 | @param id The ID of the chat. |
| 6605 | 193 | @endsignaldef |
| 194 | ||
| 8999 | 195 | @signaldef receiving-chat-msg |
| 6605 | 196 | @signalproto |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
197 | gboolean (*receiving_chat_msg)(PurpleAccount *account, char **sender, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
198 | char **message, PurpleConversation *conv, int *flags); |
| 6605 | 199 | @endsignalproto |
| 200 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
201 | 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
|
202 | 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
|
203 | 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
|
204 | returning @c TRUE. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
205 | @note |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
206 | 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
|
207 | @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
|
208 | @param account The account the message was received on. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
209 | @param sender A pointer to the username of the sender. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
210 | @param message A pointer to the message that was sent. |
|
7512
4b43dc5a09cf
[gaim-migrate @ 8125]
Christian Hammond <chipx86@chipx86.com>
parents:
6838
diff
changeset
|
211 | @param conv The chat conversation. |
|
10104
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
212 | @param flags A pointer to the chat message flags |
| 6605 | 213 | @endsignaldef |
| 214 | ||
| 8999 | 215 | @signaldef received-chat-msg |
| 216 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
217 | void (*received_chat_msg)(PurpleAccount *account, char *sender, char *message, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
218 | PurpleConversation *conv, PurpleMessageFlags flags); |
| 8999 | 219 | @endsignalproto |
| 220 | @signaldesc | |
| 221 | Emitted after a chat message is received. | |
| 222 | @param account The account the message was received on. | |
| 223 | @param sender The username of the sender. | |
| 224 | @param message The message that was sent. | |
| 225 | @param conv The chat conversation. | |
|
10104
081392879815
[gaim-migrate @ 11131]
Nathan Fredrickson <nathan@silverorange.com>
parents:
9587
diff
changeset
|
226 | @param flags The chat message flags. |
| 8999 | 227 | @endsignaldef |
| 228 | ||
| 6605 | 229 | @signaldef conversation-created |
| 230 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
231 | void (*conversation_created)(PurpleConversation *conv); |
| 6605 | 232 | @endsignalproto |
| 233 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
234 | Emitted when a new conversation is created. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
235 | @param conv The new conversation. |
| 6605 | 236 | @endsignaldef |
| 237 | ||
|
12053
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
238 | @signaldef conversation-updated |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
239 | @signalproto |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
240 | void (*conversation_updated)(PurpleConversation *conv, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
241 | PurpleConvUpdateType type); |
|
12053
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
242 | @endsignalproto |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
243 | @signaldesc |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
244 | Emitted when a conversation is updated. |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
245 | @param conv The conversation that was updated. |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
246 | @param type The type of update that was made. |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
247 | @endsignaldef |
|
5aa634db0fc1
[gaim-migrate @ 14348]
Casey Harkins <charkins@pidgin.im>
parents:
11707
diff
changeset
|
248 | |
| 6605 | 249 | @signaldef deleting-conversation |
| 250 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
251 | void (*deleting_conversation)(PurpleConversation *conv); |
| 6605 | 252 | @endsignalproto |
| 253 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
254 | Emitted just before a conversation is to be destroyed. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
255 | @param conv The conversation that's about to be destroyed. |
| 6605 | 256 | @endsignaldef |
| 257 | ||
| 258 | @signaldef buddy-typing | |
| 259 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
260 | void (*buddy_typing)(PurpleAccount *account, const char *name); |
| 6605 | 261 | @endsignalproto |
| 262 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
263 | Emitted when a buddy starts typing in a conversation window. |
|
11707
a2c8dd795e3b
[gaim-migrate @ 13998]
Richard Laager <rlaager@pidgin.im>
parents:
11474
diff
changeset
|
264 | @param account The account of the user which is typing. |
|
a2c8dd795e3b
[gaim-migrate @ 13998]
Richard Laager <rlaager@pidgin.im>
parents:
11474
diff
changeset
|
265 | @param name The name of the user which is typing. |
| 6605 | 266 | @endsignaldef |
| 267 | ||
|
6838
b6061dc100cf
[gaim-migrate @ 7383]
Christian Hammond <chipx86@chipx86.com>
parents:
6781
diff
changeset
|
268 | @signaldef buddy-typing-stopped |
|
b6061dc100cf
[gaim-migrate @ 7383]
Christian Hammond <chipx86@chipx86.com>
parents:
6781
diff
changeset
|
269 | @signalproto |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
270 | void (*buddy_typing_stopped)(PurpleAccount *account, const char *name); |
|
6838
b6061dc100cf
[gaim-migrate @ 7383]
Christian Hammond <chipx86@chipx86.com>
parents:
6781
diff
changeset
|
271 | @endsignalproto |
|
b6061dc100cf
[gaim-migrate @ 7383]
Christian Hammond <chipx86@chipx86.com>
parents:
6781
diff
changeset
|
272 | @signaldesc |
|
b6061dc100cf
[gaim-migrate @ 7383]
Christian Hammond <chipx86@chipx86.com>
parents:
6781
diff
changeset
|
273 | Emitted when a buddy stops typing in a conversation window. |
|
11707
a2c8dd795e3b
[gaim-migrate @ 13998]
Richard Laager <rlaager@pidgin.im>
parents:
11474
diff
changeset
|
274 | @param account The account of the user which stopped typing. |
|
a2c8dd795e3b
[gaim-migrate @ 13998]
Richard Laager <rlaager@pidgin.im>
parents:
11474
diff
changeset
|
275 | @param name The name of the user which stopped typing. |
|
6838
b6061dc100cf
[gaim-migrate @ 7383]
Christian Hammond <chipx86@chipx86.com>
parents:
6781
diff
changeset
|
276 | @endsignaldef |
|
b6061dc100cf
[gaim-migrate @ 7383]
Christian Hammond <chipx86@chipx86.com>
parents:
6781
diff
changeset
|
277 | |
| 6605 | 278 | @signaldef chat-buddy-joining |
| 279 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
280 | gboolean (*chat_buddy_joining)(PurpleConversation *conv, const char *name, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
281 | PurpleConvChatBuddyFlags flags); |
| 6605 | 282 | @endsignalproto |
| 283 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
284 | 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
|
285 | users in the chat updates to include the new user. |
| 9587 | 286 | @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
|
287 | @param conv The chat conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
288 | @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
|
289 | @param flags The flags of the user that is joining the conversation. |
| 6605 | 290 | @endsignaldef |
| 291 | ||
| 292 | @signaldef chat-buddy-joined | |
| 293 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
294 | void (*chat_buddy_joined)(PurpleConversation *conv, const char *name, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
295 | PurpleConvChatBuddyFlags flags, |
|
12850
744542bdd53e
[gaim-migrate @ 15200]
Casey Harkins <charkins@pidgin.im>
parents:
12639
diff
changeset
|
296 | gboolean new_arrival); |
| 6605 | 297 | @endsignalproto |
| 298 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
299 | 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
|
300 | @param conv The chat conversation. |
|
9554
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
301 | @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
|
302 | @param flags The flags of the user that has joined the conversation. |
|
12850
744542bdd53e
[gaim-migrate @ 15200]
Casey Harkins <charkins@pidgin.im>
parents:
12639
diff
changeset
|
303 | @param new_arrival If the buddy is a new arrival. |
|
9554
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
304 | @endsignaldef |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
305 | |
|
23270
2b7db16e721a
As discussed on the devel list, purple_serv_got_join_chat_failed() and the
Evan Schoenberg <evands@pidgin.im>
parents:
22917
diff
changeset
|
306 | @signaldef chat-join-failed |
|
2b7db16e721a
As discussed on the devel list, purple_serv_got_join_chat_failed() and the
Evan Schoenberg <evands@pidgin.im>
parents:
22917
diff
changeset
|
307 | @signalproto |
|
2b7db16e721a
As discussed on the devel list, purple_serv_got_join_chat_failed() and the
Evan Schoenberg <evands@pidgin.im>
parents:
22917
diff
changeset
|
308 | void (*chat_join_failed)(PurpleConnection *gc, GHashTable *components); |
|
2b7db16e721a
As discussed on the devel list, purple_serv_got_join_chat_failed() and the
Evan Schoenberg <evands@pidgin.im>
parents:
22917
diff
changeset
|
309 | @endsignalproto |
|
2b7db16e721a
As discussed on the devel list, purple_serv_got_join_chat_failed() and the
Evan Schoenberg <evands@pidgin.im>
parents:
22917
diff
changeset
|
310 | @signaldesc |
|
2b7db16e721a
As discussed on the devel list, purple_serv_got_join_chat_failed() and the
Evan Schoenberg <evands@pidgin.im>
parents:
22917
diff
changeset
|
311 | Emitted when an account fails to join a chat room |
|
2b7db16e721a
As discussed on the devel list, purple_serv_got_join_chat_failed() and the
Evan Schoenberg <evands@pidgin.im>
parents:
22917
diff
changeset
|
312 | @param gc The PurpleConnection of the account which failed to join the chat. |
|
2b7db16e721a
As discussed on the devel list, purple_serv_got_join_chat_failed() and the
Evan Schoenberg <evands@pidgin.im>
parents:
22917
diff
changeset
|
313 | @param data The components passed to serv_join_chat() originally. |
|
2b7db16e721a
As discussed on the devel list, purple_serv_got_join_chat_failed() and the
Evan Schoenberg <evands@pidgin.im>
parents:
22917
diff
changeset
|
314 | The hash function should be g_str_hash() and the equal |
|
2b7db16e721a
As discussed on the devel list, purple_serv_got_join_chat_failed() and the
Evan Schoenberg <evands@pidgin.im>
parents:
22917
diff
changeset
|
315 | function should be g_str_equal(). |
|
2b7db16e721a
As discussed on the devel list, purple_serv_got_join_chat_failed() and the
Evan Schoenberg <evands@pidgin.im>
parents:
22917
diff
changeset
|
316 | @endsignaldef |
|
2b7db16e721a
As discussed on the devel list, purple_serv_got_join_chat_failed() and the
Evan Schoenberg <evands@pidgin.im>
parents:
22917
diff
changeset
|
317 | |
|
9554
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
318 | @signaldef chat-buddy-flags |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
319 | @signalproto |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
320 | void (*chat_buddy_flags)(PurpleConversation *conv, const char *name, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
321 | PurpleConvChatBuddyFlags oldflags, |
|
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
322 | PurpleConvChatBuddyFlags newflags); |
|
9554
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
323 | @endsignalproto |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
324 | @signaldesc |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
325 | Emitted when a user in a chat changes flags. |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
326 | @param conv The chat conversation. |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
327 | @param name The name of the user. |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
328 | @param oldflags The old flags. |
|
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9517
diff
changeset
|
329 | @param newflags The new flags. |
| 6605 | 330 | @endsignaldef |
| 331 | ||
| 332 | @signaldef chat-buddy-leaving | |
| 333 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
334 | gboolean (*chat_buddy_leaving)(PurpleConversation *conv, const char *name, |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
335 | const char *reason); |
| 6605 | 336 | @endsignalproto |
| 337 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
338 | 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
|
339 | This may include an optional reason why the user is leaving. |
| 9587 | 340 | @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
|
341 | @param conv The chat conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
342 | @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
|
343 | @param reason The optional reason why the user is leaving. |
| 6605 | 344 | @endsignaldef |
| 345 | ||
| 346 | @signaldef chat-buddy-left | |
| 347 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
348 | void (*chat_buddy_left)(PurpleConversation *conv, const char *name, |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
349 | const char *reason); |
| 6605 | 350 | @endsignalproto |
| 351 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
352 | 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
|
353 | This may include an optional reason why the user is leaving. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
354 | @param conv The chat conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
355 | @param name The name of the user that left the chat. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
356 | @param reason The optional reason why the user left the chat. |
| 6605 | 357 | @endsignaldef |
| 358 | ||
| 359 | @signaldef chat-inviting-user | |
| 360 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
361 | void (*chat_inviting_user)(PurpleConversation *conv, const char *name, |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
362 | char **invite_message); |
| 6605 | 363 | @endsignalproto |
| 364 | @signaldesc | |
|
6608
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
365 | 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
|
366 | 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
|
367 | the invite message. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
368 | @note |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
369 | Make sure to free @a *invite_message before you replace it! |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
370 | @param conv The chat conversation. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
371 | @param name The name of the user being invited. |
|
d27a3db39ee2
[gaim-migrate @ 7132]
Christian Hammond <chipx86@chipx86.com>
parents:
6606
diff
changeset
|
372 | @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
|
373 | invited. |
| 6605 | 374 | @endsignaldef |
| 375 | ||
| 376 | @signaldef chat-invited-user | |
| 377 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
378 | void (*chat_invited_user)(PurpleConversation *conv, const char *name, |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
379 | const char *invite_message); |
| 6605 | 380 | @endsignalproto |
| 381 | @signaldesc | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
382 | Emitted when a user invited another user to a chat. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
383 | @param conv The chat conversation. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
384 | @param conv The name of the user that was invited. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
385 | @param invite_message The message to be sent to the user when invited. |
| 6605 | 386 | @endsignaldef |
| 387 | ||
| 388 | @signaldef chat-invited | |
| 389 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
390 | gint (*chat_invited)(PurpleAccount *account, const char *inviter, |
| 9514 | 391 | const char *chat, const char *invite_message |
|
11474
759ad9f18c13
[gaim-migrate @ 13715]
Gary Kramlich <grim@reaperworld.com>
parents:
11064
diff
changeset
|
392 | const GHashTable *components); |
| 6605 | 393 | @endsignalproto |
| 394 | @signaldesc | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
395 | Emitted when an account was invited to a chat. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
396 | @param account The account being invited. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
397 | @param inviter The username of the person inviting the account. |
| 9484 | 398 | @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
|
399 | @param invite_message The optional invite message. |
| 9514 | 400 | @param components The components necessary if you want to call |
|
16262
1d9b65303dfc
Doxygen updates. This eliminated all the warnings from Doxygen.
Richard Laager <rlaager@pidgin.im>
parents:
16244
diff
changeset
|
401 | serv_join_chat() |
| 11064 | 402 | @return Less than zero if the invitation should be rejected, greater than |
| 403 | zero if the invitation should be accepted. If zero is returned, the | |
| 404 | default behavior will be maintained: the user will be prompted. | |
| 6605 | 405 | @endsignaldef |
| 406 | ||
| 407 | @signaldef chat-joined | |
| 408 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
409 | void (*chat_joined)(PurpleConversation *conv); |
| 6605 | 410 | @endsignalproto |
| 411 | @signaldesc | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
412 | Emitted when an account joins a chat room. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
413 | @param conv The conversation that joined the chat room. |
| 6605 | 414 | @endsignaldef |
| 415 | ||
| 416 | @signaldef chat-left | |
| 417 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
418 | void (*chat_left)(PurpleConversation *conv); |
| 6605 | 419 | @endsignalproto |
| 420 | @signaldesc | |
|
6609
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
421 | Emitted when an account leaves a chat room. |
|
9c437671599b
[gaim-migrate @ 7133]
Christian Hammond <chipx86@chipx86.com>
parents:
6608
diff
changeset
|
422 | @param conv The conversation that left the chat room. |
| 6605 | 423 | @endsignaldef |
| 424 | ||
| 9517 | 425 | @signaldef chat-topic-changed |
| 426 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
13252
diff
changeset
|
427 | void (*chat_topic_changed)(PurpleConversation *conv, const char *who, const char *topic); |
| 9517 | 428 | @endsignalproto |
| 429 | @signaldesc | |
| 430 | Emitted when the topic is changed in a chat. | |
| 431 | @param conv The conversation whose topic changed. | |
| 432 | @param who The name of the person that changed the topic. | |
| 433 | @param topic The new topic. | |
| 434 | @endsignaldef | |
| 435 | ||
|
17265
fd5b0ca330a3
New api function purple_conversation_get_extended_menu.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16262
diff
changeset
|
436 | @signaldef conversation-extended-menu |
|
fd5b0ca330a3
New api function purple_conversation_get_extended_menu.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16262
diff
changeset
|
437 | @signalproto |
|
fd5b0ca330a3
New api function purple_conversation_get_extended_menu.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16262
diff
changeset
|
438 | void (*conversation_extended_menu)(PurpleConversation *conv, GList **list); |
|
fd5b0ca330a3
New api function purple_conversation_get_extended_menu.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16262
diff
changeset
|
439 | @endsignalproto |
|
fd5b0ca330a3
New api function purple_conversation_get_extended_menu.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16262
diff
changeset
|
440 | @signaldesc |
|
fd5b0ca330a3
New api function purple_conversation_get_extended_menu.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16262
diff
changeset
|
441 | Emitted when the UI requests a list of plugin actions for a |
|
fd5b0ca330a3
New api function purple_conversation_get_extended_menu.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16262
diff
changeset
|
442 | conversation. |
|
fd5b0ca330a3
New api function purple_conversation_get_extended_menu.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16262
diff
changeset
|
443 | @param conv The conversation. |
|
fd5b0ca330a3
New api function purple_conversation_get_extended_menu.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16262
diff
changeset
|
444 | @param list A pointer to the list of actions. |
|
20940
925d3d68b3af
Doxygen @since tags for libpurple and pidgin.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
20897
diff
changeset
|
445 | @since 2.1.0 |
|
17265
fd5b0ca330a3
New api function purple_conversation_get_extended_menu.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16262
diff
changeset
|
446 | @endsignaldef |
| 6605 | 447 | */ |
|
20897
2608e9e07913
Add some links from signal documentation back to the documentation for the
Will Thompson <resiak@pidgin.im>
parents:
17265
diff
changeset
|
448 | // vim: syntax=c.doxygen tw=75 et |