comparison libpurple/conversation.h @ 18043:6b7b13adb9b1

propagate from branch 'im.pidgin.pidgin' (head ac83216c7b78e652b47f1fd0bcb91f1eaf2cdf36) to branch 'im.pidgin.pidgin.2.1.0' (head 30a48520e9bc26b0d3914edad456b063cd6cf9fe)
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 04 Jun 2007 23:48:54 +0000
parents 7790021b1270 c9a046a7f326
children 4ca97b26a8fb
comparison
equal deleted inserted replaced
18036:ee9f7ee0be66 18043:6b7b13adb9b1
1190 * 1190 *
1191 * @param cb The chat buddy to destroy 1191 * @param cb The chat buddy to destroy
1192 */ 1192 */
1193 void purple_conv_chat_cb_destroy(PurpleConvChatBuddy *cb); 1193 void purple_conv_chat_cb_destroy(PurpleConvChatBuddy *cb);
1194 1194
1195 /**
1196 * Retrieves the extended menu items for the conversation.
1197 *
1198 * @param conv The conversation.
1199 *
1200 * @return A list of PurpleMenuAction items, harvested by the
1201 * chat-extended-menu signal. The list and the menuaction
1202 * items should be freed by the caller.
1203 */
1204 GList * purple_conversation_get_extended_menu(PurpleConversation *conv);
1205
1206 /**
1207 * Perform a command in a conversation. Similar to @see purple_cmd_do_command
1208 *
1209 * @param conv The conversation.
1210 * @param cmdline The entire command including the arguments.
1211 * @param markup @c NULL, or the formatted command line.
1212 * @param error If the command failed errormsg is filled in with the appropriate error
1213 * message, if not @c NULL. It must be freed by the caller with g_free().
1214 *
1215 * @return @c TRUE if the command was executed successfully, @c FALSE otherwise.
1216 */
1217 gboolean purple_conversation_do_command(PurpleConversation *conv, const gchar *cmdline, const gchar *markup, gchar **error);
1218
1195 /*@}*/ 1219 /*@}*/
1196 1220
1197 /**************************************************************************/ 1221 /**************************************************************************/
1198 /** @name Conversations Subsystem */ 1222 /** @name Conversations Subsystem */
1199 /**************************************************************************/ 1223 /**************************************************************************/