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