summaryrefslogtreecommitdiff
path: root/service/ca.desrt.dconf.xml
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2012-10-23 10:11:08 +0200
committerRyan Lortie <desrt@desrt.ca>2012-10-23 10:19:32 +0200
commit324df561617b777848b149416f0f6c0c3801b2d8 (patch)
treecf03127a19de5ace0f6d0976975bbe055455a36f /service/ca.desrt.dconf.xml
parent004f135e50164dc409bd6de74bc9ee3fe61da3e9 (diff)
downloaddconf-324df561617b777848b149416f0f6c0c3801b2d8.tar.gz
service: rewrite
Rewrite the dconf-service using gdbus-codegen and generally cleaning things up a lot. The DConfWriter class can now be reasonably subclassed to create more complex types of dconf databases (such as ones that are stored in the local runtime dir and synced up with an NFS home directory). Keep a cache of the keys in the database (instead of re-reading it every time we try to make a change). Drop support for the old D-Bus interface (now that we are two stable releases since it was used). Modify the commandline tool for 'dconf blame' to call the new interface.
Diffstat (limited to 'service/ca.desrt.dconf.xml')
-rw-r--r--service/ca.desrt.dconf.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/service/ca.desrt.dconf.xml b/service/ca.desrt.dconf.xml
new file mode 100644
index 0000000..3273d5d
--- /dev/null
+++ b/service/ca.desrt.dconf.xml
@@ -0,0 +1,23 @@
+<node>
+ <interface name='ca.desrt.dconf.Writer'>
+ <method name='Init'/>
+ <method name='Change'>
+ <arg name='blob' direction='in' type='ay'>
+ <annotation name='org.gtk.GDBus.C.ForceGVariant' value='1'/>
+ </arg>
+ <arg name='tag' direction='out' type='s'/>
+ </method>
+ <signal name='Notify'>
+ <annotation name='org.gtk.GDBus.C.Name' value='NotifySignal'/>
+ <arg name='prefix' direction='out' type='s'/>
+ <arg name='changes' direction='out' type='as'/>
+ <arg name='tag' direction='out' type='s'/>
+ </signal>
+ </interface>
+
+ <interface name='ca.desrt.dconf.ServiceInfo'>
+ <method name='Blame'>
+ <arg name='blame' direction='out' type='s'/>
+ </method>
+ </interface>
+</node>