summaryrefslogtreecommitdiff
path: root/src/org.gnome.Mutter.IdleMonitor.xml
blob: 374af4dc451db736862dddde2772859aa0296ee9 (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
<!DOCTYPE node PUBLIC
'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
<node>
  <!--
      org.gnome.Mutter.IdleMonitor:
      @short_description: idle monitor interface

      This interface is used by gnome-desktop to implement
      user activity monitoring.
  -->

  <interface name="org.gnome.Mutter.IdleMonitor">
    <method name="GetIdletime">
      <arg name="idletime" direction="out" type="t"/>
    </method>

    <method name="AddIdleWatch">
      <arg name="interval" direction="in" type="t" />
      <arg name="id" direction="out" type="u" />
    </method>

    <method name="AddUserActiveWatch">
      <arg name="id" direction="out" type="u" />
    </method>

    <method name="RemoveWatch">
      <arg name="id" direction="in" type="u" />
    </method>

    <method name="ResetIdletime"/>

    <signal name="WatchFired">
      <arg name="id" direction="out" type="u" />
    </signal>
  </interface>
</node>