summaryrefslogtreecommitdiff
path: root/src/xfdesktop-dbus-bindings-filemanager.xml
blob: b76fa743069106748030b63a1f6f8351dca43bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?xml version="1.0" encoding="UTF-8"?>

<!--
   $Id: thunar-dbus-service-infos.xml 22583 2006-07-30 22:49:35Z benny $
   
   Copyright (c) 2006 Benedikt Meurer <benny@xfce.org>
  
   This program is free software; you can redistribute it and/or modify it
   under the terms of the GNU General Public License as published by the Free
   Software Foundation; either version 2 of the License, or (at your option)
   any later version.
  
   This program 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 General Public License for
   more details.
  
   You should have received a copy of the GNU General Public License along with
   this program; if not, write to the Free Software Foundation, Inc., 59 Temple
   Place, Suite 330, Boston, MA  02111-1307  USA
-->

<!--
   NB: modified by Brian Tarricone <bjt23@cornell.edu> to remove methods
   that xfdesktop does not use.  This means that this file does not
   necessarily define the full org.xfce.FileManager interface and should
   not be used as a reference for implementation.
-->

<node name="/org/xfce/FileManager">
  <!--
    org.xfce.FileManager

    The generic Xfce File Manager interface, implemented by all Xfce
    File Managers.
  -->
  <interface name="org.xfce.FileManager">
    <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="thunar_dbus_service" />

    <!--
      DisplayChooserDialog (uri : STRING, open : BOOLEAN, display : STRING) : VOID

      uri     : either a file:-URI or an absolute path.
      open    : TRUE to let the user open the file identified by the
                uri after choosing an application, FALSE to only update
                the mime database.
      display : the screen on which to display the chooser dialog or
                "" to use the default screen of the file manager.

      Displays the chooser dialog, which lets the user select an application
      to handle the file identified by the uri (and all other files of the
      same mime type). If open is TRUE the user will also be able to open
      the file after choosing an application.
    -->
    <method name="DisplayChooserDialog">
      <arg direction="in" name="uri" type="s" />
      <arg direction="in" name="open" type="b" />
      <arg direction="in" name="display" type="s" />
    </method>


    <!--
      DisplayFolder (uri : STRING, display : STRING) : VOID

      uri     : either a file:-URI or an absolute path.
      display : the screen on which to display the folder or ""
                to use the default screen of the file manager.
    -->
    <method name="DisplayFolder">
      <arg direction="in" name="uri" type="s" />
      <arg direction="in" name="display" type="s" />
    </method>


    <!--
      DisplayFileProperties (uri : STRING, display : STRING) : VOID

      uri     : either a file:-URI or an absolute path.
      display : the screen on which to display the file properties
                or "" to use the default screen of the file manager.
    -->
    <method name="DisplayFileProperties">
      <arg direction="in" name="uri" type="s" />
      <arg direction="in" name="display" type="s" />
    </method>


    <!--
      Launch (uri : STRING, display : STRING) : VOID

      uri     : either a file:-URI or an absolute path.
      display : the screen on which to launch the file or ""
                to use the default screen of the file manager.
    -->
    <method name="Launch">
      <arg direction="in" name="uri" type="s" />
      <arg direction="in" name="display" type="s" />
    </method>
  </interface>
</node>