diff 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
line wrap: on
line diff
--- a/src/conversation.h	Thu Dec 22 16:06:41 2005 +0000
+++ b/src/conversation.h	Thu Dec 22 17:16:57 2005 +0000
@@ -160,6 +160,7 @@
 	void (*chat_remove_users)(GaimConversation *conv, GList *users);
 	void (*chat_update_user)(GaimConversation *conv, const char *user);
 
+	void (*present)(GaimConversation *conv);
 
 	gboolean (*has_focus)(GaimConversation *conv);
 
@@ -287,6 +288,15 @@
  */
 void gaim_conversation_destroy(GaimConversation *conv);
 
+
+/**
+ * Present a conversation to the user. This allows core code to initiate a
+ * conversation by displaying the IM dialog.
+ * @param conv The conversation to present
+ */
+void gaim_conversation_present(GaimConversation *conv);
+
+
 /**
  * Returns the specified conversation's type.
  *