/* Generated by vala-dbus-binding-tool 0.4.0. Do not modify! */ /* Generated with: vala-dbus-binding-tool --gdbus --api-path=/tmp/dbus_data.xml --directory=/home/raster/workspace/autovala/src/dbus_generated/org.freedesktop.ConsoleKit/org/freedesktop/ConsoleKit/Manager */ using GLib; namespace org { namespace freedesktop { namespace ConsoleKit { [DBus (name = "org.freedesktop.ConsoleKit.Manager", timeout = 120000)] public interface Manager : GLib.Object { [DBus (name = "GetSystemIdleSinceHint")] public abstract string get_system_idle_since_hint() throws DBusError, IOError; [DBus (name = "GetSystemIdleHint")] public abstract bool get_system_idle_hint() throws DBusError, IOError; [DBus (name = "GetSessionsForUser")] public abstract GLib.ObjectPath[] get_sessions_for_user(uint uid) throws DBusError, IOError; [DBus (name = "GetSessionsForUnixUser")] public abstract GLib.ObjectPath[] get_sessions_for_unix_user(uint uid) throws DBusError, IOError; [DBus (name = "GetCurrentSession")] public abstract GLib.ObjectPath get_current_session() throws DBusError, IOError; [DBus (name = "GetSessionForUnixProcess")] public abstract GLib.ObjectPath get_session_for_unix_process(uint pid) throws DBusError, IOError; [DBus (name = "GetSessionForCookie")] public abstract GLib.ObjectPath get_session_for_cookie(string cookie) throws DBusError, IOError; [DBus (name = "GetSessions")] public abstract GLib.ObjectPath[] get_sessions() throws DBusError, IOError; [DBus (name = "GetSeats")] public abstract GLib.ObjectPath[] get_seats() throws DBusError, IOError; [DBus (name = "CloseSession")] public abstract bool close_session(string cookie) throws DBusError, IOError; [DBus (name = "OpenSessionWithParameters")] public abstract string open_session_with_parameters(ManagerParameterStruct[] parameters) throws DBusError, IOError; [DBus (name = "OpenSession")] public abstract string open_session() throws DBusError, IOError; [DBus (name = "CanStop")] public abstract bool can_stop() throws DBusError, IOError; [DBus (name = "Stop")] public abstract void stop() throws DBusError, IOError; [DBus (name = "CanRestart")] public abstract bool can_restart() throws DBusError, IOError; [DBus (name = "Restart")] public abstract void restart() throws DBusError, IOError; [DBus (name = "SystemIdleHintChanged")] public signal void system_idle_hint_changed(bool param0); [DBus (name = "SeatRemoved")] public signal void seat_removed(GLib.ObjectPath param0); [DBus (name = "SeatAdded")] public signal void seat_added(GLib.ObjectPath param0); } public struct ManagerParameterStruct { public string attr1; public GLib.Variant attr2; } [DBus (name = "org.freedesktop.ConsoleKit.Manager", timeout = 120000)] public interface ManagerSync : GLib.Object { [DBus (name = "GetSystemIdleSinceHint")] public abstract string get_system_idle_since_hint() throws DBusError, IOError; [DBus (name = "GetSystemIdleHint")] public abstract bool get_system_idle_hint() throws DBusError, IOError; [DBus (name = "GetSessionsForUser")] public abstract GLib.ObjectPath[] get_sessions_for_user(uint uid) throws DBusError, IOError; [DBus (name = "GetSessionsForUnixUser")] public abstract GLib.ObjectPath[] get_sessions_for_unix_user(uint uid) throws DBusError, IOError; [DBus (name = "GetCurrentSession")] public abstract GLib.ObjectPath get_current_session() throws DBusError, IOError; [DBus (name = "GetSessionForUnixProcess")] public abstract GLib.ObjectPath get_session_for_unix_process(uint pid) throws DBusError, IOError; [DBus (name = "GetSessionForCookie")] public abstract GLib.ObjectPath get_session_for_cookie(string cookie) throws DBusError, IOError; [DBus (name = "GetSessions")] public abstract GLib.ObjectPath[] get_sessions() throws DBusError, IOError; [DBus (name = "GetSeats")] public abstract GLib.ObjectPath[] get_seats() throws DBusError, IOError; [DBus (name = "CloseSession")] public abstract bool close_session(string cookie) throws DBusError, IOError; [DBus (name = "OpenSessionWithParameters")] public abstract string open_session_with_parameters(ManagerSyncParameterStruct[] parameters) throws DBusError, IOError; [DBus (name = "OpenSession")] public abstract string open_session() throws DBusError, IOError; [DBus (name = "CanStop")] public abstract bool can_stop() throws DBusError, IOError; [DBus (name = "Stop")] public abstract void stop() throws DBusError, IOError; [DBus (name = "CanRestart")] public abstract bool can_restart() throws DBusError, IOError; [DBus (name = "Restart")] public abstract void restart() throws DBusError, IOError; [DBus (name = "SystemIdleHintChanged")] public signal void system_idle_hint_changed(bool param0); [DBus (name = "SeatRemoved")] public signal void seat_removed(GLib.ObjectPath param0); [DBus (name = "SeatAdded")] public signal void seat_added(GLib.ObjectPath param0); } public struct ManagerSyncParameterStruct { public string attr1; public GLib.Variant attr2; } } } }