comparison doc/conversation-signals.dox @ 8736:374477c0dd76

[gaim-migrate @ 9491] (21:37:35) nosnilmot: LSchiere: do you want this? http://nosnilmot.com/patches/gaim-0.77cvs-doclove.patch (21:38:43) LSchiere: oh wow (21:38:44) LSchiere: sure (21:38:56) nosnilmot: oh crap, does that spelling nonsense conflict with it? (21:40:22) nosnilmot: LSchiere: apparently the spelling police avoided doc/ , so that patch should still apply (21:40:29) KingAnt: :-) (21:40:31) LSchiere: nosnilmot: commit message? (21:40:44) KingAnt: "Dr. Love" (21:40:54) nosnilmot: "I never knew EvilDennisR did anything, now I do" (21:41:05) LSchiere: and the serious commit message? but apparently we aren't being serious tonight. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 21 Apr 2004 01:43:16 +0000
parents 3c49a619969f
children 8f838ae3e710
comparison
equal deleted inserted replaced
8735:92cbf9713795 8736:374477c0dd76
1 /** @page conversation-signals Conversation Signals 1 /** @page conversation-signals Conversation Signals
2 2
3 @signals 3 @signals
4 @signal writing-im-msg
5 @signal wrote-im-msg
4 @signal displaying-im-msg 6 @signal displaying-im-msg
5 @signal displayed-im-msg 7 @signal displayed-im-msg
6 @signal sending-im-msg 8 @signal sending-im-msg
7 @signal sent-im-msg 9 @signal sent-im-msg
8 @signal received-im-msg 10 @signal received-im-msg
11 @signal writing-chat-msg
12 @signal wrote-chat-msg
9 @signal displaying-chat-msg 13 @signal displaying-chat-msg
10 @signal displayed-chat-msg 14 @signal displayed-chat-msg
11 @signal sending-chat-msg 15 @signal sending-chat-msg
12 @signal sent-chat-msg 16 @signal sent-chat-msg
13 @signal received-chat-msg 17 @signal received-chat-msg
51 @endsignalproto 55 @endsignalproto
52 @signaldesc 56 @signaldesc
53 Emitted after a message is entered by the user, but before it is sent and displyed. 57 Emitted after a message is entered by the user, but before it is sent and displyed.
54 When sending an IM, the order that the im-msg callbacks will be called is: 58 When sending an IM, the order that the im-msg callbacks will be called is:
55 writing-im-msg, wrote-im-msg, displaying-im-msg, displayed-im-msg, sending-im-msg, 59 writing-im-msg, wrote-im-msg, displaying-im-msg, displayed-im-msg, sending-im-msg,
56 sending-im-msg, and finally sent-im-msg. 60 and finally sent-im-msg.
57 @param account The account the message was displayed on. 61 @param account The account the message was displayed on.
58 @param conv The conversation the message was displayed on. 62 @param conv The conversation the message was displayed on.
59 @param message The message that was displayed. 63 @param message The message that was displayed.
60 @endsignaldef 64 @endsignaldef
61 65
128 Make sure to free @a *sender and @a *message before you replace them! 132 Make sure to free @a *sender and @a *message before you replace them!
129 @return @c TRUE if the message should be canceled, or @c FALSE otherwise. 133 @return @c TRUE if the message should be canceled, or @c FALSE otherwise.
130 @param account The account the message was received on. 134 @param account The account the message was received on.
131 @param sender A pointer to the username of the sender. 135 @param sender A pointer to the username of the sender.
132 @param message A pointer to the message that was sent. 136 @param message A pointer to the message that was sent.
137 @param flags The message flags.
133 @endsignaldef 138 @endsignaldef
134 139
135 @signaldef writing-chat-msg 140 @signaldef writing-chat-msg
136 @signalproto 141 @signalproto
137 gboolean (*writing_chat_msg)(GaimAccount *account, GaimConversation *conv, char **message); 142 gboolean (*writing_chat_msg)(GaimAccount *account, GaimConversation *conv, char **message);
148 @param conv The conversation the message is being displayed and sent on. 153 @param conv The conversation the message is being displayed and sent on.
149 @param message A pointer to the message that will be displayed and sent. 154 @param message A pointer to the message that will be displayed and sent.
150 @return @c TRUE if the message should be canceled, or @c FALSE otherwise. 155 @return @c TRUE if the message should be canceled, or @c FALSE otherwise.
151 @endsignaldef 156 @endsignaldef
152 157
153 @signaldef wrote-im-msg 158 @signaldef wrote-chat-msg
154 @signalproto 159 @signalproto
155 void (*wrote_im_msg)(GaimAccount *account, GaimConversation *conv, const char *message); 160 void (*wrote_chat_msg)(GaimAccount *account, GaimConversation *conv, const char *message);
156 @endsignalproto 161 @endsignalproto
157 @signaldesc 162 @signaldesc
158 Emitted after a message is entered by the user, but before it is sent and displyed. 163 Emitted after a message is entered by the user, but before it is sent and displyed.
159 When sending an IM, the order that the im-msg callbacks will be called is: 164 When sending an IM, the order that the im-msg callbacks will be called is:
160 writing-im-msg, wrote-im-msg, displaying-im-msg, displayed-im-msg, sending-im-msg, 165 writing-im-msg, wrote-im-msg, displaying-im-msg, displayed-im-msg, sending-im-msg,
161 sending-im-msg, and finally sent-im-msg. 166 and finally sent-im-msg.
162 @param account The account the message was displayed on. 167 @param account The account the message was displayed on.
163 @param conv The conversation the message was displayed on. 168 @param conv The conversation the message was displayed on.
164 @param message The message that was displayed. 169 @param message The message that was displayed.
165 @endsignaldef 170 @endsignaldef
166 171