diff options
author | Akshay Gupta <kitallis@gmail.com> | 2011-12-06 12:49:29 -0600 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2011-12-06 17:47:36 -0600 |
commit | a3c387089e3bb9eaafe8b033bd334d151ccebe06 (patch) | |
tree | 4d61f8efa3fc5fd755c4d33ea697a8d42797ed7b /data | |
parent | 40be4b85f51fc7b192ef7421b2ede27954997cc8 (diff) | |
download | nautilus-a3c387089e3bb9eaafe8b033bd334d151ccebe06.tar.gz |
Add declaration for the org.freedesktop.FileManager1 DBus interface
This is not in dbus-interfaces.xml as that one has a different
namespace (org.gnome.Nautilus), and that makes the generated
code from gdbus-codegen really ugly. By keeping a separate
file for this interface, we can get pretty generated code.
Diffstat (limited to 'data')
-rw-r--r-- | data/freedesktop-dbus-interfaces.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/data/freedesktop-dbus-interfaces.xml b/data/freedesktop-dbus-interfaces.xml new file mode 100644 index 000000000..28e1d0e46 --- /dev/null +++ b/data/freedesktop-dbus-interfaces.xml @@ -0,0 +1,36 @@ +<!DOCTYPE node PUBLIC +"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" +"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> + +<!-- + 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. +--> +<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> + <interface name='org.freedesktop.FileManager1'> + <method name='ShowFolders'> + <arg type='as' name='URIs' direction='in'/> + <arg type='s' name='StartupId' direction='in'/> + </method> + <method name='ShowItems'> + <arg type='as' name='URIs' direction='in'/> + <arg type='s' name='StartupId' direction='in'/> + </method> + <method name='ShowItemProperties'> + <arg type='as' name='URIs' direction='in'/> + <arg type='s' name='StartupId' direction='in'/> + </method> + </interface> +</node> |