Back to index

indicator-session  12.10.0
Classes | Defines | Typedefs | Functions
dbus-consolekit-manager.h File Reference
#include <gio/gio.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _ConsoleKitManagerIface
struct  _ConsoleKitManagerProxy
struct  _ConsoleKitManagerProxyClass
struct  _ConsoleKitManagerSkeleton
struct  _ConsoleKitManagerSkeletonClass

Defines

#define TYPE_CONSOLE_KIT_MANAGER   (console_kit_manager_get_type ())
#define CONSOLE_KIT_MANAGER(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_MANAGER, ConsoleKitManager))
#define IS_CONSOLE_KIT_MANAGER(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_MANAGER))
#define CONSOLE_KIT_MANAGER_GET_IFACE(o)   (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONSOLE_KIT_MANAGER, ConsoleKitManagerIface))
#define TYPE_CONSOLE_KIT_MANAGER_PROXY   (console_kit_manager_proxy_get_type ())
#define CONSOLE_KIT_MANAGER_PROXY(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_MANAGER_PROXY, ConsoleKitManagerProxy))
#define CONSOLE_KIT_MANAGER_PROXY_CLASS(k)   (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONSOLE_KIT_MANAGER_PROXY, ConsoleKitManagerProxyClass))
#define CONSOLE_KIT_MANAGER_PROXY_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONSOLE_KIT_MANAGER_PROXY, ConsoleKitManagerProxyClass))
#define IS_CONSOLE_KIT_MANAGER_PROXY(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_MANAGER_PROXY))
#define IS_CONSOLE_KIT_MANAGER_PROXY_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONSOLE_KIT_MANAGER_PROXY))
#define TYPE_CONSOLE_KIT_MANAGER_SKELETON   (console_kit_manager_skeleton_get_type ())
#define CONSOLE_KIT_MANAGER_SKELETON(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_MANAGER_SKELETON, ConsoleKitManagerSkeleton))
#define CONSOLE_KIT_MANAGER_SKELETON_CLASS(k)   (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONSOLE_KIT_MANAGER_SKELETON, ConsoleKitManagerSkeletonClass))
#define CONSOLE_KIT_MANAGER_SKELETON_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONSOLE_KIT_MANAGER_SKELETON, ConsoleKitManagerSkeletonClass))
#define IS_CONSOLE_KIT_MANAGER_SKELETON(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_MANAGER_SKELETON))
#define IS_CONSOLE_KIT_MANAGER_SKELETON_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONSOLE_KIT_MANAGER_SKELETON))

Typedefs

typedef struct _ConsoleKitManager
typedef struct _ConsoleKitManagerIface
typedef struct _ConsoleKitManagerProxy
typedef struct _ConsoleKitManagerProxyClass
typedef struct _ConsoleKitManagerProxyPrivate
typedef struct _ConsoleKitManagerSkeleton
typedef struct _ConsoleKitManagerSkeletonClass
typedef struct _ConsoleKitManagerSkeletonPrivate

Functions

GType console_kit_manager_get_type (void) G_GNUC_CONST
GDBusInterfaceInfo * console_kit_manager_interface_info (void)
 console_kit_manager_interface_info:
guint console_kit_manager_override_properties (GObjectClass *klass, guint property_id_begin)
 console_kit_manager_override_properties: : The class structure for a #GObject-derived class.
void console_kit_manager_complete_restart (ConsoleKitManager *object, GDBusMethodInvocation *invocation)
 console_kit_manager_complete_restart: : A #ConsoleKitManager.
void console_kit_manager_complete_can_restart (ConsoleKitManager *object, GDBusMethodInvocation *invocation, gboolean can_restart)
 console_kit_manager_complete_can_restart: : A #ConsoleKitManager.
void console_kit_manager_complete_stop (ConsoleKitManager *object, GDBusMethodInvocation *invocation)
 console_kit_manager_complete_stop: : A #ConsoleKitManager.
void console_kit_manager_complete_can_stop (ConsoleKitManager *object, GDBusMethodInvocation *invocation, gboolean can_stop)
 console_kit_manager_complete_can_stop: : A #ConsoleKitManager.
void console_kit_manager_complete_open_session (ConsoleKitManager *object, GDBusMethodInvocation *invocation, const gchar *cookie)
 console_kit_manager_complete_open_session: : A #ConsoleKitManager.
void console_kit_manager_complete_open_session_with_parameters (ConsoleKitManager *object, GDBusMethodInvocation *invocation, const gchar *cookie)
 console_kit_manager_complete_open_session_with_parameters: : A #ConsoleKitManager.
void console_kit_manager_complete_close_session (ConsoleKitManager *object, GDBusMethodInvocation *invocation, gboolean result)
 console_kit_manager_complete_close_session: : A #ConsoleKitManager.
void console_kit_manager_complete_get_seats (ConsoleKitManager *object, GDBusMethodInvocation *invocation, const gchar *const *seats)
 console_kit_manager_complete_get_seats: : A #ConsoleKitManager.
void console_kit_manager_complete_get_sessions (ConsoleKitManager *object, GDBusMethodInvocation *invocation, const gchar *const *sessions)
 console_kit_manager_complete_get_sessions: : A #ConsoleKitManager.
void console_kit_manager_complete_get_session_for_cookie (ConsoleKitManager *object, GDBusMethodInvocation *invocation, const gchar *ssid)
 console_kit_manager_complete_get_session_for_cookie: : A #ConsoleKitManager.
void console_kit_manager_complete_get_session_for_unix_process (ConsoleKitManager *object, GDBusMethodInvocation *invocation, const gchar *ssid)
 console_kit_manager_complete_get_session_for_unix_process: : A #ConsoleKitManager.
void console_kit_manager_complete_get_current_session (ConsoleKitManager *object, GDBusMethodInvocation *invocation, const gchar *ssid)
 console_kit_manager_complete_get_current_session: : A #ConsoleKitManager.
void console_kit_manager_complete_get_sessions_for_unix_user (ConsoleKitManager *object, GDBusMethodInvocation *invocation, const gchar *const *sessions)
 console_kit_manager_complete_get_sessions_for_unix_user: : A #ConsoleKitManager.
void console_kit_manager_complete_get_sessions_for_user (ConsoleKitManager *object, GDBusMethodInvocation *invocation, const gchar *const *sessions)
 console_kit_manager_complete_get_sessions_for_user: : A #ConsoleKitManager.
void console_kit_manager_complete_get_system_idle_hint (ConsoleKitManager *object, GDBusMethodInvocation *invocation, gboolean idle_hint)
 console_kit_manager_complete_get_system_idle_hint: : A #ConsoleKitManager.
void console_kit_manager_complete_get_system_idle_since_hint (ConsoleKitManager *object, GDBusMethodInvocation *invocation, const gchar *iso8601_datetime)
 console_kit_manager_complete_get_system_idle_since_hint: : A #ConsoleKitManager.
