/soc/2013/ankitkv/gobjectification: 9734ddc618a7: Prepared files...

Ankit Vani a at nevitus.org
Thu Jun 20 15:07:55 EDT 2013


Changeset: 9734ddc618a7d4df41221dc3807dac2d568dea58
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-06-21 00:36 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/9734ddc618a7

Description:

Prepared files for GObjectification of PurpleConversation

diffstat:

 libpurple/Makefile.am     |   6 ++++--
 libpurple/conversation.h  |   1 -
 libpurple/conversations.c |  22 ++++++++++++++++++++++
 libpurple/conversations.h |  36 ++++++++++++++++++++++++++++++++++++
 4 files changed, 62 insertions(+), 3 deletions(-)

diffs (109 lines):

diff --git a/libpurple/Makefile.am b/libpurple/Makefile.am
--- a/libpurple/Makefile.am
+++ b/libpurple/Makefile.am
@@ -48,6 +48,7 @@ purple_coresources = \
 	cmds.c \
 	connection.c \
 	conversation.c \
+	conversations.c \
 	core.c \
 	debug.c \
 	desktopitem.c \
@@ -118,6 +119,7 @@ purple_coreheaders = \
 	cmds.h \
 	connection.h \
 	conversation.h \
+	conversations.h \
 	core.h \
 	dbus-maybe.h \
 	debug.h \
@@ -203,8 +205,8 @@ CLEANFILES = \
 dbus_sources  = dbus-server.c dbus-useful.c
 dbus_headers  = dbus-bindings.h dbus-purple.h dbus-server.h dbus-useful.h dbus-define-api.h dbus-types.h
 
-dbus_exported = dbus-useful.h dbus-define-api.h account.h accounts.h blist.h buddyicon.h \
-                connection.h conversation.h core.h ft.h log.h notify.h prefs.h roomlist.h \
+dbus_exported = dbus-useful.h dbus-define-api.h accounts.h blist.h buddyicon.h \
+                connection.h conversations.h core.h ft.h log.h notify.h prefs.h roomlist.h \
                 savedstatuses.h smiley.h status.h server.h util.h xmlnode.h prpl.h
 
 purple_build_coreheaders = $(addprefix $(srcdir)/, $(purple_coreheaders)) \
diff --git a/libpurple/conversation.h b/libpurple/conversation.h
--- a/libpurple/conversation.h
+++ b/libpurple/conversation.h
@@ -1,7 +1,6 @@
 /**
  * @file conversation.h Conversation API
  * @ingroup core
- * @see @ref conversation-signals
  */
 
 /* purple
diff --git a/libpurple/conversations.c b/libpurple/conversations.c
new file mode 100644
--- /dev/null
+++ b/libpurple/conversations.c
@@ -0,0 +1,22 @@
+/*
+ * purple
+ *
+ * Purple is the legal property of its developers, whose names are too numerous
+ * to list here.  Please refer to the COPYRIGHT file distributed with this
+ * source distribution.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
+ */
+#include "conversations.h"
diff --git a/libpurple/conversations.h b/libpurple/conversations.h
new file mode 100644
--- /dev/null
+++ b/libpurple/conversations.h
@@ -0,0 +1,36 @@
+/**
+ * @file conversations.h Conversations API
+ * @ingroup core
+ * @see @ref conversation-signals
+ */
+
+/* purple
+ *
+ * Purple is the legal property of its developers, whose names are too numerous
+ * to list here.  Please refer to the COPYRIGHT file distributed with this
+ * source distribution.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
+ */
+#ifndef _PURPLE_CONVERSATIONS_H_
+#define _PURPLE_CONVERSATIONS_H_
+
+#include <glib.h>
+
+G_BEGIN_DECLS
+
+G_END_DECLS
+
+#endif /* _PURPLE_CONVERSATIONS_H_ */



More information about the Commits mailing list