diff options
Diffstat (limited to 'gnome-session/org.gnome.SessionManager.Presence.xml')
-rw-r--r-- | gnome-session/org.gnome.SessionManager.Presence.xml | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/gnome-session/org.gnome.SessionManager.Presence.xml b/gnome-session/org.gnome.SessionManager.Presence.xml new file mode 100644 index 0000000..0441970 --- /dev/null +++ b/gnome-session/org.gnome.SessionManager.Presence.xml @@ -0,0 +1,95 @@ +<?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"> + + <property name="status" type="u" access="readwrite"> + <doc:doc> + <doc:description> + <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> + </doc:description> + </doc:doc> + </property> + <property name="status-text" type="s" access="readwrite"> + <doc:doc> + <doc:description> + <doc:para>The descriptive status for the session. + </doc:para> + </doc:description> + </doc:doc> + </property> + <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> |