void console_kit_manager_emit_seat_added (ConsoleKitManager *object, const gchar *arg_sid)
 console_kit_manager_emit_seat_added: : A #ConsoleKitManager.
void console_kit_manager_emit_seat_removed (ConsoleKitManager *object, const gchar *arg_sid)
 console_kit_manager_emit_seat_removed: : A #ConsoleKitManager.
void console_kit_manager_emit_system_idle_hint_changed (ConsoleKitManager *object, gboolean arg_hint)
 console_kit_manager_emit_system_idle_hint_changed: : A #ConsoleKitManager.
void console_kit_manager_call_restart (ConsoleKitManager *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_manager_call_restart: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_restart_finish (ConsoleKitManager *proxy, GAsyncResult *res, GError **error)
 console_kit_manager_call_restart_finish: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_restart_sync (ConsoleKitManager *proxy, GCancellable *cancellable, GError **error)
 console_kit_manager_call_restart_sync: : A #ConsoleKitManagerProxy.
void console_kit_manager_call_can_restart (ConsoleKitManager *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_manager_call_can_restart: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_can_restart_finish (ConsoleKitManager *proxy, gboolean *out_can_restart, GAsyncResult *res, GError **error)
 console_kit_manager_call_can_restart_finish: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_can_restart_sync (ConsoleKitManager *proxy, gboolean *out_can_restart, GCancellable *cancellable, GError **error)
 console_kit_manager_call_can_restart_sync: : A #ConsoleKitManagerProxy.
void console_kit_manager_call_stop (ConsoleKitManager *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_manager_call_stop: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_stop_finish (ConsoleKitManager *proxy, GAsyncResult *res, GError **error)
 console_kit_manager_call_stop_finish: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_stop_sync (ConsoleKitManager *proxy, GCancellable *cancellable, GError **error)
 console_kit_manager_call_stop_sync: : A #ConsoleKitManagerProxy.
void console_kit_manager_call_can_stop (ConsoleKitManager *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_manager_call_can_stop: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_can_stop_finish (ConsoleKitManager *proxy, gboolean *out_can_stop, GAsyncResult *res, GError **error)
 console_kit_manager_call_can_stop_finish: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_can_stop_sync (ConsoleKitManager *proxy, gboolean *out_can_stop, GCancellable *cancellable, GError **error)
 console_kit_manager_call_can_stop_sync: : A #ConsoleKitManagerProxy.
void console_kit_manager_call_open_session (ConsoleKitManager *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_manager_call_open_session: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_open_session_finish (ConsoleKitManager *proxy, gchar **out_cookie, GAsyncResult *res, GError **error)
 console_kit_manager_call_open_session_finish: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_open_session_sync (ConsoleKitManager *proxy, gchar **out_cookie, GCancellable *cancellable, GError **error)
 console_kit_manager_call_open_session_sync: : A #ConsoleKitManagerProxy.
void console_kit_manager_call_open_session_with_parameters (ConsoleKitManager *proxy, GVariant *arg_parameters, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_manager_call_open_session_with_parameters: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_open_session_with_parameters_finish (ConsoleKitManager *proxy, gchar **out_cookie, GAsyncResult *res, GError **error)
 console_kit_manager_call_open_session_with_parameters_finish: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_open_session_with_parameters_sync (ConsoleKitManager *proxy, GVariant *arg_parameters, gchar **out_cookie, GCancellable *cancellable, GError **error)
 console_kit_manager_call_open_session_with_parameters_sync: : A #ConsoleKitManagerProxy.
void console_kit_manager_call_close_session (ConsoleKitManager *proxy, const gchar *arg_cookie, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_manager_call_close_session: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_close_session_finish (ConsoleKitManager *proxy, gboolean *out_result, GAsyncResult *res, GError **error)
 console_kit_manager_call_close_session_finish: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_close_session_sync (ConsoleKitManager *proxy, const gchar *arg_cookie, gboolean *out_result, GCancellable *cancellable, GError **error)
 console_kit_manager_call_close_session_sync: : A #ConsoleKitManagerProxy.
void console_kit_manager_call_get_seats (ConsoleKitManager *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_manager_call_get_seats: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_seats_finish (ConsoleKitManager *proxy, gchar ***out_seats, GAsyncResult *res, GError **error)
 console_kit_manager_call_get_seats_finish: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_seats_sync (ConsoleKitManager *proxy, gchar ***out_seats, GCancellable *cancellable, GError **error)
 console_kit_manager_call_get_seats_sync: : A #ConsoleKitManagerProxy.
void console_kit_manager_call_get_sessions (ConsoleKitManager *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_manager_call_get_sessions: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_sessions_finish (ConsoleKitManager *proxy, gchar ***out_sessions, GAsyncResult *res, GError **error)
 console_kit_manager_call_get_sessions_finish: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_sessions_sync (ConsoleKitManager *proxy, gchar ***out_sessions, GCancellable *cancellable, GError **error)
 console_kit_manager_call_get_sessions_sync: : A #ConsoleKitManagerProxy.
void console_kit_manager_call_get_session_for_cookie (ConsoleKitManager *proxy, const gchar *arg_cookie, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_manager_call_get_session_for_cookie: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_session_for_cookie_finish (ConsoleKitManager *proxy, gchar **out_ssid, GAsyncResult *res, GError **error)
 console_kit_manager_call_get_session_for_cookie_finish: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_session_for_cookie_sync (ConsoleKitManager *proxy, const gchar *arg_cookie, gchar **out_ssid, GCancellable *cancellable, GError **error)
 console_kit_manager_call_get_session_for_cookie_sync: : A #ConsoleKitManagerProxy.
void console_kit_manager_call_get_session_for_unix_process (ConsoleKitManager *proxy, guint arg_pid, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_manager_call_get_session_for_unix_process: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_session_for_unix_process_finish (ConsoleKitManager *proxy, gchar **out_ssid, GAsyncResult *res, GError **error)
 console_kit_manager_call_get_session_for_unix_process_finish: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_session_for_unix_process_sync (ConsoleKitManager *proxy, guint arg_pid, gchar **out_ssid, GCancellable *cancellable, GError **error)
 console_kit_manager_call_get_session_for_unix_process_sync: : A #ConsoleKitManagerProxy.
void console_kit_manager_call_get_current_session (ConsoleKitManager *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_manager_call_get_current_session: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_current_session_finish (ConsoleKitManager *proxy, gchar **out_ssid, GAsyncResult *res, GError **error)
 console_kit_manager_call_get_current_session_finish: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_current_session_sync (ConsoleKitManager *proxy, gchar **out_ssid, GCancellable *cancellable, GError **error)
 console_kit_manager_call_get_current_session_sync: : A #ConsoleKitManagerProxy.
void console_kit_manager_call_get_sessions_for_unix_user (ConsoleKitManager *proxy, guint arg_uid, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_manager_call_get_sessions_for_unix_user: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_sessions_for_unix_user_finish (ConsoleKitManager *proxy, gchar ***out_sessions, GAsyncResult *res, GError **error)
 console_kit_manager_call_get_sessions_for_unix_user_finish: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_sessions_for_unix_user_sync (ConsoleKitManager *proxy, guint arg_uid, gchar ***out_sessions, GCancellable *cancellable, GError **error)
 console_kit_manager_call_get_sessions_for_unix_user_sync: : A #ConsoleKitManagerProxy.
void console_kit_manager_call_get_sessions_for_user (ConsoleKitManager *proxy, guint arg_uid, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_manager_call_get_sessions_for_user: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_sessions_for_user_finish (ConsoleKitManager *proxy, gchar ***out_sessions, GAsyncResult *res, GError **error)
 console_kit_manager_call_get_sessions_for_user_finish: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_sessions_for_user_sync (ConsoleKitManager *proxy, guint arg_uid, gchar ***out_sessions, GCancellable *cancellable, GError **error)
 console_kit_manager_call_get_sessions_for_user_sync: : A #ConsoleKitManagerProxy.
void console_kit_manager_call_get_system_idle_hint (ConsoleKitManager *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_manager_call_get_system_idle_hint: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_system_idle_hint_finish (ConsoleKitManager *proxy, gboolean *out_idle_hint, GAsyncResult *res, GError **error)
 console_kit_manager_call_get_system_idle_hint_finish: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_system_idle_hint_sync (ConsoleKitManager *proxy, gboolean *out_idle_hint, GCancellable *cancellable, GError **error)
 console_kit_manager_call_get_system_idle_hint_sync: : A #ConsoleKitManagerProxy.
void console_kit_manager_call_get_system_idle_since_hint (ConsoleKitManager *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_manager_call_get_system_idle_since_hint: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_system_idle_since_hint_finish (ConsoleKitManager *proxy, gchar **out_iso8601_datetime, GAsyncResult *res, GError **error)
 console_kit_manager_call_get_system_idle_since_hint_finish: : A #ConsoleKitManagerProxy.
gboolean console_kit_manager_call_get_system_idle_since_hint_sync (ConsoleKitManager *proxy, gchar **out_iso8601_datetime, GCancellable *cancellable, GError **error)
 console_kit_manager_call_get_system_idle_since_hint_sync: : A #ConsoleKitManagerProxy.
GType console_kit_manager_proxy_get_type (void) G_GNUC_CONST
void console_kit_manager_proxy_new (GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
ConsoleKitManager * console_kit_manager_proxy_new_finish (GAsyncResult *res, GError **error)
 console_kit_manager_proxy_new_finish: : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_proxy_new().
ConsoleKitManager * console_kit_manager_proxy_new_sync (GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
void console_kit_manager_proxy_new_for_bus (GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
ConsoleKitManager * console_kit_manager_proxy_new_for_bus_finish (GAsyncResult *res, GError **error)
 console_kit_manager_proxy_new_for_bus_finish: : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_proxy_new_for_bus().
ConsoleKitManager * console_kit_manager_proxy_new_for_bus_sync (GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
GType console_kit_manager_skeleton_get_type (void) G_GNUC_CONST
ConsoleKitManager * console_kit_manager_skeleton_new (void)
 console_kit_manager_skeleton_new:

Class Documentation

struct _ConsoleKitManagerProxy

Definition at line 530 of file dbus-consolekit-manager.h.

Class Members
GDBusProxy parent_instance
ConsoleKitManagerProxyPrivate * priv
struct _ConsoleKitManagerProxyClass

Definition at line 537 of file dbus-consolekit-manager.h.

Class Members
GDBusProxyClass parent_class
struct _ConsoleKitManagerSkeleton

Definition at line 596 of file dbus-consolekit-manager.h.

Class Members
GDBusInterfaceSkeleton parent_instance
ConsoleKitManagerSkeletonPrivate * priv
struct _ConsoleKitManagerSkeletonClass

Definition at line 603 of file dbus-consolekit-manager.h.

Class Members
GDBusInterfaceSkeletonClass parent_class

Define Documentation

#define CONSOLE_KIT_MANAGER (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_MANAGER, ConsoleKitManager))

Definition at line 19 of file dbus-consolekit-manager.h.

#define CONSOLE_KIT_MANAGER_GET_IFACE (   o)    (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONSOLE_KIT_MANAGER, ConsoleKitManagerIface))

Definition at line 21 of file dbus-consolekit-manager.h.

#define CONSOLE_KIT_MANAGER_PROXY (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_MANAGER_PROXY, ConsoleKitManagerProxy))

Definition at line 520 of file dbus-consolekit-manager.h.

#define CONSOLE_KIT_MANAGER_PROXY_CLASS (   k)    (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONSOLE_KIT_MANAGER_PROXY, ConsoleKitManagerProxyClass))

Definition at line 521 of file dbus-consolekit-manager.h.

#define CONSOLE_KIT_MANAGER_PROXY_GET_CLASS (   o)    (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONSOLE_KIT_MANAGER_PROXY, ConsoleKitManagerProxyClass))

Definition at line 522 of file dbus-consolekit-manager.h.

#define CONSOLE_KIT_MANAGER_SKELETON (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_MANAGER_SKELETON, ConsoleKitManagerSkeleton))

Definition at line 586 of file dbus-consolekit-manager.h.

#define CONSOLE_KIT_MANAGER_SKELETON_CLASS (   k)    (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONSOLE_KIT_MANAGER_SKELETON, ConsoleKitManagerSkeletonClass))

Definition at line 587 of file dbus-consolekit-manager.h.

#define CONSOLE_KIT_MANAGER_SKELETON_GET_CLASS (   o)    (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONSOLE_KIT_MANAGER_SKELETON, ConsoleKitManagerSkeletonClass))

Definition at line 588 of file dbus-consolekit-manager.h.

#define IS_CONSOLE_KIT_MANAGER (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_MANAGER))

Definition at line 20 of file dbus-consolekit-manager.h.

#define IS_CONSOLE_KIT_MANAGER_PROXY (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_MANAGER_PROXY))

Definition at line 523 of file dbus-consolekit-manager.h.

#define IS_CONSOLE_KIT_MANAGER_PROXY_CLASS (   k)    (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONSOLE_KIT_MANAGER_PROXY))

Definition at line 524 of file dbus-consolekit-manager.h.

#define IS_CONSOLE_KIT_MANAGER_SKELETON (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_MANAGER_SKELETON))

Definition at line 589 of file dbus-consolekit-manager.h.

#define IS_CONSOLE_KIT_MANAGER_SKELETON_CLASS (   k)    (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONSOLE_KIT_MANAGER_SKELETON))

Definition at line 590 of file dbus-consolekit-manager.h.

Definition at line 18 of file dbus-consolekit-manager.h.

Definition at line 519 of file dbus-consolekit-manager.h.

Definition at line 585 of file dbus-consolekit-manager.h.


Typedef Documentation

typedef struct _ConsoleKitManager

Definition at line 24 of file dbus-consolekit-manager.h.

typedef struct _ConsoleKitManagerIface

Definition at line 25 of file dbus-consolekit-manager.h.

typedef struct _ConsoleKitManagerProxy

Definition at line 526 of file dbus-consolekit-manager.h.

Definition at line 527 of file dbus-consolekit-manager.h.

Definition at line 528 of file dbus-consolekit-manager.h.

Definition at line 592 of file dbus-consolekit-manager.h.

Definition at line 593 of file dbus-consolekit-manager.h.

Definition at line 594 of file dbus-consolekit-manager.h.


Function Documentation

void console_kit_manager_call_can_restart ( ConsoleKitManager *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_manager_call_can_restart: : A #ConsoleKitManagerProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.CanRestart">CanRestart()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_manager_call_can_restart_finish() to get the result of the operation.

See console_kit_manager_call_can_restart_sync() for the synchronous, blocking version of this method.

Definition at line 1648 of file dbus-consolekit-manager.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "CanRestart",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_manager_call_can_restart_finish ( ConsoleKitManager *  proxy,
gboolean *  out_can_restart,
GAsyncResult *  res,
GError **  error 
)

console_kit_manager_call_can_restart_finish: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_call_can_restart(). : Return location for error or NULL.

Finishes an operation started with console_kit_manager_call_can_restart().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 1676 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(b)",
                 out_can_restart);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_manager_call_can_restart_sync ( ConsoleKitManager *  proxy,
gboolean *  out_can_restart,
GCancellable *  cancellable,
GError **  error 
)

console_kit_manager_call_can_restart_sync: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.CanRestart">CanRestart()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_manager_call_can_restart() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 1708 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "CanRestart",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(b)",
                 out_can_restart);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

Here is the caller graph for this function:

void console_kit_manager_call_can_stop ( ConsoleKitManager *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_manager_call_can_stop: : A #ConsoleKitManagerProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.CanStop">CanStop()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_manager_call_can_stop_finish() to get the result of the operation.

See console_kit_manager_call_can_stop_sync() for the synchronous, blocking version of this method.

Definition at line 1838 of file dbus-consolekit-manager.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "CanStop",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_manager_call_can_stop_finish ( ConsoleKitManager *  proxy,
gboolean *  out_can_stop,
GAsyncResult *  res,
GError **  error 
)

console_kit_manager_call_can_stop_finish: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_call_can_stop(). : Return location for error or NULL.

Finishes an operation started with console_kit_manager_call_can_stop().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 1866 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(b)",
                 out_can_stop);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_manager_call_can_stop_sync ( ConsoleKitManager *  proxy,
gboolean *  out_can_stop,
GCancellable *  cancellable,
GError **  error 
)

console_kit_manager_call_can_stop_sync: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.CanStop">CanStop()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_manager_call_can_stop() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 1898 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "CanStop",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(b)",
                 out_can_stop);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

Here is the caller graph for this function:

void console_kit_manager_call_close_session ( ConsoleKitManager *  proxy,
const gchar *  arg_cookie,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_manager_call_close_session: : A #ConsoleKitManagerProxy.

: Argument to pass with the method invocation. : (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.CloseSession">CloseSession()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_manager_call_close_session_finish() to get the result of the operation.

See console_kit_manager_call_close_session_sync() for the synchronous, blocking version of this method.

Definition at line 2139 of file dbus-consolekit-manager.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "CloseSession",
    g_variant_new ("(s)",
                   arg_cookie),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_manager_call_close_session_finish ( ConsoleKitManager *  proxy,
gboolean *  out_result,
GAsyncResult *  res,
GError **  error 
)

console_kit_manager_call_close_session_finish: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_call_close_session(). : Return location for error or NULL.

Finishes an operation started with console_kit_manager_call_close_session().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2169 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(b)",
                 out_result);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_manager_call_close_session_sync ( ConsoleKitManager *  proxy,
const gchar *  arg_cookie,
gboolean *  out_result,
GCancellable *  cancellable,
GError **  error 
)

console_kit_manager_call_close_session_sync: : A #ConsoleKitManagerProxy.

: Argument to pass with the method invocation. : (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.CloseSession">CloseSession()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_manager_call_close_session() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2202 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "CloseSession",
    g_variant_new ("(s)",
                   arg_cookie),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(b)",
                 out_result);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_manager_call_get_current_session ( ConsoleKitManager *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_manager_call_get_current_session: : A #ConsoleKitManagerProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetCurrentSession">GetCurrentSession()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_manager_call_get_current_session_finish() to get the result of the operation.

See console_kit_manager_call_get_current_session_sync() for the synchronous, blocking version of this method.

Definition at line 2646 of file dbus-consolekit-manager.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetCurrentSession",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_manager_call_get_current_session_finish ( ConsoleKitManager *  proxy,
gchar **  out_ssid,
GAsyncResult *  res,
GError **  error 
)

console_kit_manager_call_get_current_session_finish: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_call_get_current_session(). : Return location for error or NULL.

Finishes an operation started with console_kit_manager_call_get_current_session().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2674 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(o)",
                 out_ssid);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_manager_call_get_current_session_sync ( ConsoleKitManager *  proxy,
gchar **  out_ssid,
GCancellable *  cancellable,
GError **  error 
)

console_kit_manager_call_get_current_session_sync: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetCurrentSession">GetCurrentSession()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_manager_call_get_current_session() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2706 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetCurrentSession",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(o)",
                 out_ssid);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

Here is the caller graph for this function:

void console_kit_manager_call_get_seats ( ConsoleKitManager *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_manager_call_get_seats: : A #ConsoleKitManagerProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSeats">GetSeats()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_manager_call_get_seats_finish() to get the result of the operation.

See console_kit_manager_call_get_seats_sync() for the synchronous, blocking version of this method.

Definition at line 2242 of file dbus-consolekit-manager.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetSeats",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_manager_call_get_seats_finish ( ConsoleKitManager *  proxy,
gchar ***  out_seats,
GAsyncResult *  res,
GError **  error 
)

console_kit_manager_call_get_seats_finish: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_call_get_seats(). : Return location for error or NULL.

Finishes an operation started with console_kit_manager_call_get_seats().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2270 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(^ao)",
                 out_seats);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_manager_call_get_seats_sync ( ConsoleKitManager *  proxy,
gchar ***  out_seats,
GCancellable *  cancellable,
GError **  error 
)

console_kit_manager_call_get_seats_sync: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSeats">GetSeats()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_manager_call_get_seats() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2302 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetSeats",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(^ao)",
                 out_seats);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_manager_call_get_session_for_cookie ( ConsoleKitManager *  proxy,
const gchar *  arg_cookie,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_manager_call_get_session_for_cookie: : A #ConsoleKitManagerProxy.

: Argument to pass with the method invocation. : (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSessionForCookie">GetSessionForCookie()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_manager_call_get_session_for_cookie_finish() to get the result of the operation.

See console_kit_manager_call_get_session_for_cookie_sync() for the synchronous, blocking version of this method.

Definition at line 2439 of file dbus-consolekit-manager.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetSessionForCookie",
    g_variant_new ("(s)",
                   arg_cookie),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_manager_call_get_session_for_cookie_finish ( ConsoleKitManager *  proxy,
gchar **  out_ssid,
GAsyncResult *  res,
GError **  error 
)

console_kit_manager_call_get_session_for_cookie_finish: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_call_get_session_for_cookie(). : Return location for error or NULL.

Finishes an operation started with console_kit_manager_call_get_session_for_cookie().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2469 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(o)",
                 out_ssid);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_manager_call_get_session_for_cookie_sync ( ConsoleKitManager *  proxy,
const gchar *  arg_cookie,
gchar **  out_ssid,
GCancellable *  cancellable,
GError **  error 
)

console_kit_manager_call_get_session_for_cookie_sync: : A #ConsoleKitManagerProxy.

: Argument to pass with the method invocation. : (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSessionForCookie">GetSessionForCookie()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_manager_call_get_session_for_cookie() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2502 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetSessionForCookie",
    g_variant_new ("(s)",
                   arg_cookie),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(o)",
                 out_ssid);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_manager_call_get_session_for_unix_process ( ConsoleKitManager *  proxy,
guint  arg_pid,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_manager_call_get_session_for_unix_process: : A #ConsoleKitManagerProxy.

: Argument to pass with the method invocation. : (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSessionForUnixProcess">GetSessionForUnixProcess()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_manager_call_get_session_for_unix_process_finish() to get the result of the operation.

See console_kit_manager_call_get_session_for_unix_process_sync() for the synchronous, blocking version of this method.

Definition at line 2543 of file dbus-consolekit-manager.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetSessionForUnixProcess",
    g_variant_new ("(u)",
                   arg_pid),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_manager_call_get_session_for_unix_process_finish ( ConsoleKitManager *  proxy,
gchar **  out_ssid,
GAsyncResult *  res,
GError **  error 
)

console_kit_manager_call_get_session_for_unix_process_finish: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_call_get_session_for_unix_process(). : Return location for error or NULL.

Finishes an operation started with console_kit_manager_call_get_session_for_unix_process().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2573 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(o)",
                 out_ssid);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_manager_call_get_session_for_unix_process_sync ( ConsoleKitManager *  proxy,
guint  arg_pid,
gchar **  out_ssid,
GCancellable *  cancellable,
GError **  error 
)

console_kit_manager_call_get_session_for_unix_process_sync: : A #ConsoleKitManagerProxy.

: Argument to pass with the method invocation. : (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSessionForUnixProcess">GetSessionForUnixProcess()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_manager_call_get_session_for_unix_process() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2606 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetSessionForUnixProcess",
    g_variant_new ("(u)",
                   arg_pid),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(o)",
                 out_ssid);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_manager_call_get_sessions ( ConsoleKitManager *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_manager_call_get_sessions: : A #ConsoleKitManagerProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSessions">GetSessions()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_manager_call_get_sessions_finish() to get the result of the operation.

See console_kit_manager_call_get_sessions_sync() for the synchronous, blocking version of this method.

Definition at line 2340 of file dbus-consolekit-manager.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetSessions",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_manager_call_get_sessions_finish ( ConsoleKitManager *  proxy,
gchar ***  out_sessions,
GAsyncResult *  res,
GError **  error 
)

console_kit_manager_call_get_sessions_finish: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_call_get_sessions(). : Return location for error or NULL.

Finishes an operation started with console_kit_manager_call_get_sessions().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2368 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(^ao)",
                 out_sessions);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_manager_call_get_sessions_for_unix_user ( ConsoleKitManager *  proxy,
guint  arg_uid,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_manager_call_get_sessions_for_unix_user: : A #ConsoleKitManagerProxy.

: Argument to pass with the method invocation. : (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSessionsForUnixUser">GetSessionsForUnixUser()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_manager_call_get_sessions_for_unix_user_finish() to get the result of the operation.

See console_kit_manager_call_get_sessions_for_unix_user_sync() for the synchronous, blocking version of this method.

Definition at line 2745 of file dbus-consolekit-manager.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetSessionsForUnixUser",
    g_variant_new ("(u)",
                   arg_uid),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_manager_call_get_sessions_for_unix_user_finish ( ConsoleKitManager *  proxy,
gchar ***  out_sessions,
GAsyncResult *  res,
GError **  error 
)

console_kit_manager_call_get_sessions_for_unix_user_finish: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_call_get_sessions_for_unix_user(). : Return location for error or NULL.

Finishes an operation started with console_kit_manager_call_get_sessions_for_unix_user().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2775 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(^ao)",
                 out_sessions);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_manager_call_get_sessions_for_unix_user_sync ( ConsoleKitManager *  proxy,
guint  arg_uid,
gchar ***  out_sessions,
GCancellable *  cancellable,
GError **  error 
)

console_kit_manager_call_get_sessions_for_unix_user_sync: : A #ConsoleKitManagerProxy.

: Argument to pass with the method invocation. : (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSessionsForUnixUser">GetSessionsForUnixUser()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_manager_call_get_sessions_for_unix_user() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2808 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetSessionsForUnixUser",
    g_variant_new ("(u)",
                   arg_uid),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(^ao)",
                 out_sessions);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

Here is the caller graph for this function:

void console_kit_manager_call_get_sessions_for_user ( ConsoleKitManager *  proxy,
guint  arg_uid,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_manager_call_get_sessions_for_user: : A #ConsoleKitManagerProxy.

: Argument to pass with the method invocation. : (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSessionsForUser">GetSessionsForUser()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_manager_call_get_sessions_for_user_finish() to get the result of the operation.

See console_kit_manager_call_get_sessions_for_user_sync() for the synchronous, blocking version of this method.

Definition at line 2849 of file dbus-consolekit-manager.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetSessionsForUser",
    g_variant_new ("(u)",
                   arg_uid),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_manager_call_get_sessions_for_user_finish ( ConsoleKitManager *  proxy,
gchar ***  out_sessions,
GAsyncResult *  res,
GError **  error 
)

console_kit_manager_call_get_sessions_for_user_finish: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_call_get_sessions_for_user(). : Return location for error or NULL.

Finishes an operation started with console_kit_manager_call_get_sessions_for_user().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2879 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(^ao)",
                 out_sessions);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_manager_call_get_sessions_for_user_sync ( ConsoleKitManager *  proxy,
guint  arg_uid,
gchar ***  out_sessions,
GCancellable *  cancellable,
GError **  error 
)

console_kit_manager_call_get_sessions_for_user_sync: : A #ConsoleKitManagerProxy.

: Argument to pass with the method invocation. : (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSessionsForUser">GetSessionsForUser()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_manager_call_get_sessions_for_user() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2912 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetSessionsForUser",
    g_variant_new ("(u)",
                   arg_uid),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(^ao)",
                 out_sessions);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_manager_call_get_sessions_sync ( ConsoleKitManager *  proxy,
gchar ***  out_sessions,
GCancellable *  cancellable,
GError **  error 
)

console_kit_manager_call_get_sessions_sync: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSessions">GetSessions()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_manager_call_get_sessions() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2400 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetSessions",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(^ao)",
                 out_sessions);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_manager_call_get_system_idle_hint ( ConsoleKitManager *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_manager_call_get_system_idle_hint: : A #ConsoleKitManagerProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSystemIdleHint">GetSystemIdleHint()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_manager_call_get_system_idle_hint_finish() to get the result of the operation.

See console_kit_manager_call_get_system_idle_hint_sync() for the synchronous, blocking version of this method.

Definition at line 2952 of file dbus-consolekit-manager.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetSystemIdleHint",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_manager_call_get_system_idle_hint_finish ( ConsoleKitManager *  proxy,
gboolean *  out_idle_hint,
GAsyncResult *  res,
GError **  error 
)

console_kit_manager_call_get_system_idle_hint_finish: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_call_get_system_idle_hint(). : Return location for error or NULL.

Finishes an operation started with console_kit_manager_call_get_system_idle_hint().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2980 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(b)",
                 out_idle_hint);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_manager_call_get_system_idle_hint_sync ( ConsoleKitManager *  proxy,
gboolean *  out_idle_hint,
GCancellable *  cancellable,
GError **  error 
)

console_kit_manager_call_get_system_idle_hint_sync: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSystemIdleHint">GetSystemIdleHint()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_manager_call_get_system_idle_hint() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3012 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetSystemIdleHint",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(b)",
                 out_idle_hint);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_manager_call_get_system_idle_since_hint ( ConsoleKitManager *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_manager_call_get_system_idle_since_hint: : A #ConsoleKitManagerProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSystemIdleSinceHint">GetSystemIdleSinceHint()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_manager_call_get_system_idle_since_hint_finish() to get the result of the operation.

See console_kit_manager_call_get_system_idle_since_hint_sync() for the synchronous, blocking version of this method.

Definition at line 3050 of file dbus-consolekit-manager.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetSystemIdleSinceHint",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_manager_call_get_system_idle_since_hint_finish ( ConsoleKitManager *  proxy,
gchar **  out_iso8601_datetime,
GAsyncResult *  res,
GError **  error 
)

console_kit_manager_call_get_system_idle_since_hint_finish: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_call_get_system_idle_since_hint(). : Return location for error or NULL.

Finishes an operation started with console_kit_manager_call_get_system_idle_since_hint().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3078 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_iso8601_datetime);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_manager_call_get_system_idle_since_hint_sync ( ConsoleKitManager *  proxy,
gchar **  out_iso8601_datetime,
GCancellable *  cancellable,
GError **  error 
)

console_kit_manager_call_get_system_idle_since_hint_sync: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSystemIdleSinceHint">GetSystemIdleSinceHint()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_manager_call_get_system_idle_since_hint() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3110 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetSystemIdleSinceHint",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_iso8601_datetime);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_manager_call_open_session ( ConsoleKitManager *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_manager_call_open_session: : A #ConsoleKitManagerProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.OpenSession">OpenSession()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_manager_call_open_session_finish() to get the result of the operation.

See console_kit_manager_call_open_session_sync() for the synchronous, blocking version of this method.

Definition at line 1936 of file dbus-consolekit-manager.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "OpenSession",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_manager_call_open_session_finish ( ConsoleKitManager *  proxy,
gchar **  out_cookie,
GAsyncResult *  res,
GError **  error 
)

console_kit_manager_call_open_session_finish: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_call_open_session(). : Return location for error or NULL.

Finishes an operation started with console_kit_manager_call_open_session().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 1964 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_cookie);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_manager_call_open_session_sync ( ConsoleKitManager *  proxy,
gchar **  out_cookie,
GCancellable *  cancellable,
GError **  error 
)

console_kit_manager_call_open_session_sync: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.OpenSession">OpenSession()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_manager_call_open_session() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 1996 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "OpenSession",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_cookie);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_manager_call_open_session_with_parameters ( ConsoleKitManager *  proxy,
GVariant *  arg_parameters,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_manager_call_open_session_with_parameters: : A #ConsoleKitManagerProxy.

: Argument to pass with the method invocation. : (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.OpenSessionWithParameters">OpenSessionWithParameters()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_manager_call_open_session_with_parameters_finish() to get the result of the operation.

See console_kit_manager_call_open_session_with_parameters_sync() for the synchronous, blocking version of this method.

Definition at line 2035 of file dbus-consolekit-manager.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "OpenSessionWithParameters",
    g_variant_new ("(@a(sv))",
                   arg_parameters),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_manager_call_open_session_with_parameters_finish ( ConsoleKitManager *  proxy,
gchar **  out_cookie,
GAsyncResult *  res,
GError **  error 
)

console_kit_manager_call_open_session_with_parameters_finish: : A #ConsoleKitManagerProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_call_open_session_with_parameters(). : Return location for error or NULL.

Finishes an operation started with console_kit_manager_call_open_session_with_parameters().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2065 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_cookie);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_manager_call_open_session_with_parameters_sync ( ConsoleKitManager *  proxy,
GVariant *  arg_parameters,
gchar **  out_cookie,
GCancellable *  cancellable,
GError **  error 
)

console_kit_manager_call_open_session_with_parameters_sync: : A #ConsoleKitManagerProxy.

: Argument to pass with the method invocation. : (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.OpenSessionWithParameters">OpenSessionWithParameters()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_manager_call_open_session_with_parameters() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2098 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "OpenSessionWithParameters",
    g_variant_new ("(@a(sv))",
                   arg_parameters),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_cookie);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_manager_call_restart ( ConsoleKitManager *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_manager_call_restart: : A #ConsoleKitManagerProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.Restart">Restart()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_manager_call_restart_finish() to get the result of the operation.

See console_kit_manager_call_restart_sync() for the synchronous, blocking version of this method.

Definition at line 1556 of file dbus-consolekit-manager.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "Restart",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_manager_call_restart_finish ( ConsoleKitManager *  proxy,
GAsyncResult *  res,
GError **  error 
)

console_kit_manager_call_restart_finish: : A #ConsoleKitManagerProxy.

: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_call_restart(). : Return location for error or NULL.

Finishes an operation started with console_kit_manager_call_restart().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 1583 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "()");
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_manager_call_restart_sync ( ConsoleKitManager *  proxy,
GCancellable *  cancellable,
GError **  error 
)

console_kit_manager_call_restart_sync: : A #ConsoleKitManagerProxy.

: (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.Restart">Restart()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_manager_call_restart() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 1612 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "Restart",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "()");
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_manager_call_stop ( ConsoleKitManager *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_manager_call_stop: : A #ConsoleKitManagerProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.Stop">Stop()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_manager_call_stop_finish() to get the result of the operation.

See console_kit_manager_call_stop_sync() for the synchronous, blocking version of this method.

Definition at line 1746 of file dbus-consolekit-manager.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "Stop",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_manager_call_stop_finish ( ConsoleKitManager *  proxy,
GAsyncResult *  res,
GError **  error 
)

console_kit_manager_call_stop_finish: : A #ConsoleKitManagerProxy.

: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_call_stop(). : Return location for error or NULL.

Finishes an operation started with console_kit_manager_call_stop().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 1773 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "()");
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_manager_call_stop_sync ( ConsoleKitManager *  proxy,
GCancellable *  cancellable,
GError **  error 
)

console_kit_manager_call_stop_sync: : A #ConsoleKitManagerProxy.

: (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.Stop">Stop()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_manager_call_stop() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 1802 of file dbus-consolekit-manager.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "Stop",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "()");
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_manager_complete_can_restart ( ConsoleKitManager *  object,
GDBusMethodInvocation *  invocation,
gboolean  can_restart 
)

console_kit_manager_complete_can_restart: : A #ConsoleKitManager.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.CanRestart">CanRestart()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 3163 of file dbus-consolekit-manager.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(b)",
                   can_restart));
}
void console_kit_manager_complete_can_stop ( ConsoleKitManager *  object,
GDBusMethodInvocation *  invocation,
gboolean  can_stop 
)

console_kit_manager_complete_can_stop: : A #ConsoleKitManager.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.CanStop">CanStop()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 3202 of file dbus-consolekit-manager.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(b)",
                   can_stop));
}
void console_kit_manager_complete_close_session ( ConsoleKitManager *  object,
GDBusMethodInvocation *  invocation,
gboolean  result 
)

console_kit_manager_complete_close_session: : A #ConsoleKitManager.

: (transfer full): A #GDBusMethodInvocation.

Returns:
: Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.CloseSession">CloseSession()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 3265 of file dbus-consolekit-manager.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(b)",
                   result));
}
void console_kit_manager_complete_get_current_session ( ConsoleKitManager *  object,
GDBusMethodInvocation *  invocation,
const gchar *  ssid 
)

console_kit_manager_complete_get_current_session: : A #ConsoleKitManager.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetCurrentSession">GetCurrentSession()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 3370 of file dbus-consolekit-manager.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(o)",
                   ssid));
}
void console_kit_manager_complete_get_seats ( ConsoleKitManager *  object,
GDBusMethodInvocation *  invocation,
const gchar *const *  seats 
)

console_kit_manager_complete_get_seats: : A #ConsoleKitManager.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSeats">GetSeats()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 3286 of file dbus-consolekit-manager.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(^ao)",
                   seats));
}
void console_kit_manager_complete_get_session_for_cookie ( ConsoleKitManager *  object,
GDBusMethodInvocation *  invocation,
const gchar *  ssid 
)

