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