summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--metadata/dbus-interface.xml57
2 files changed, 58 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index c174077e..0a044dde 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,3 +39,4 @@ gtk-doc.make
*.gschema.valid
*.enums.xml
monitor/proxy/gvfsvolumemonitordbus.*
+metadata/metadata-dbus.*
diff --git a/metadata/dbus-interface.xml b/metadata/dbus-interface.xml
new file mode 100644
index 00000000..f4d8af83
--- /dev/null
+++ b/metadata/dbus-interface.xml
@@ -0,0 +1,57 @@
+<!DOCTYPE node PUBLIC
+"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+
+<!--
+ Copyright (C) 2011 Red Hat, Inc.
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General
+ Public License along with this library; if not, write to the
+ Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ Boston, MA 02111-1307, USA.
+
+ Author: Tomas Bzatek <tbzatek@redhat.com>
+-->
+
+<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
+ <interface name='org.gtk.vfs.Metadata'>
+
+ <method name="Set">
+ <arg type='ay' name='treefile' direction='in'/>
+ <arg type='ay' name='path' direction='in'/>
+ <arg type='a{sv}' name='data' direction='in'/>
+ </method>
+ <method name="Unset">
+ <arg type='ay' name='treefile' direction='in'/>
+ <arg type='ay' name='path' direction='in'/>
+ <arg type='s' name='key' direction='in'/>
+ </method>
+ <method name="Get">
+ <arg type='ay' name='treefile' direction='in'/>
+ <arg type='ay' name='path' direction='in'/>
+ <arg type='as' name='keys' direction='in'/>
+ <arg type='a{sv}' name='data' direction='out'/>
+ </method>
+ <method name="Remove">
+ <arg type='ay' name='treefile' direction='in'/>
+ <arg type='ay' name='path' direction='in'/>
+ </method>
+ <method name="Move">
+ <arg type='ay' name='treefile' direction='in'/>
+ <arg type='ay' name='path' direction='in'/>
+ <arg type='ay' name='dest_path' direction='in'/>
+ </method>
+
+ </interface>
+</node>
+