/soc/2013/ankitkv/gobjectification: 1604c574cdc9: Added write_me...

Ankit Vani a at nevitus.org
Sat Jun 22 17:43:16 EDT 2013


Changeset: 1604c574cdc936a80dcc43e851c49477ceb5ced2
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-06-23 03:13 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/1604c574cdc9

Description:

Added write_message and send_message to Conversation.xs

diffstat:

 libpurple/conversation.h                      |   2 +-
 libpurple/plugins/perl/common/Conversation.xs |  10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (37 lines):

diff --git a/libpurple/conversation.h b/libpurple/conversation.h
--- a/libpurple/conversation.h
+++ b/libpurple/conversation.h
@@ -153,7 +153,7 @@ struct _PurpleConversationClass {
 /**************************************************************************/
 /** PurpleConversationUiOps                                               */
 /**************************************************************************/
-/** TODO decide if this is to be split up
+/**
  * Conversation operations and events.
  *
  * Any UI representing a conversation must assign a filled-out
diff --git a/libpurple/plugins/perl/common/Conversation.xs b/libpurple/plugins/perl/common/Conversation.xs
--- a/libpurple/plugins/perl/common/Conversation.xs
+++ b/libpurple/plugins/perl/common/Conversation.xs
@@ -197,12 +197,20 @@ purple_conversation_write(conv, who, mes
 	time_t mtime
 
 void
+purple_conversation_write_message(conv, who, message, flags, mtime)
+	Purple::Conversation conv
+	const char *who
+	const char *message
+	Purple::Conversation::MessageFlags flags
+	time_t mtime
+
+void
 purple_conversation_send(conv, message)
 	Purple::Conversation conv
 	const char *message
 
 void
-purple_conversation_send_with_flags(conv, message, flags)
+purple_conversation_send_message(conv, message, flags)
 	Purple::Conversation conv
 	const char *message
 	Purple::Conversation::MessageFlags flags



More information about the Commits mailing list