console_kit_manager_complete_get_session_for_cookie: : A #ConsoleKitManager.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSessionForCookie">GetSessionForCookie()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 3328 of file dbus-consolekit-manager.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(o)",
                   ssid));
}
void console_kit_manager_complete_get_session_for_unix_process ( ConsoleKitManager *  object,
GDBusMethodInvocation *  invocation,
const gchar *  ssid 
)

console_kit_manager_complete_get_session_for_unix_process: : A #ConsoleKitManager.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSessionForUnixProcess">GetSessionForUnixProcess()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 3349 of file dbus-consolekit-manager.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(o)",
                   ssid));
}
void console_kit_manager_complete_get_sessions ( ConsoleKitManager *  object,
GDBusMethodInvocation *  invocation,
const gchar *const *  sessions 
)

console_kit_manager_complete_get_sessions: : A #ConsoleKitManager.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSessions">GetSessions()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 3307 of file dbus-consolekit-manager.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(^ao)",
                   sessions));
}
void console_kit_manager_complete_get_sessions_for_unix_user ( ConsoleKitManager *  object,
GDBusMethodInvocation *  invocation,
const gchar *const *  sessions 
)

console_kit_manager_complete_get_sessions_for_unix_user: : A #ConsoleKitManager.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSessionsForUnixUser">GetSessionsForUnixUser()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 3391 of file dbus-consolekit-manager.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(^ao)",
                   sessions));
}
void console_kit_manager_complete_get_sessions_for_user ( ConsoleKitManager *  object,
GDBusMethodInvocation *  invocation,
const gchar *const *  sessions 
)

