diff libpurple/conversation.h @ 17220:da2bab3b9fab

New api function purple_conversation_get_extended_menu. New signal "conversation-extended-menu".
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 22 May 2007 03:28:12 +0000
parents 516f14bef90e
children c9a046a7f326
line wrap: on
line diff
--- a/libpurple/conversation.h	Mon May 21 14:42:45 2007 +0000
+++ b/libpurple/conversation.h	Tue May 22 03:28:12 2007 +0000
@@ -1190,6 +1190,17 @@
  */
 void purple_conv_chat_cb_destroy(PurpleConvChatBuddy *cb);
 
+/**
+ * Retrieves the extended menu items for the conversation.
+ *
+ * @param conv The conversation.
+ * 
+ * @return  A list of PurpleMenuAction items, harvested by the
+ *          chat-extended-menu signal. The list and the menuaction
+ *          items should be freed by the caller.
+ */
+GList * purple_conversation_get_extended_menu(PurpleConversation *conv);
+
 /*@}*/
 
 /**************************************************************************/