# HG changeset patch # User Ankit Vani # Date 1371921425 -19800 # Node ID ec739e43a71c7f47870d000c09312566b0ba62f3 # Parent 255148c286ab4468a48251890b9a6f40b624af98 Added purple_conversation_* functions to API to redirect to virtual methods diff -r 255148c286ab -r ec739e43a71c libpurple/conversation.h --- a/libpurple/conversation.h Sat Jun 22 22:41:25 2013 +0530 +++ b/libpurple/conversation.h Sat Jun 22 22:47:05 2013 +0530 @@ -136,22 +136,10 @@ const char *message, PurpleConversationMessageFlags flags, time_t mtime); - /** TODO pure virtual - * Sends a message to this conversation. - * - * @param conv The conversation. - * @param message The message to send. - */ + /** @copydoc purple_conversation_send() TODO */ void (*send)(PurpleConversation *conv, const char *message); - /** TODO pure virtual - * Sends a message to this conversation with specified flags. - * - * @param conv The conversation. - * @param message The message to send. - * @param flags The PurpleConversationMessageFlags flags to use in addition to - * PURPLE_CONVERSATION_MESSAGE_SEND. - */ + /** @copydoc purple_conversation_send_with_flags() TODO */ void (*send_with_flags)(PurpleConversation *conv, const char *message, PurpleConversationMessageFlags flags); @@ -464,6 +452,27 @@ const char *message, PurpleConversationMessageFlags flags, time_t mtime); +/** TODO pure virtual + * Sends a message to this conversation. + * + * @param conv The conversation. + * @param message The message to send. + */ +/** @copydoc purple_conversation_send() TODO */ +void purple_conversation_send(PurpleConversation *conv, const char *message); + +/** TODO pure virtual + * Sends a message to this conversation with specified flags. + * + * @param conv The conversation. + * @param message The message to send. + * @param flags The PurpleConversationMessageFlags flags to use in addition to + * PURPLE_CONVERSATION_MESSAGE_SEND. + */ +/** @copydoc purple_conversation_send_with_flags() TODO */ +void purple_conversation_send_with_flags(PurpleConversation *conv, + const char *message, PurpleConversationMessageFlags flags); + /** Set the features as supported for the given conversation. @param conv The conversation