<?xml version="1.0" encoding="UTF-8"?>

<!--
<busconfig>
    <policy context="default">
      <deny send_interface="org.freedesktop.Tracker.Indexer"/>
      <allow send_destination="org.freedesktop.Tracker"/>
    </policy>
</busconfig>
-->

<node name="/">
  <interface name="org.freedesktop.Tracker.Indexer">  
    <method name="FilesCheck">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg type="s" name="module" direction="in" />
      <arg type="as" name="files" direction="in" />
    </method>
    <method name="FilesUpdate">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg type="s" name="module" direction="in" />
      <arg type="as" name="files" direction="in" />
    </method>
    <method name="FilesDelete">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg type="s" name="module" direction="in" />
      <arg type="as" name="files" direction="in" />
    </method>
    <method name="FileMove">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg type="s" name="module" direction="in" />
      <arg type="s" name="file_from" direction="in" />
      <arg type="s" name="file_to" direction="in" />
    </method>

    <method name="VolumeDisableAll">
      <annotation name="org.freedesktop.DBus.GLib.Async"
      value="true"/>
    </method>
    <method name="VolumeUpdateState">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg type="s" name="volume_id" direction="in" />
      <arg type="s" name="path" direction="in" />
      <arg type="b" name="enabled" direction="in" />
    </method>

    <method name="PropertySet">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg type="s" name="service_type" direction="in" />
      <arg type="s" name="uri" direction="in" />
      <arg type="s" name="property" direction="in"/>
      <arg type="as" name="values" direction="in"/>
    </method>      

    <method name="PropertyRemove">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg type="s" name="service_type" direction="in" />
      <arg type="s" name="uri" direction="in" />
      <arg type="s" name="property" direction="in"/>
      <arg type="as" name="values" direction="in"/>
    </method>

    <method name="Pause">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
    </method>
    <method name="PauseForDuration">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg type="u" name="seconds" direction="in" />
    </method>
    <method name="Continue">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
    </method>
    <method name="Shutdown">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
    </method>

    <method name="RestoreBackup">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg type="s" name="backup_file" direction="in" />
    </method>

    <!-- Signals --> 
    <signal name="Status">
      <arg type="d" name="elapsed_time" />
      <arg type="s" name="current_module_name" />
      <arg type="u" name="items_processed" />
      <arg type="u" name="items_indexed" />
      <arg type="u" name="items_remaining" />
    </signal>
    <signal name="Started" />
    <signal name="Paused" />
    <signal name="Continued" />
    <signal name="Finished">
      <arg type="d" name="elapsed_time" />
      <arg type="u" name="items_processed" />
      <arg type="u" name="items_indexed" />
      <arg type="b" name="interrupted" />
    </signal>
    <signal name="ModuleStarted">
      <arg type="s" name="module_name" />
    </signal>
    <signal name="ModuleFinished">
      <arg type="s" name="module_name" />
    </signal>
    <signal name="IndexingError">
      <arg type="s" name="reason" />
      <arg type="b" name="requires_reindexing" />
    </signal>
  </interface>
</node>
