tracker-miner.xml 1.97 KB
Newer Older
1 2 3
<?xml version="1.0" encoding="UTF-8"?>

<node name="/">
4
  <interface name="org.freedesktop.Tracker1.Miner">
5
    <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="tracker_miner_dbus"/>
6 7 8 9
    <method name="GetName">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg type="s" name="name" direction="out" />
    </method>
10 11 12 13
    <method name="GetDescription">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg type="s" name="description" direction="out" />
    </method>
14 15 16 17 18 19 20 21
    <method name="GetStatus">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg type="s" name="status" direction="out" />
    </method>
    <method name="GetProgress">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg type="d" name="progress" direction="out" />
    </method>
22
    <method name="GetPauseDetails">
23
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
24 25
      <arg type="as" name="pause_applications" direction="out" />
      <arg type="as" name="pause_reasons" direction="out" />
26
    </method>
27
    <method name="Pause">
28
      <annotation name="org.freedesktop.DBus.GLib.Async"  value="true"/>
Martyn Russell's avatar
Martyn Russell committed
29 30 31
      <arg type="s" name="application" direction="in" />
      <arg type="s" name="reason" direction="in" />
      <arg type="i" name="cookie" direction="out" />
32
    </method>
33
    <method name="Resume">
34
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
Martyn Russell's avatar
Martyn Russell committed
35
      <arg type="i" name="cookie" direction="in" />
36
    </method>
Martyn Russell's avatar
Martyn Russell committed
37 38 39 40 41 42

    <!-- Signals -->
    <signal name="Started" />
    <signal name="Stopped">
      <arg type="b" name="interrupted" />
    </signal>
43
    <signal name="Paused" />
Martyn Russell's avatar
Martyn Russell committed
44 45 46 47 48
    <signal name="Resumed" />
    <signal name="Progress">
      <arg type="s" name="status" />
      <arg type="d" name="progress" />
    </signal>
49
    <signal name="Error">
Martyn Russell's avatar
Martyn Russell committed
50
      <arg type="i" name="code"/>
51 52
      <arg type="s" name="reason"/>
    </signal>
53 54
  </interface>
</node>