soc.2010.detachablepurple: f479234c: Prepared the handling of PurpleAccountUi...
gillux at soc.pidgin.im
gillux at soc.pidgin.im
Thu Jul 29 02:01:53 EDT 2010
----------------------------------------------------------------------
Revision: f479234c8d87be5449e4cc788d696fb329cca3f8
Parent: 7656e6ded1545e8d36087f6f8bc1da9fcf67fab9
Author: gillux at soc.pidgin.im
Date: 07/28/10 22:24:03
Branch: im.pidgin.soc.2010.detachablepurple
URL: http://d.pidgin.im/viewmtn/revision/info/f479234c8d87be5449e4cc788d696fb329cca3f8
Changelog:
Prepared the handling of PurpleAccountUiOps callbacks on the daemon side.
Changes against parent 7656e6ded1545e8d36087f6f8bc1da9fcf67fab9
added purpled/purpled-account.c
added purpled/purpled-account.h
patched purpled/Makefile.am
-------------- next part --------------
============================================================
--- purpled/Makefile.am 81efcb3c2db532d384606abcb13eb56ed6e68610
+++ purpled/Makefile.am f034626f8db2c1b7005adc8d70fbfae7b30789f5
@@ -10,10 +10,10 @@ purpled_SOURCES = \
bin_PROGRAMS = purpled
purpled_SOURCES = \
- purpled.c
+ purpled.c purpled-account.c
purpled_headers = \
- purpled.h
+ purpled.h purpled-account.h
purpled_LDFLAGS =
purpled_LDADD = \
============================================================
--- /dev/null
+++ purpled/purpled-account.c 4bc8492fb6f45f7da8786ba54c5248ce7db35a8a
@@ -0,0 +1,43 @@
+/*
+ * Purpled 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 "internal.h"
+#include "account.h"
+#include "purpled-account.h"
+
+static PurpleAccountUiOps purpled_account_ui_ops =
+{
+ NULL, /* notify_added */
+ NULL, /* status_changed */
+ NULL, /* request_add */
+ NULL, /* request_authorize */
+ NULL, /* close_account_request */
+ NULL, /* _purple_reserved1 */
+ NULL, /* _purple_reserved2 */
+ NULL, /* _purple_reserved3 */
+ NULL /* _purple_reserved4 */
+};
+
+void
+purpled_accounts_init(void)
+{
+ purple_accounts_set_ui_ops(&purpled_account_ui_ops);
+}
============================================================
--- /dev/null
+++ purpled/purpled-account.h 71a13e57b3c8314b546707715ba6e58aea490403
@@ -0,0 +1,22 @@
+/*
+ * Purpled 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
+ *
+ */
+
+void purpled_accounts_init(void);
More information about the Commits
mailing list