soc.2010.detachablepurple: 684f1837: Added the xml dbus code that is used to ...
gillux at soc.pidgin.im
gillux at soc.pidgin.im
Tue Jul 6 17:01:10 EDT 2010
----------------------------------------------------------------------
Revision: 684f1837e36804ab5e2b4cc97237e42b68dac246
Parent: 38f0e9cc124e845107df921f74d8748be7be5079
Author: gillux at soc.pidgin.im
Date: 07/06/10 14:16:50
Branch: im.pidgin.soc.2010.detachablepurple
URL: http://d.pidgin.im/viewmtn/revision/info/684f1837e36804ab5e2b4cc97237e42b68dac246
Changelog:
Added the xml dbus code that is used to generate the
dbus-constructor-{client,server}.h files. And dbus-constructor.c in Makefile.am,
so that it's compiled.
Changes against parent 38f0e9cc124e845107df921f74d8748be7be5079
added libpurple/dbus-prototypes/constructor.xml
patched libpurple/Makefile.am
-------------- next part --------------
============================================================
--- libpurple/Makefile.am 7cc991e06c754b5b0f7a724aac310297b7ed0863
+++ libpurple/Makefile.am b3a98d556de1b0acbbcb19a9f2cca08b8202460a
@@ -205,7 +205,8 @@ purple_builtheaders = \
purple_builtheaders = \
purple.h version.h marshallers.h \
- dbus-account-server.h dbus-account-client.h
+ dbus-account-server.h dbus-account-client.h \
+ dbus-constructor-server.h dbus-constructor-client.h
marshallers.h: marshallers.list
@echo "Generating marshallers.h"
@@ -221,6 +222,12 @@ if ENABLE_DBUS
if ENABLE_DBUS
+dbus-constructor-server.h: dbus-prototypes/constructor.xml
+ dbus-binding-tool --prefix=DBUS_purple_constructor --mode=glib-server --output=$@ $<
+
+dbus-constructor-client.h: dbus-prototypes/constructor.xml
+ dbus-binding-tool --prefix=DBUS_purple_constructor --mode=glib-client --output=$@ $<
+
dbus-account-server.h: dbus-prototypes/account.xml
dbus-binding-tool --prefix=DBUS_purple_account --mode=glib-server --output=$@ $<
@@ -243,9 +250,9 @@ dbus_sources = dbus-server.c dbus-usefu
# purple dbus server
dbus_sources = dbus-server.c dbus-useful.c \
- account-dbus.c
+ dbus-constructor.c account-dbus.c
dbus_headers = dbus-bindings.h dbus-purple.h dbus-server.h dbus-useful.h dbus-define-api.h dbus-types.h \
- account-dbus.h
+ dbus-constructor.c account-dbus.h
dbus_exported = dbus-useful.h dbus-define-api.h account.h blist.h buddyicon.h \
connection.h conversation.h core.h ft.h log.h notify.h prefs.h roomlist.h \
============================================================
--- /dev/null
+++ libpurple/dbus-prototypes/constructor.xml 0bf4b150a76e65b7a96d7bfbf741931a18ae2b05
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<node name="/im/pidgin/purple/constructor">
+ <interface name="im.pidgin.purple.constructor">
+ <method name="NewAccount">
+ <arg type="o" name="account" direction="out" />
+ <arg type="s" name="username" direction="in" />
+ <arg type="s" name="protocol_id" direction="in" />
+ </method>
+ </interface>
+</node>
More information about the Commits
mailing list