console_kit_manager_complete_get_sessions_for_user: : A #ConsoleKitManager.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSessionsForUser">GetSessionsForUser()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 3412 of file dbus-consolekit-manager.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(^ao)",
                   sessions));
}
void console_kit_manager_complete_get_system_idle_hint ( ConsoleKitManager *  object,
GDBusMethodInvocation *  invocation,
gboolean  idle_hint 
)

console_kit_manager_complete_get_system_idle_hint: : A #ConsoleKitManager.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSystemIdleHint">GetSystemIdleHint()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 3433 of file dbus-consolekit-manager.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(b)",
                   idle_hint));
}
void console_kit_manager_complete_get_system_idle_since_hint ( ConsoleKitManager *  object,
GDBusMethodInvocation *  invocation,
const gchar *  iso8601_datetime 
)

console_kit_manager_complete_get_system_idle_since_hint: : A #ConsoleKitManager.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.GetSystemIdleSinceHint">GetSystemIdleSinceHint()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 3454 of file dbus-consolekit-manager.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(s)",
                   iso8601_datetime));
}
void console_kit_manager_complete_open_session ( ConsoleKitManager *  object,
GDBusMethodInvocation *  invocation,
const gchar *  cookie 
)

console_kit_manager_complete_open_session: : A #ConsoleKitManager.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.OpenSession">OpenSession()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 3223 of file dbus-consolekit-manager.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(s)",
                   cookie));
}
void console_kit_manager_complete_open_session_with_parameters ( ConsoleKitManager *  object,
GDBusMethodInvocation *  invocation,
const gchar *  cookie 
)

