From 6ad7516f69f08c9c5e30332f95b50c0dd0cd1cb1 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Wed, 23 Jan 2008 11:04:23 -0500 Subject: add GetSessions method to Manager interface --- doc/xml/ref-ck-manager.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'doc/xml') diff --git a/doc/xml/ref-ck-manager.xml b/doc/xml/ref-ck-manager.xml index f964295..3eb3a92 100644 --- a/doc/xml/ref-ck-manager.xml +++ b/doc/xml/ref-ck-manager.xml @@ -16,6 +16,7 @@ CloseSession (in 's' cookie, out 'b' result) GetSeats (out 'ao' seats) +GetSessions (out 'ao' sessions) GetSessionForCookie (in 's' cookie, out 'o' ssid) GetSessionForUnixProcess (in 'u' pid, @@ -132,7 +133,14 @@ See also: Seat interface. seats:an array of Seat IDs See also: -org.freedesktop.ConsoleKit.Seat<anchor role="function" id="Manager.GetSessionForCookie"/>GetSessionForCookie ()GetSessionForCookieManagerGetSessionForCookie (in 's' cookie, +org.freedesktop.ConsoleKit.Seat<anchor role="function" id="Manager.GetSessions"/>GetSessions ()GetSessionsManagerGetSessions (out 'ao' sessions) + This gets a list of all the Sessions + that are currently present on the system. + Each Session ID is an D-Bus object path for the object that implements the + Session interface. + sessions:an array of Session IDs +See also: +org.freedesktop.ConsoleKit.Session<anchor role="function" id="Manager.GetSessionForCookie"/>GetSessionForCookie ()GetSessionForCookieManagerGetSessionForCookie (in 's' cookie, out 'o' ssid) Returns the session ID that is associated with the specified cookie. -- cgit