comparison src/conversation.h @ 8256:1d86096ae0f4

[gaim-migrate @ 8979] Tim Ringenbach says this shouldn't have gotten into 0.76, because 0.76 should have been release two weeks ago. He also doesn't have a good description, so I'll just say it fixed a bunch of idiot mistakes and ugly hacks on my part regarding the removing of users from the chat lists and parting chats/channels. Thanks Tim. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 14 Feb 2004 21:07:29 +0000
parents e283be34aadf
children dde73afb3283
comparison
equal deleted inserted replaced
8255:4de49af535b3 8256:1d86096ae0f4
84 */ 84 */
85 GAIM_CONV_ACCOUNT_ONLINE, /**< One of the user's accounts went online. */ 85 GAIM_CONV_ACCOUNT_ONLINE, /**< One of the user's accounts went online. */
86 GAIM_CONV_ACCOUNT_OFFLINE, /**< One of the user's accounts went offline. */ 86 GAIM_CONV_ACCOUNT_OFFLINE, /**< One of the user's accounts went offline. */
87 GAIM_CONV_UPDATE_AWAY, /**< The other user went away. */ 87 GAIM_CONV_UPDATE_AWAY, /**< The other user went away. */
88 GAIM_CONV_UPDATE_ICON, /**< The other user's buddy icon changed. */ 88 GAIM_CONV_UPDATE_ICON, /**< The other user's buddy icon changed. */
89 GAIM_CONV_UPDATE_TITLE 89 GAIM_CONV_UPDATE_TITLE,
90 GAIM_CONV_UPDATE_CHATLEFT
90 91
91 } GaimConvUpdateType; 92 } GaimConvUpdateType;
92 93
93 /** 94 /**
94 * The typing state of a user. 95 * The typing state of a user.
222 GList *ignored; /**< Ignored users. */ 223 GList *ignored; /**< Ignored users. */
223 char *who; /**< The person who set the topic. */ 224 char *who; /**< The person who set the topic. */
224 char *topic; /**< The topic. */ 225 char *topic; /**< The topic. */
225 int id; /**< The chat ID. */ 226 int id; /**< The chat ID. */
226 char *nick; /**< Your nick in this chat. */ 227 char *nick; /**< Your nick in this chat. */
228
229 gboolean left; /**< We left the chat and kept the window open */
227 }; 230 };
228 231
229 /** 232 /**
230 * A core representation of a conversation between two or more people. 233 * A core representation of a conversation between two or more people.
231 * 234 *
1204 * 1207 *
1205 * @return The chat conversation. 1208 * @return The chat conversation.
1206 */ 1209 */
1207 GaimConversation *gaim_find_chat(const GaimConnection *gc, int id); 1210 GaimConversation *gaim_find_chat(const GaimConnection *gc, int id);
1208 1211
1212 /**
1213 * Lets the core know we left a chat, without destroying it.
1214 * Called from serv_got_chat_left().
1215 *
1216 * @param chat The chat.
1217 */
1218 void gaim_conv_chat_left(GaimConvChat *chat);
1219
1220 /**
1221 * Returns true if we're no longer in this chat,
1222 * and just left the window open.
1223 *
1224 * @param chat The chat.
1225 *
1226 * @return @c TRUE if we left the chat already, @c FALSE if
1227 * we're still there.
1228 */
1229 gboolean gaim_conv_chat_has_left(GaimConvChat *chat);
1230
1209 /*@}*/ 1231 /*@}*/
1210 1232
1211 /**************************************************************************/ 1233 /**************************************************************************/
1212 /** @name Conversation Placement API */ 1234 /** @name Conversation Placement API */
1213 /**************************************************************************/ 1235 /**************************************************************************/