diff options
author | William Jon McCann <mccann@jhu.edu> | 2008-01-22 17:03:46 -0500 |
---|---|---|
committer | William Jon McCann <mccann@jhu.edu> | 2008-01-22 17:43:22 -0500 |
commit | 5ce97e6f22fd25279793fbc75211d2e86413ae73 (patch) | |
tree | 5de0565516b1d90ed382dc5f0ed969c8e512706c /doc/spec | |
parent | 2fba24e67597bf59ae00db2867df7a348c81b094 (diff) |
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.
Diffstat (limited to 'doc/spec')
-rw-r--r-- | doc/spec/ck-manager.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/spec/ck-manager.xml b/doc/spec/ck-manager.xml index 077782f..acc065b 100644 --- a/doc/spec/ck-manager.xml +++ b/doc/spec/ck-manager.xml @@ -4,6 +4,24 @@ > <interface name="org.freedesktop.ConsoleKit.Manager"> + <method name="Restart"> + <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> + <doc:doc> + <doc:description> + <doc:para>This method initiates a request to restart (ie. reboot) the computer system.</doc:para> + </doc:description> + </doc:doc> + </method> + + <method name="Stop"> + <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> + <doc:doc> + <doc:description> + <doc:para>This method initiates a request to stop (ie. shutdown) the computer system.</doc:para> + </doc:description> + </doc:doc> + </method> + <method name="OpenSession"> <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> <arg name="cookie" direction="out" type="s"> |