comparison src/conversation.h @ 12624:851b0bd7eb52

[gaim-migrate @ 14960] busy busy busy... * fixed some unused variable warnings in a few places * fixed memleak in the searchresults notify * added more button types to the searchresults notify (IM, Info, Invite, Join, and arbitrary labels) * added a conversation ui op to present a conversation, since there appears to be no way to actually initiate an IM without breaking the core/ui split. gaim_conversation_present now ends up calling gaim_gtkconv_present_conversation * changed sametime prpl to use the searchresults notify instead of the requests API for its "ambiguous user" dialog * it should be possible to use the searchresults notify for room listing, if anyone is thusly interested committer: Tailor Script <tailor@pidgin.im>
author Christopher O'Brien <siege@pidgin.im>
date Thu, 22 Dec 2005 17:16:57 +0000
parents 204bd8fac61f
children eda1572c788b
comparison
equal deleted inserted replaced
12623:70f18c73da9d 12624:851b0bd7eb52
158 const char *new_name, const char *new_alias); 158 const char *new_name, const char *new_alias);
159 void (*chat_remove_user)(GaimConversation *conv, const char *user); 159 void (*chat_remove_user)(GaimConversation *conv, const char *user);
160 void (*chat_remove_users)(GaimConversation *conv, GList *users); 160 void (*chat_remove_users)(GaimConversation *conv, GList *users);
161 void (*chat_update_user)(GaimConversation *conv, const char *user); 161 void (*chat_update_user)(GaimConversation *conv, const char *user);
162 162
163 void (*present)(GaimConversation *conv);
163 164
164 gboolean (*has_focus)(GaimConversation *conv); 165 gboolean (*has_focus)(GaimConversation *conv);
165 166
166 /* Custom Smileys */ 167 /* Custom Smileys */
167 gboolean (*custom_smiley_add)(GaimConversation *conv, const char *smile, gboolean remote); 168 gboolean (*custom_smiley_add)(GaimConversation *conv, const char *smile, gboolean remote);
284 * that window is also destroyed. 285 * that window is also destroyed.
285 * 286 *
286 * @param conv The conversation to destroy. 287 * @param conv The conversation to destroy.
287 */ 288 */
288 void gaim_conversation_destroy(GaimConversation *conv); 289 void gaim_conversation_destroy(GaimConversation *conv);
290
291
292 /**
293 * Present a conversation to the user. This allows core code to initiate a
294 * conversation by displaying the IM dialog.
295 * @param conv The conversation to present
296 */
297 void gaim_conversation_present(GaimConversation *conv);
298
289 299
290 /** 300 /**
291 * Returns the specified conversation's type. 301 * Returns the specified conversation's type.
292 * 302 *
293 * @param conv The conversation. 303 * @param conv The conversation.