chiark / gitweb /
vala: register new D-Bus calls
authorFabiano Fidencio <fidencio@profusion.mobi>
Wed, 13 Oct 2010 22:56:50 +0000 (00:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 13 Oct 2010 22:56:50 +0000 (00:56 +0200)
src/systemd-interfaces.vala

index b7229cea27455309ececd6ed79eaaefffcfadf20..1d202e0314cbc901bfe02f9deffa6a1517f8ed26 100644 (file)
@@ -74,6 +74,10 @@ public interface Manager : DBus.Object {
         public abstract void reload() throws DBus.Error;
         public abstract void reexecute() throws DBus.Error;
         public abstract void exit() throws DBus.Error;
+        public abstract void halt() throws DBus.Error;
+        public abstract void power_off() throws DBus.Error;
+        public abstract void reboot() throws DBus.Error;
+        public abstract void kexec() throws DBus.Error;
 
         public abstract ObjectPath create_snapshot(string name = "", bool cleanup = false) throws DBus.Error;