summaryrefslogtreecommitdiffstats
path: root/src/ck-manager.xml
blob: 851204688effde6c2c2456d3c92495e03d32dfa0 (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
<?xml version="1.0" encoding="UTF-8"?>
<node name="/org/freedesktop/ConsoleKit/Manager">

  <interface name="org.freedesktop.ConsoleKit.Manager">

    <method name="OpenSession">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="cookie" direction="out" type="s"/>
    </method>
    <method name="OpenSessionWithParameters">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="parameters" direction="in" type="a(sv)"/>
      <arg name="cookie" direction="out" type="s"/>
    </method>
    <method name="CloseSession">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="cookie" direction="in" type="s"/>
      <arg name="result" direction="out" type="b"/>
    </method>

    <method name="GetSeats">
      <arg name="seats" direction="out" type="ao"/>
    </method>

    <method name="GetCurrentSession">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="ssid" direction="out" type="o"/>
    </method>
    <method name="GetSessionForCookie">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="cookie" direction="in" type="s"/>
      <arg name="ssid" direction="out" type="o"/>
    </method>
    <method name="GetSessionForUnixProcess">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="pid" direction="in" type="u"/>
      <arg name="ssid" direction="out" type="o"/>
    </method>
    <method name="GetSessionsForUser">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="uid" direction="in" type="u"/>
      <arg name="sessions" direction="out" type="ao"/>
    </method>

    <signal name="SeatAdded"/>
    <signal name="SeatRemoved"/>
  </interface>
</node>