org.gnome.SessionManager.Presence.xml 2.97 KB
Newer Older
William Jon McCann's avatar
William Jon McCann committed
1 2 3 4
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
  <interface name="org.gnome.SessionManager.Presence">
5 6

    <property name="status" type="u" access="readwrite">
William Jon McCann's avatar
William Jon McCann committed
7 8
      <doc:doc>
        <doc:description>
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
          <doc:para>
            The status of the session.
          </doc:para>
          <doc:para>
            The status parameter must be one of the following:
            <doc:list>
              <doc:item>
                <doc:term>0</doc:term>
                <doc:definition>Available</doc:definition>
              </doc:item>
              <doc:item>
                <doc:term>1</doc:term>
                <doc:definition>Invisible</doc:definition>
              </doc:item>
              <doc:item>
                <doc:term>2</doc:term>
                <doc:definition>Busy</doc:definition>
              </doc:item>
              <doc:item>
                <doc:term>3</doc:term>
                <doc:definition>Idle</doc:definition>
              </doc:item>
            </doc:list>
          </doc:para>
William Jon McCann's avatar
William Jon McCann committed
33 34
        </doc:description>
      </doc:doc>
35 36
    </property>
    <property name="status-text" type="s" access="readwrite">
William Jon McCann's avatar
William Jon McCann committed
37 38
      <doc:doc>
        <doc:description>
39 40
          <doc:para>The descriptive status for the session.
          </doc:para>
William Jon McCann's avatar
William Jon McCann committed
41 42
        </doc:description>
      </doc:doc>
43
    </property>
William Jon McCann's avatar
William Jon McCann committed
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
    <method name="SetStatus">
      <arg type="u" name="status" direction="in">
        <doc:doc>
          <doc:summary>The status value</doc:summary>
        </doc:doc>
      </arg>
      <doc:doc>
        <doc:description>
          <doc:para>Set the status value of the session.</doc:para>
        </doc:description>
      </doc:doc>
    </method>
    <method name="SetStatusText">
      <arg type="s" name="status_text" direction="in">
        <doc:doc>
          <doc:summary>The descriptive status for the session.</doc:summary>
        </doc:doc>
      </arg>
      <doc:doc>
        <doc:description>
          <doc:para>Set the descriptive status text for the session.</doc:para>
        </doc:description>
      </doc:doc>
    </method>

    <signal name="StatusChanged">
      <arg name="status" type="u">
        <doc:doc>
          <doc:summary>The new status value</doc:summary>
        </doc:doc>
      </arg>
      <doc:doc>
        <doc:description>
          <doc:para>Indicates that the session status value has changed.</doc:para>
        </doc:description>
      </doc:doc>
    </signal>
    <signal name="StatusTextChanged">
      <arg name="status_text" type="s">
        <doc:doc>
          <doc:summary>The new status text</doc:summary>
        </doc:doc>
      </arg>
      <doc:doc>
        <doc:description>
          <doc:para>Indicates that the descriptive session status text has changed.</doc:para>
        </doc:description>
      </doc:doc>
    </signal>

  </interface>
</node>