console_kit_manager_complete_open_session_with_parameters: : A #ConsoleKitManager.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.OpenSessionWithParameters">OpenSessionWithParameters()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 3244 of file dbus-consolekit-manager.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(s)",
                   cookie));
}
void console_kit_manager_complete_restart ( ConsoleKitManager *  object,
GDBusMethodInvocation *  invocation 
)

console_kit_manager_complete_restart: : A #ConsoleKitManager.

: (transfer full): A #GDBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.Restart">Restart()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 3144 of file dbus-consolekit-manager.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("()"));
}
void console_kit_manager_complete_stop ( ConsoleKitManager *  object,
GDBusMethodInvocation *  invocation 
)

console_kit_manager_complete_stop: : A #ConsoleKitManager.

: (transfer full): A #GDBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Manager.Stop">Stop()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 3183 of file dbus-consolekit-manager.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("()"));
}
void console_kit_manager_emit_seat_added ( ConsoleKitManager *  object,
const gchar *  arg_sid 
)

console_kit_manager_emit_seat_added: : A #ConsoleKitManager.

: Argument to pass with the signal.

Emits the <link linkend="gdbus-signal-org-freedesktop-ConsoleKit-Manager.SeatAdded">"SeatAdded"</link> D-Bus signal.

Definition at line 1505 of file dbus-consolekit-manager.c.

