Added purple_conversation_* functions to API to redirect to virtual methods soc.2013.gobjectification

Sat, 22 Jun 2013 22:47:05 +0530

author
Ankit Vani <a@nevitus.org>
date
Sat, 22 Jun 2013 22:47:05 +0530
branch
soc.2013.gobjectification
changeset 34612
ec739e43a71c
parent 34611
255148c286ab
child 34613
59e3b109ab38

Added purple_conversation_* functions to API to redirect to virtual methods

libpurple/conversation.h file | annotate | diff | comparison | revisions
--- 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

mercurial