From 5ce97e6f22fd25279793fbc75211d2e86413ae73 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Tue, 22 Jan 2008 17:03:46 -0500 Subject: initial stop/restart support Add Stop and Restart methods to the Manager object. We'll rename the Manager object to System in the near future. Use libpolkit to determine authorization. --- doc/xml/ref-ck-manager.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'doc/xml') diff --git a/doc/xml/ref-ck-manager.xml b/doc/xml/ref-ck-manager.xml index 2aceef8..f964295 100644 --- a/doc/xml/ref-ck-manager.xml +++ b/doc/xml/ref-ck-manager.xml @@ -8,7 +8,9 @@ Methods - OpenSession (out 's' cookie) + Restart () +Stop () +OpenSession (out 's' cookie) OpenSessionWithParameters (in 'a(sv)' parameters, out 's' cookie) CloseSession (in 's' cookie, @@ -49,7 +51,11 @@ Description - Details<anchor role="function" id="Manager.OpenSession"/>OpenSession ()OpenSessionManagerOpenSession (out 's' cookie) + Details<anchor role="function" id="Manager.Restart"/>Restart ()RestartManagerRestart () + This method initiates a request to restart (ie. reboot) the computer system. + <anchor role="function" id="Manager.Stop"/>Stop ()StopManagerStop () + This method initiates a request to stop (ie. shutdown) the computer system. + <anchor role="function" id="Manager.OpenSession"/>OpenSession ()OpenSessionManagerOpenSession (out 's' cookie) This method requests that a new Session be created for the calling process. The properties of this new Session are set automatically from information collected about the calling process. -- cgit