{
  g_signal_emit_by_name (object, "seat-added", arg_sid);
}
void console_kit_manager_emit_seat_removed ( ConsoleKitManager *  object,
const gchar *  arg_sid 
)

console_kit_manager_emit_seat_removed: : A #ConsoleKitManager.

: Argument to pass with the signal.

Emits the <link linkend="gdbus-signal-org-freedesktop-ConsoleKit-Manager.SeatRemoved">"SeatRemoved"</link> D-Bus signal.

Definition at line 1520 of file dbus-consolekit-manager.c.

{
  g_signal_emit_by_name (object, "seat-removed", arg_sid);
}
void console_kit_manager_emit_system_idle_hint_changed ( ConsoleKitManager *  object,
gboolean  arg_hint 
)

console_kit_manager_emit_system_idle_hint_changed: : A #ConsoleKitManager.

: Argument to pass with the signal.

Emits the <link linkend="gdbus-signal-org-freedesktop-ConsoleKit-Manager.SystemIdleHintChanged">"SystemIdleHintChanged"</link> D-Bus signal.

Definition at line 1535 of file dbus-consolekit-manager.c.

{
  g_signal_emit_by_name (object, "system-idle-hint-changed", arg_hint);
}
GType console_kit_manager_get_type ( void  )
GDBusInterfaceInfo* console_kit_manager_interface_info ( void  )

