diff options
author | Tomas Bzatek <tbzatek@redhat.com> | 2011-06-13 16:07:01 +0200 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2012-05-21 15:50:27 +0200 |
commit | d3bf156d7564afcacd3daafb070fc8387e2873ce (patch) | |
tree | 4bb8b5d83a7f010d456b01f89c5992295cb79660 | |
parent | 22859c3caec11cfd4472701b138b5fa4c985c5fb (diff) | |
download | gvfs-d3bf156d7564afcacd3daafb070fc8387e2873ce.tar.gz |
gdbus: Publish metadata d-bus interface instrospection file
And ignore autogenerated related source files.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | metadata/dbus-interface.xml | 57 |
2 files changed, 58 insertions, 0 deletions
@@ -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> + |