[gvfs/gdbus: 16/17] gdbus: Publish metadata d-bus interface instrospection file



commit 39ccec23fc297257d8ae871af419fb8e893d2133
Author: Tomas Bzatek <tbzatek redhat com>
Date:   Mon Jun 13 16:07:01 2011 +0200

    gdbus: Publish metadata d-bus interface instrospection file
    
    And ignore autogenerated related source files.

 .gitignore                  |    1 +
 metadata/dbus-interface.xml |   57 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c174077..0a044dd 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 0000000..f4d8af8
--- /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>
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]