console_kit_manager_interface_info:

Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-ConsoleKit-Manager.top_of_page">org.freedesktop.ConsoleKit.Manager</link> D-Bus interface.

Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.

Definition at line 1017 of file dbus-consolekit-manager.c.

{
  return (GDBusInterfaceInfo *) &_console_kit_manager_interface_info;
}

Here is the caller graph for this function:

guint console_kit_manager_override_properties ( GObjectClass *  klass,
guint  property_id_begin 
)

console_kit_manager_override_properties: : The class structure for a #GObject-derived class.

: The property id to assign to the first overridden property.

Overrides all #GObject properties in the #ConsoleKitManager interface for a concrete class. The properties are overridden in the order they are defined.

Returns: The last property id.

Definition at line 1033 of file dbus-consolekit-manager.c.

{
  return property_id_begin - 1;
}
void console_kit_manager_proxy_new ( GDBusConnection *  connection,
GDBusProxyFlags  flags,
const gchar *  name,
const gchar *  object_path,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

Definition at line 3632 of file dbus-consolekit-manager.c.

{
  g_async_initable_new_async (TYPE_CONSOLE_KIT_MANAGER_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.freedesktop.ConsoleKit.Manager", NULL);
}
ConsoleKitManager* console_kit_manager_proxy_new_finish ( GAsyncResult *  res,
GError **  error 
)

console_kit_manager_proxy_new_finish: : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_proxy_new().

: Return location for error or NULL

Finishes an operation started with console_kit_manager_proxy_new().

Returns: (transfer full) (type ConsoleKitManagerProxy): The constructed proxy object or NULL if is set.

Definition at line 3654 of file dbus-consolekit-manager.c.

{
  GObject *ret;
  GObject *source_object;
  source_object = g_async_result_get_source_object (res);
  ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
  g_object_unref (source_object);
  if (ret != NULL)
    return CONSOLE_KIT_MANAGER (ret);
  else
    return NULL;
}
void console_kit_manager_proxy_new_for_bus ( GBusType  bus_type,
GDBusProxyFlags  flags,
const gchar *  name,
const gchar *  object_path,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

Definition at line 3722 of file dbus-consolekit-manager.c.

{
  g_async_initable_new_async (TYPE_CONSOLE_KIT_MANAGER_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.freedesktop.ConsoleKit.Manager", NULL);
}
ConsoleKitManager* console_kit_manager_proxy_new_for_bus_finish ( GAsyncResult *  res,
GError **  error 
)

console_kit_manager_proxy_new_for_bus_finish: : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_manager_proxy_new_for_bus().

: Return location for error or NULL

Finishes an operation started with console_kit_manager_proxy_new_for_bus().

Returns: (transfer full) (type ConsoleKitManagerProxy): The constructed proxy object or NULL if is set.

Definition at line 3744 of file dbus-consolekit-manager.c.

{
  GObject *ret;
  GObject *source_object;
  source_object = g_async_result_get_source_object (res);
  ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
  g_object_unref (source_object);
  if (ret != NULL)
    return CONSOLE_KIT_MANAGER (ret);
  else
    return NULL;
}
ConsoleKitManager* console_kit_manager_proxy_new_for_bus_sync ( GBusType  bus_type,
GDBusProxyFlags  flags,
const gchar *  name,
const gchar *  object_path,
GCancellable *  cancellable,
GError **  error 
)

Definition at line 3777 of file dbus-consolekit-manager.c.

{
  GInitable *ret;
  ret = g_initable_new (TYPE_CONSOLE_KIT_MANAGER_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.freedesktop.ConsoleKit.Manager", NULL);
  if (ret != NULL)
    return CONSOLE_KIT_MANAGER (ret);
  else
    return NULL;
}

Here is the caller graph for this function:

ConsoleKitManager* console_kit_manager_proxy_new_sync ( GDBusConnection *  connection,
GDBusProxyFlags  flags,
const gchar *  name,
const gchar *  object_path,
GCancellable *  cancellable,
GError **  error 
)

Definition at line 3687 of file dbus-consolekit-manager.c.

{
  GInitable *ret;
  ret = g_initable_new (TYPE_CONSOLE_KIT_MANAGER_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.freedesktop.ConsoleKit.Manager", NULL);
  if (ret != NULL)
    return CONSOLE_KIT_MANAGER (ret);
  else
    return NULL;
}
ConsoleKitManager* console_kit_manager_skeleton_new ( void  )

console_kit_manager_skeleton_new:

Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-ConsoleKit-Manager.top_of_page">org.freedesktop.ConsoleKit.Manager</link>.

Returns: (transfer full) (type ConsoleKitManagerSkeleton): The skeleton object.

Definition at line 4135 of file dbus-consolekit-manager.c.

{
  return CONSOLE_KIT_MANAGER (g_object_new (TYPE_CONSOLE_KIT_MANAGER_SKELETON, NULL));
}