tracker-miner.xml 2.14 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
    <method name="Start">
      <annotation name="org.freedesktop.DBus.GLib.Async"  value="true"/>
    </method>
9 10 11 12 13 14 15 16
    <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>
17 18 19 20
    <method name="GetRemainingTime">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg type="i" name="remaining_time" direction="out" />
    </method>
21
    <method name="GetPauseDetails">
22
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
23 24
      <arg type="as" name="pause_applications" direction="out" />
      <arg type="as" name="pause_reasons" direction="out" />
25
    </method>
26
    <method name="Pause">
27
      <annotation name="org.freedesktop.DBus.GLib.Async"  value="true"/>
28 29 30
      <arg type="s" name="application" direction="in" />
      <arg type="s" name="reason" direction="in" />
      <arg type="i" name="cookie" direction="out" />
31
    </method>
32 33 34 35 36 37
    <method name="PauseForProcess">
      <annotation name="org.freedesktop.DBus.GLib.Async"  value="true"/>
      <arg type="s" name="application" direction="in" />
      <arg type="s" name="reason" direction="in" />
      <arg type="i" name="cookie" direction="out" />
    </method>
38
    <method name="Resume">
39
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
40
      <arg type="i" name="cookie" direction="in" />
41
    </method>
Martyn Russell's avatar
Martyn Russell committed
42 43 44 45 46 47

    <!-- Signals -->
    <signal name="Started" />
    <signal name="Stopped">
      <arg type="b" name="interrupted" />
    </signal>
48
    <signal name="Paused" />
Martyn Russell's avatar
Martyn Russell committed
49 50 51 52
    <signal name="Resumed" />
    <signal name="Progress">
      <arg type="s" name="status" />
      <arg type="d" name="progress" />
53
      <arg type="i" name="remaining_time" />
Martyn Russell's avatar
Martyn Russell committed
54
    </signal>
55 56
  </interface>
</node>