comparison libpurple/conversation.h @ 17752:9c4bd2458677

merge of '3a7f04e7907df7b5f5c519fa276ec6429d2ab9b5' and 'f8d668cdc8af86a6e2020c1a2accb9a0aec396f1'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 25 May 2007 00:15:33 +0000
parents c9a046a7f326
children 6b7b13adb9b1
comparison
equal deleted inserted replaced
17237:1c62deca5958 17752:9c4bd2458677
1188 * 1188 *
1189 * @param cb The chat buddy to destroy 1189 * @param cb The chat buddy to destroy
1190 */ 1190 */
1191 void purple_conv_chat_cb_destroy(PurpleConvChatBuddy *cb); 1191 void purple_conv_chat_cb_destroy(PurpleConvChatBuddy *cb);
1192 1192
1193 /**
1194 * Retrieves the extended menu items for the conversation.
1195 *
1196 * @param conv The conversation.
1197 *
1198 * @return A list of PurpleMenuAction items, harvested by the
1199 * chat-extended-menu signal. The list and the menuaction
1200 * items should be freed by the caller.
1201 */
1202 GList * purple_conversation_get_extended_menu(PurpleConversation *conv);
1203
1204 /**
1205 * Perform a command in a conversation. Similar to @see purple_cmd_do_command
1206 *
1207 * @param conv The conversation.
1208 * @param cmdline The entire command including the arguments.
1209 * @param markup @c NULL, or the formatted command line.
1210 * @param error If the command failed errormsg is filled in with the appropriate error
1211 * message, if not @c NULL. It must be freed by the caller with g_free().
1212 *
1213 * @return @c TRUE if the command was executed successfully, @c FALSE otherwise.
1214 */
1215 gboolean purple_conversation_do_command(PurpleConversation *conv, const gchar *cmdline, const gchar *markup, gchar **error);
1216
1193 /*@}*/ 1217 /*@}*/
1194 1218
1195 /**************************************************************************/ 1219 /**************************************************************************/
1196 /** @name Conversations Subsystem */ 1220 /** @name Conversations Subsystem */
1197 /**************************************************************************/ 1221 /**************************************************************************/