/*
 * This file is generated by gdbus-codegen, do not modify it.
 *
 * The license of this code is the same as for the D-Bus interface description
 * it was derived from. Note that it links to GLib, so must comply with the
 * LGPL linking clauses.
 */

#ifndef __COMMON_DBUS_H__
#define __COMMON_DBUS_H__

#include <gio/gio.h>

G_BEGIN_DECLS


/* ------------------------------------------------------------------------ */
/* Declarations for org.cinnamon.PortalHandlers */

#define TYPE_ORG_CINNAMON_PORTAL_HANDLERS (org_cinnamon_portal_handlers_get_type ())
#define ORG_CINNAMON_PORTAL_HANDLERS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_CINNAMON_PORTAL_HANDLERS, OrgCinnamonPortalHandlers))
#define IS_ORG_CINNAMON_PORTAL_HANDLERS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_CINNAMON_PORTAL_HANDLERS))
#define ORG_CINNAMON_PORTAL_HANDLERS_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_CINNAMON_PORTAL_HANDLERS, OrgCinnamonPortalHandlersIface))

struct _OrgCinnamonPortalHandlers;
typedef struct _OrgCinnamonPortalHandlers OrgCinnamonPortalHandlers;
typedef struct _OrgCinnamonPortalHandlersIface OrgCinnamonPortalHandlersIface;

struct _OrgCinnamonPortalHandlersIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_get_app_states) (
    OrgCinnamonPortalHandlers *object,
    GDBusMethodInvocation *invocation);

  void (*running_apps_changed) (
    OrgCinnamonPortalHandlers *object);

};

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgCinnamonPortalHandlers, g_object_unref)
#endif

GType org_cinnamon_portal_handlers_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *org_cinnamon_portal_handlers_interface_info (void);
guint org_cinnamon_portal_handlers_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void org_cinnamon_portal_handlers_complete_get_app_states (
    OrgCinnamonPortalHandlers *object,
    GDBusMethodInvocation *invocation,
    GVariant *apps);



/* D-Bus signal emissions functions: */
void org_cinnamon_portal_handlers_emit_running_apps_changed (
    OrgCinnamonPortalHandlers *object);



/* D-Bus method calls: */
void org_cinnamon_portal_handlers_call_get_app_states (
    OrgCinnamonPortalHandlers *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_cinnamon_portal_handlers_call_get_app_states_finish (
    OrgCinnamonPortalHandlers *proxy,
    GVariant **out_apps,
    GAsyncResult *res,
    GError **error);

gboolean org_cinnamon_portal_handlers_call_get_app_states_sync (
    OrgCinnamonPortalHandlers *proxy,
    GVariant **out_apps,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define TYPE_ORG_CINNAMON_PORTAL_HANDLERS_PROXY (org_cinnamon_portal_handlers_proxy_get_type ())
#define ORG_CINNAMON_PORTAL_HANDLERS_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_CINNAMON_PORTAL_HANDLERS_PROXY, OrgCinnamonPortalHandlersProxy))
#define ORG_CINNAMON_PORTAL_HANDLERS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_CINNAMON_PORTAL_HANDLERS_PROXY, OrgCinnamonPortalHandlersProxyClass))
#define ORG_CINNAMON_PORTAL_HANDLERS_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_CINNAMON_PORTAL_HANDLERS_PROXY, OrgCinnamonPortalHandlersProxyClass))
#define IS_ORG_CINNAMON_PORTAL_HANDLERS_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_CINNAMON_PORTAL_HANDLERS_PROXY))
#define IS_ORG_CINNAMON_PORTAL_HANDLERS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_CINNAMON_PORTAL_HANDLERS_PROXY))

typedef struct _OrgCinnamonPortalHandlersProxy OrgCinnamonPortalHandlersProxy;
typedef struct _OrgCinnamonPortalHandlersProxyClass OrgCinnamonPortalHandlersProxyClass;
typedef struct _OrgCinnamonPortalHandlersProxyPrivate OrgCinnamonPortalHandlersProxyPrivate;

struct _OrgCinnamonPortalHandlersProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  OrgCinnamonPortalHandlersProxyPrivate *priv;
};

struct _OrgCinnamonPortalHandlersProxyClass
{
  GDBusProxyClass parent_class;
};

GType org_cinnamon_portal_handlers_proxy_get_type (void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgCinnamonPortalHandlersProxy, g_object_unref)
#endif

void org_cinnamon_portal_handlers_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
OrgCinnamonPortalHandlers *org_cinnamon_portal_handlers_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
OrgCinnamonPortalHandlers *org_cinnamon_portal_handlers_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void org_cinnamon_portal_handlers_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
OrgCinnamonPortalHandlers *org_cinnamon_portal_handlers_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
OrgCinnamonPortalHandlers *org_cinnamon_portal_handlers_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define TYPE_ORG_CINNAMON_PORTAL_HANDLERS_SKELETON (org_cinnamon_portal_handlers_skeleton_get_type ())
#define ORG_CINNAMON_PORTAL_HANDLERS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_CINNAMON_PORTAL_HANDLERS_SKELETON, OrgCinnamonPortalHandlersSkeleton))
#define ORG_CINNAMON_PORTAL_HANDLERS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_CINNAMON_PORTAL_HANDLERS_SKELETON, OrgCinnamonPortalHandlersSkeletonClass))
#define ORG_CINNAMON_PORTAL_HANDLERS_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_CINNAMON_PORTAL_HANDLERS_SKELETON, OrgCinnamonPortalHandlersSkeletonClass))
#define IS_ORG_CINNAMON_PORTAL_HANDLERS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_CINNAMON_PORTAL_HANDLERS_SKELETON))
#define IS_ORG_CINNAMON_PORTAL_HANDLERS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_CINNAMON_PORTAL_HANDLERS_SKELETON))

typedef struct _OrgCinnamonPortalHandlersSkeleton OrgCinnamonPortalHandlersSkeleton;
typedef struct _OrgCinnamonPortalHandlersSkeletonClass OrgCinnamonPortalHandlersSkeletonClass;
typedef struct _OrgCinnamonPortalHandlersSkeletonPrivate OrgCinnamonPortalHandlersSkeletonPrivate;

struct _OrgCinnamonPortalHandlersSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  OrgCinnamonPortalHandlersSkeletonPrivate *priv;
};

struct _OrgCinnamonPortalHandlersSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType org_cinnamon_portal_handlers_skeleton_get_type (void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgCinnamonPortalHandlersSkeleton, g_object_unref)
#endif

OrgCinnamonPortalHandlers *org_cinnamon_portal_handlers_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.cinnamon.ScreenSaver */

#define TYPE_ORG_CINNAMON_SCREEN_SAVER (org_cinnamon_screen_saver_get_type ())
#define ORG_CINNAMON_SCREEN_SAVER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_CINNAMON_SCREEN_SAVER, OrgCinnamonScreenSaver))
#define IS_ORG_CINNAMON_SCREEN_SAVER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_CINNAMON_SCREEN_SAVER))
#define ORG_CINNAMON_SCREEN_SAVER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_CINNAMON_SCREEN_SAVER, OrgCinnamonScreenSaverIface))

struct _OrgCinnamonScreenSaver;
typedef struct _OrgCinnamonScreenSaver OrgCinnamonScreenSaver;
typedef struct _OrgCinnamonScreenSaverIface OrgCinnamonScreenSaverIface;

struct _OrgCinnamonScreenSaverIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_get_active) (
    OrgCinnamonScreenSaver *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_get_active_time) (
    OrgCinnamonScreenSaver *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_get_session_idle_time) (
    OrgCinnamonScreenSaver *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_lock) (
    OrgCinnamonScreenSaver *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_message);

  gboolean (*handle_quit) (
    OrgCinnamonScreenSaver *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_set_active) (
    OrgCinnamonScreenSaver *object,
    GDBusMethodInvocation *invocation,
    gboolean arg_e);

  gboolean (*handle_simulate_user_activity) (
    OrgCinnamonScreenSaver *object,
    GDBusMethodInvocation *invocation);

  void (*active_changed) (
    OrgCinnamonScreenSaver *object,
    gboolean arg_arg_0);

};

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgCinnamonScreenSaver, g_object_unref)
#endif

GType org_cinnamon_screen_saver_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *org_cinnamon_screen_saver_interface_info (void);
guint org_cinnamon_screen_saver_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void org_cinnamon_screen_saver_complete_lock (
    OrgCinnamonScreenSaver *object,
    GDBusMethodInvocation *invocation);

void org_cinnamon_screen_saver_complete_simulate_user_activity (
    OrgCinnamonScreenSaver *object,
    GDBusMethodInvocation *invocation);

void org_cinnamon_screen_saver_complete_get_active (
    OrgCinnamonScreenSaver *object,
    GDBusMethodInvocation *invocation,
    gboolean arg_0);

void org_cinnamon_screen_saver_complete_get_active_time (
    OrgCinnamonScreenSaver *object,
    GDBusMethodInvocation *invocation,
    guint seconds);

void org_cinnamon_screen_saver_complete_get_session_idle_time (
    OrgCinnamonScreenSaver *object,
    GDBusMethodInvocation *invocation,
    guint seconds);

void org_cinnamon_screen_saver_complete_set_active (
    OrgCinnamonScreenSaver *object,
    GDBusMethodInvocation *invocation);

void org_cinnamon_screen_saver_complete_quit (
    OrgCinnamonScreenSaver *object,
    GDBusMethodInvocation *invocation);



/* D-Bus signal emissions functions: */
void org_cinnamon_screen_saver_emit_active_changed (
    OrgCinnamonScreenSaver *object,
    gboolean arg_arg_0);



/* D-Bus method calls: */
void org_cinnamon_screen_saver_call_lock (
    OrgCinnamonScreenSaver *proxy,
    const gchar *arg_message,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_cinnamon_screen_saver_call_lock_finish (
    OrgCinnamonScreenSaver *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_cinnamon_screen_saver_call_lock_sync (
    OrgCinnamonScreenSaver *proxy,
    const gchar *arg_message,
    GCancellable *cancellable,
    GError **error);

void org_cinnamon_screen_saver_call_simulate_user_activity (
    OrgCinnamonScreenSaver *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_cinnamon_screen_saver_call_simulate_user_activity_finish (
    OrgCinnamonScreenSaver *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_cinnamon_screen_saver_call_simulate_user_activity_sync (
    OrgCinnamonScreenSaver *proxy,
    GCancellable *cancellable,
    GError **error);

void org_cinnamon_screen_saver_call_get_active (
    OrgCinnamonScreenSaver *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_cinnamon_screen_saver_call_get_active_finish (
    OrgCinnamonScreenSaver *proxy,
    gboolean *out_arg_0,
    GAsyncResult *res,
    GError **error);

gboolean org_cinnamon_screen_saver_call_get_active_sync (
    OrgCinnamonScreenSaver *proxy,
    gboolean *out_arg_0,
    GCancellable *cancellable,
    GError **error);

void org_cinnamon_screen_saver_call_get_active_time (
    OrgCinnamonScreenSaver *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_cinnamon_screen_saver_call_get_active_time_finish (
    OrgCinnamonScreenSaver *proxy,
    guint *out_seconds,
    GAsyncResult *res,
    GError **error);

gboolean org_cinnamon_screen_saver_call_get_active_time_sync (
    OrgCinnamonScreenSaver *proxy,
    guint *out_seconds,
    GCancellable *cancellable,
    GError **error);

void org_cinnamon_screen_saver_call_get_session_idle_time (
    OrgCinnamonScreenSaver *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_cinnamon_screen_saver_call_get_session_idle_time_finish (
    OrgCinnamonScreenSaver *proxy,
    guint *out_seconds,
    GAsyncResult *res,
    GError **error);

gboolean org_cinnamon_screen_saver_call_get_session_idle_time_sync (
    OrgCinnamonScreenSaver *proxy,
    guint *out_seconds,
    GCancellable *cancellable,
    GError **error);

void org_cinnamon_screen_saver_call_set_active (
    OrgCinnamonScreenSaver *proxy,
    gboolean arg_e,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_cinnamon_screen_saver_call_set_active_finish (
    OrgCinnamonScreenSaver *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_cinnamon_screen_saver_call_set_active_sync (
    OrgCinnamonScreenSaver *proxy,
    gboolean arg_e,
    GCancellable *cancellable,
    GError **error);

void org_cinnamon_screen_saver_call_quit (
    OrgCinnamonScreenSaver *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_cinnamon_screen_saver_call_quit_finish (
    OrgCinnamonScreenSaver *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_cinnamon_screen_saver_call_quit_sync (
    OrgCinnamonScreenSaver *proxy,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define TYPE_ORG_CINNAMON_SCREEN_SAVER_PROXY (org_cinnamon_screen_saver_proxy_get_type ())
#define ORG_CINNAMON_SCREEN_SAVER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_CINNAMON_SCREEN_SAVER_PROXY, OrgCinnamonScreenSaverProxy))
#define ORG_CINNAMON_SCREEN_SAVER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_CINNAMON_SCREEN_SAVER_PROXY, OrgCinnamonScreenSaverProxyClass))
#define ORG_CINNAMON_SCREEN_SAVER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_CINNAMON_SCREEN_SAVER_PROXY, OrgCinnamonScreenSaverProxyClass))
#define IS_ORG_CINNAMON_SCREEN_SAVER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_CINNAMON_SCREEN_SAVER_PROXY))
#define IS_ORG_CINNAMON_SCREEN_SAVER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_CINNAMON_SCREEN_SAVER_PROXY))

typedef struct _OrgCinnamonScreenSaverProxy OrgCinnamonScreenSaverProxy;
typedef struct _OrgCinnamonScreenSaverProxyClass OrgCinnamonScreenSaverProxyClass;
typedef struct _OrgCinnamonScreenSaverProxyPrivate OrgCinnamonScreenSaverProxyPrivate;

struct _OrgCinnamonScreenSaverProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  OrgCinnamonScreenSaverProxyPrivate *priv;
};

struct _OrgCinnamonScreenSaverProxyClass
{
  GDBusProxyClass parent_class;
};

GType org_cinnamon_screen_saver_proxy_get_type (void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgCinnamonScreenSaverProxy, g_object_unref)
#endif

void org_cinnamon_screen_saver_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
OrgCinnamonScreenSaver *org_cinnamon_screen_saver_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
OrgCinnamonScreenSaver *org_cinnamon_screen_saver_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void org_cinnamon_screen_saver_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
OrgCinnamonScreenSaver *org_cinnamon_screen_saver_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
OrgCinnamonScreenSaver *org_cinnamon_screen_saver_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define TYPE_ORG_CINNAMON_SCREEN_SAVER_SKELETON (org_cinnamon_screen_saver_skeleton_get_type ())
#define ORG_CINNAMON_SCREEN_SAVER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_CINNAMON_SCREEN_SAVER_SKELETON, OrgCinnamonScreenSaverSkeleton))
#define ORG_CINNAMON_SCREEN_SAVER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_CINNAMON_SCREEN_SAVER_SKELETON, OrgCinnamonScreenSaverSkeletonClass))
#define ORG_CINNAMON_SCREEN_SAVER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_CINNAMON_SCREEN_SAVER_SKELETON, OrgCinnamonScreenSaverSkeletonClass))
#define IS_ORG_CINNAMON_SCREEN_SAVER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_CINNAMON_SCREEN_SAVER_SKELETON))
#define IS_ORG_CINNAMON_SCREEN_SAVER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_CINNAMON_SCREEN_SAVER_SKELETON))

typedef struct _OrgCinnamonScreenSaverSkeleton OrgCinnamonScreenSaverSkeleton;
typedef struct _OrgCinnamonScreenSaverSkeletonClass OrgCinnamonScreenSaverSkeletonClass;
typedef struct _OrgCinnamonScreenSaverSkeletonPrivate OrgCinnamonScreenSaverSkeletonPrivate;

struct _OrgCinnamonScreenSaverSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  OrgCinnamonScreenSaverSkeletonPrivate *priv;
};

struct _OrgCinnamonScreenSaverSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType org_cinnamon_screen_saver_skeleton_get_type (void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgCinnamonScreenSaverSkeleton, g_object_unref)
#endif

OrgCinnamonScreenSaver *org_cinnamon_screen_saver_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.freedesktop.ScreenSaver */

#define TYPE_ORG_FREEDESKTOP_SCREEN_SAVER (org_freedesktop_screen_saver_get_type ())
#define ORG_FREEDESKTOP_SCREEN_SAVER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_FREEDESKTOP_SCREEN_SAVER, OrgFreedesktopScreenSaver))
#define IS_ORG_FREEDESKTOP_SCREEN_SAVER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_FREEDESKTOP_SCREEN_SAVER))
#define ORG_FREEDESKTOP_SCREEN_SAVER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_FREEDESKTOP_SCREEN_SAVER, OrgFreedesktopScreenSaverIface))

struct _OrgFreedesktopScreenSaver;
typedef struct _OrgFreedesktopScreenSaver OrgFreedesktopScreenSaver;
typedef struct _OrgFreedesktopScreenSaverIface OrgFreedesktopScreenSaverIface;

struct _OrgFreedesktopScreenSaverIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_get_active) (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_get_active_time) (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_get_session_idle_time) (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_inhibit) (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_application_name,
    const gchar *arg_reason_for_inhibit);

  gboolean (*handle_lock) (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_set_active) (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation,
    gboolean arg_e);

  gboolean (*handle_simulate_user_activity) (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_throttle) (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_application_name,
    const gchar *arg_reason_for_inhibit);

  gboolean (*handle_un_inhibit) (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation,
    guint arg_cookie);

  gboolean (*handle_un_throttle) (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation,
    guint arg_cookie);

  void (*active_changed) (
    OrgFreedesktopScreenSaver *object,
    gboolean arg_unnamed_arg0);

};

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgFreedesktopScreenSaver, g_object_unref)
#endif

GType org_freedesktop_screen_saver_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *org_freedesktop_screen_saver_interface_info (void);
guint org_freedesktop_screen_saver_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void org_freedesktop_screen_saver_complete_lock (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation);

void org_freedesktop_screen_saver_complete_simulate_user_activity (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation);

void org_freedesktop_screen_saver_complete_get_active (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation,
    gboolean unnamed_arg0);

void org_freedesktop_screen_saver_complete_get_active_time (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation,
    guint seconds);

void org_freedesktop_screen_saver_complete_get_session_idle_time (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation,
    guint seconds);

void org_freedesktop_screen_saver_complete_set_active (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation,
    gboolean unnamed_arg1);

void org_freedesktop_screen_saver_complete_inhibit (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation,
    guint cookie);

void org_freedesktop_screen_saver_complete_un_inhibit (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation);

void org_freedesktop_screen_saver_complete_throttle (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation,
    guint cookie);

void org_freedesktop_screen_saver_complete_un_throttle (
    OrgFreedesktopScreenSaver *object,
    GDBusMethodInvocation *invocation);



/* D-Bus signal emissions functions: */
void org_freedesktop_screen_saver_emit_active_changed (
    OrgFreedesktopScreenSaver *object,
    gboolean arg_unnamed_arg0);



/* D-Bus method calls: */
void org_freedesktop_screen_saver_call_lock (
    OrgFreedesktopScreenSaver *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_freedesktop_screen_saver_call_lock_finish (
    OrgFreedesktopScreenSaver *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_freedesktop_screen_saver_call_lock_sync (
    OrgFreedesktopScreenSaver *proxy,
    GCancellable *cancellable,
    GError **error);

void org_freedesktop_screen_saver_call_simulate_user_activity (
    OrgFreedesktopScreenSaver *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_freedesktop_screen_saver_call_simulate_user_activity_finish (
    OrgFreedesktopScreenSaver *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_freedesktop_screen_saver_call_simulate_user_activity_sync (
    OrgFreedesktopScreenSaver *proxy,
    GCancellable *cancellable,
    GError **error);

void org_freedesktop_screen_saver_call_get_active (
    OrgFreedesktopScreenSaver *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_freedesktop_screen_saver_call_get_active_finish (
    OrgFreedesktopScreenSaver *proxy,
    gboolean *out_unnamed_arg0,
    GAsyncResult *res,
    GError **error);

gboolean org_freedesktop_screen_saver_call_get_active_sync (
    OrgFreedesktopScreenSaver *proxy,
    gboolean *out_unnamed_arg0,
    GCancellable *cancellable,
    GError **error);

void org_freedesktop_screen_saver_call_get_active_time (
    OrgFreedesktopScreenSaver *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_freedesktop_screen_saver_call_get_active_time_finish (
    OrgFreedesktopScreenSaver *proxy,
    guint *out_seconds,
    GAsyncResult *res,
    GError **error);

gboolean org_freedesktop_screen_saver_call_get_active_time_sync (
    OrgFreedesktopScreenSaver *proxy,
    guint *out_seconds,
    GCancellable *cancellable,
    GError **error);

void org_freedesktop_screen_saver_call_get_session_idle_time (
    OrgFreedesktopScreenSaver *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_freedesktop_screen_saver_call_get_session_idle_time_finish (
    OrgFreedesktopScreenSaver *proxy,
    guint *out_seconds,
    GAsyncResult *res,
    GError **error);

gboolean org_freedesktop_screen_saver_call_get_session_idle_time_sync (
    OrgFreedesktopScreenSaver *proxy,
    guint *out_seconds,
    GCancellable *cancellable,
    GError **error);

void org_freedesktop_screen_saver_call_set_active (
    OrgFreedesktopScreenSaver *proxy,
    gboolean arg_e,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_freedesktop_screen_saver_call_set_active_finish (
    OrgFreedesktopScreenSaver *proxy,
    gboolean *out_unnamed_arg1,
    GAsyncResult *res,
    GError **error);

gboolean org_freedesktop_screen_saver_call_set_active_sync (
    OrgFreedesktopScreenSaver *proxy,
    gboolean arg_e,
    gboolean *out_unnamed_arg1,
    GCancellable *cancellable,
    GError **error);

void org_freedesktop_screen_saver_call_inhibit (
    OrgFreedesktopScreenSaver *proxy,
    const gchar *arg_application_name,
    const gchar *arg_reason_for_inhibit,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_freedesktop_screen_saver_call_inhibit_finish (
    OrgFreedesktopScreenSaver *proxy,
    guint *out_cookie,
    GAsyncResult *res,
    GError **error);

gboolean org_freedesktop_screen_saver_call_inhibit_sync (
    OrgFreedesktopScreenSaver *proxy,
    const gchar *arg_application_name,
    const gchar *arg_reason_for_inhibit,
    guint *out_cookie,
    GCancellable *cancellable,
    GError **error);

void org_freedesktop_screen_saver_call_un_inhibit (
    OrgFreedesktopScreenSaver *proxy,
    guint arg_cookie,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_freedesktop_screen_saver_call_un_inhibit_finish (
    OrgFreedesktopScreenSaver *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_freedesktop_screen_saver_call_un_inhibit_sync (
    OrgFreedesktopScreenSaver *proxy,
    guint arg_cookie,
    GCancellable *cancellable,
    GError **error);

void org_freedesktop_screen_saver_call_throttle (
    OrgFreedesktopScreenSaver *proxy,
    const gchar *arg_application_name,
    const gchar *arg_reason_for_inhibit,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_freedesktop_screen_saver_call_throttle_finish (
    OrgFreedesktopScreenSaver *proxy,
    guint *out_cookie,
    GAsyncResult *res,
    GError **error);

gboolean org_freedesktop_screen_saver_call_throttle_sync (
    OrgFreedesktopScreenSaver *proxy,
    const gchar *arg_application_name,
    const gchar *arg_reason_for_inhibit,
    guint *out_cookie,
    GCancellable *cancellable,
    GError **error);

void org_freedesktop_screen_saver_call_un_throttle (
    OrgFreedesktopScreenSaver *proxy,
    guint arg_cookie,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_freedesktop_screen_saver_call_un_throttle_finish (
    OrgFreedesktopScreenSaver *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_freedesktop_screen_saver_call_un_throttle_sync (
    OrgFreedesktopScreenSaver *proxy,
    guint arg_cookie,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define TYPE_ORG_FREEDESKTOP_SCREEN_SAVER_PROXY (org_freedesktop_screen_saver_proxy_get_type ())
#define ORG_FREEDESKTOP_SCREEN_SAVER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_FREEDESKTOP_SCREEN_SAVER_PROXY, OrgFreedesktopScreenSaverProxy))
#define ORG_FREEDESKTOP_SCREEN_SAVER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_FREEDESKTOP_SCREEN_SAVER_PROXY, OrgFreedesktopScreenSaverProxyClass))
#define ORG_FREEDESKTOP_SCREEN_SAVER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_FREEDESKTOP_SCREEN_SAVER_PROXY, OrgFreedesktopScreenSaverProxyClass))
#define IS_ORG_FREEDESKTOP_SCREEN_SAVER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_FREEDESKTOP_SCREEN_SAVER_PROXY))
#define IS_ORG_FREEDESKTOP_SCREEN_SAVER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_FREEDESKTOP_SCREEN_SAVER_PROXY))

typedef struct _OrgFreedesktopScreenSaverProxy OrgFreedesktopScreenSaverProxy;
typedef struct _OrgFreedesktopScreenSaverProxyClass OrgFreedesktopScreenSaverProxyClass;
typedef struct _OrgFreedesktopScreenSaverProxyPrivate OrgFreedesktopScreenSaverProxyPrivate;

struct _OrgFreedesktopScreenSaverProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  OrgFreedesktopScreenSaverProxyPrivate *priv;
};

struct _OrgFreedesktopScreenSaverProxyClass
{
  GDBusProxyClass parent_class;
};

GType org_freedesktop_screen_saver_proxy_get_type (void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgFreedesktopScreenSaverProxy, g_object_unref)
#endif

void org_freedesktop_screen_saver_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
OrgFreedesktopScreenSaver *org_freedesktop_screen_saver_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
OrgFreedesktopScreenSaver *org_freedesktop_screen_saver_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void org_freedesktop_screen_saver_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
OrgFreedesktopScreenSaver *org_freedesktop_screen_saver_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
OrgFreedesktopScreenSaver *org_freedesktop_screen_saver_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define TYPE_ORG_FREEDESKTOP_SCREEN_SAVER_SKELETON (org_freedesktop_screen_saver_skeleton_get_type ())
#define ORG_FREEDESKTOP_SCREEN_SAVER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_FREEDESKTOP_SCREEN_SAVER_SKELETON, OrgFreedesktopScreenSaverSkeleton))
#define ORG_FREEDESKTOP_SCREEN_SAVER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_FREEDESKTOP_SCREEN_SAVER_SKELETON, OrgFreedesktopScreenSaverSkeletonClass))
#define ORG_FREEDESKTOP_SCREEN_SAVER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_FREEDESKTOP_SCREEN_SAVER_SKELETON, OrgFreedesktopScreenSaverSkeletonClass))
#define IS_ORG_FREEDESKTOP_SCREEN_SAVER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_FREEDESKTOP_SCREEN_SAVER_SKELETON))
#define IS_ORG_FREEDESKTOP_SCREEN_SAVER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_FREEDESKTOP_SCREEN_SAVER_SKELETON))

typedef struct _OrgFreedesktopScreenSaverSkeleton OrgFreedesktopScreenSaverSkeleton;
typedef struct _OrgFreedesktopScreenSaverSkeletonClass OrgFreedesktopScreenSaverSkeletonClass;
typedef struct _OrgFreedesktopScreenSaverSkeletonPrivate OrgFreedesktopScreenSaverSkeletonPrivate;

struct _OrgFreedesktopScreenSaverSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  OrgFreedesktopScreenSaverSkeletonPrivate *priv;
};

struct _OrgFreedesktopScreenSaverSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType org_freedesktop_screen_saver_skeleton_get_type (void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgFreedesktopScreenSaverSkeleton, g_object_unref)
#endif

OrgFreedesktopScreenSaver *org_freedesktop_screen_saver_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.ScreenSaver */

#define TYPE_ORG_GNOME_SCREEN_SAVER (org_gnome_screen_saver_get_type ())
#define ORG_GNOME_SCREEN_SAVER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_GNOME_SCREEN_SAVER, OrgGnomeScreenSaver))
#define IS_ORG_GNOME_SCREEN_SAVER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_GNOME_SCREEN_SAVER))
#define ORG_GNOME_SCREEN_SAVER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_GNOME_SCREEN_SAVER, OrgGnomeScreenSaverIface))

struct _OrgGnomeScreenSaver;
typedef struct _OrgGnomeScreenSaver OrgGnomeScreenSaver;
typedef struct _OrgGnomeScreenSaverIface OrgGnomeScreenSaverIface;

struct _OrgGnomeScreenSaverIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_get_active) (
    OrgGnomeScreenSaver *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_get_active_time) (
    OrgGnomeScreenSaver *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_lock) (
    OrgGnomeScreenSaver *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_set_active) (
    OrgGnomeScreenSaver *object,
    GDBusMethodInvocation *invocation,
    gboolean arg_e);

  gboolean (*handle_simulate_user_activity) (
    OrgGnomeScreenSaver *object,
    GDBusMethodInvocation *invocation);

  void (*active_changed) (
    OrgGnomeScreenSaver *object,
    gboolean arg_arg_0);

};

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgGnomeScreenSaver, g_object_unref)
#endif

GType org_gnome_screen_saver_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *org_gnome_screen_saver_interface_info (void);
guint org_gnome_screen_saver_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void org_gnome_screen_saver_complete_lock (
    OrgGnomeScreenSaver *object,
    GDBusMethodInvocation *invocation);

void org_gnome_screen_saver_complete_simulate_user_activity (
    OrgGnomeScreenSaver *object,
    GDBusMethodInvocation *invocation);

void org_gnome_screen_saver_complete_get_active (
    OrgGnomeScreenSaver *object,
    GDBusMethodInvocation *invocation,
    gboolean arg_0);

void org_gnome_screen_saver_complete_get_active_time (
    OrgGnomeScreenSaver *object,
    GDBusMethodInvocation *invocation,
    guint seconds);

void org_gnome_screen_saver_complete_set_active (
    OrgGnomeScreenSaver *object,
    GDBusMethodInvocation *invocation);



/* D-Bus signal emissions functions: */
void org_gnome_screen_saver_emit_active_changed (
    OrgGnomeScreenSaver *object,
    gboolean arg_arg_0);



/* D-Bus method calls: */
void org_gnome_screen_saver_call_lock (
    OrgGnomeScreenSaver *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_screen_saver_call_lock_finish (
    OrgGnomeScreenSaver *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_screen_saver_call_lock_sync (
    OrgGnomeScreenSaver *proxy,
    GCancellable *cancellable,
    GError **error);

void org_gnome_screen_saver_call_simulate_user_activity (
    OrgGnomeScreenSaver *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_screen_saver_call_simulate_user_activity_finish (
    OrgGnomeScreenSaver *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_screen_saver_call_simulate_user_activity_sync (
    OrgGnomeScreenSaver *proxy,
    GCancellable *cancellable,
    GError **error);

void org_gnome_screen_saver_call_get_active (
    OrgGnomeScreenSaver *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_screen_saver_call_get_active_finish (
    OrgGnomeScreenSaver *proxy,
    gboolean *out_arg_0,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_screen_saver_call_get_active_sync (
    OrgGnomeScreenSaver *proxy,
    gboolean *out_arg_0,
    GCancellable *cancellable,
    GError **error);

void org_gnome_screen_saver_call_get_active_time (
    OrgGnomeScreenSaver *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_screen_saver_call_get_active_time_finish (
    OrgGnomeScreenSaver *proxy,
    guint *out_seconds,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_screen_saver_call_get_active_time_sync (
    OrgGnomeScreenSaver *proxy,
    guint *out_seconds,
    GCancellable *cancellable,
    GError **error);

void org_gnome_screen_saver_call_set_active (
    OrgGnomeScreenSaver *proxy,
    gboolean arg_e,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_screen_saver_call_set_active_finish (
    OrgGnomeScreenSaver *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_screen_saver_call_set_active_sync (
    OrgGnomeScreenSaver *proxy,
    gboolean arg_e,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define TYPE_ORG_GNOME_SCREEN_SAVER_PROXY (org_gnome_screen_saver_proxy_get_type ())
#define ORG_GNOME_SCREEN_SAVER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_GNOME_SCREEN_SAVER_PROXY, OrgGnomeScreenSaverProxy))
#define ORG_GNOME_SCREEN_SAVER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_GNOME_SCREEN_SAVER_PROXY, OrgGnomeScreenSaverProxyClass))
#define ORG_GNOME_SCREEN_SAVER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_GNOME_SCREEN_SAVER_PROXY, OrgGnomeScreenSaverProxyClass))
#define IS_ORG_GNOME_SCREEN_SAVER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_GNOME_SCREEN_SAVER_PROXY))
#define IS_ORG_GNOME_SCREEN_SAVER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_GNOME_SCREEN_SAVER_PROXY))

typedef struct _OrgGnomeScreenSaverProxy OrgGnomeScreenSaverProxy;
typedef struct _OrgGnomeScreenSaverProxyClass OrgGnomeScreenSaverProxyClass;
typedef struct _OrgGnomeScreenSaverProxyPrivate OrgGnomeScreenSaverProxyPrivate;

struct _OrgGnomeScreenSaverProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  OrgGnomeScreenSaverProxyPrivate *priv;
};

struct _OrgGnomeScreenSaverProxyClass
{
  GDBusProxyClass parent_class;
};

GType org_gnome_screen_saver_proxy_get_type (void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgGnomeScreenSaverProxy, g_object_unref)
#endif

void org_gnome_screen_saver_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
OrgGnomeScreenSaver *org_gnome_screen_saver_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
OrgGnomeScreenSaver *org_gnome_screen_saver_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void org_gnome_screen_saver_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
OrgGnomeScreenSaver *org_gnome_screen_saver_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
OrgGnomeScreenSaver *org_gnome_screen_saver_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define TYPE_ORG_GNOME_SCREEN_SAVER_SKELETON (org_gnome_screen_saver_skeleton_get_type ())
#define ORG_GNOME_SCREEN_SAVER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_GNOME_SCREEN_SAVER_SKELETON, OrgGnomeScreenSaverSkeleton))
#define ORG_GNOME_SCREEN_SAVER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_GNOME_SCREEN_SAVER_SKELETON, OrgGnomeScreenSaverSkeletonClass))
#define ORG_GNOME_SCREEN_SAVER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_GNOME_SCREEN_SAVER_SKELETON, OrgGnomeScreenSaverSkeletonClass))
#define IS_ORG_GNOME_SCREEN_SAVER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_GNOME_SCREEN_SAVER_SKELETON))
#define IS_ORG_GNOME_SCREEN_SAVER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_GNOME_SCREEN_SAVER_SKELETON))

typedef struct _OrgGnomeScreenSaverSkeleton OrgGnomeScreenSaverSkeleton;
typedef struct _OrgGnomeScreenSaverSkeletonClass OrgGnomeScreenSaverSkeletonClass;
typedef struct _OrgGnomeScreenSaverSkeletonPrivate OrgGnomeScreenSaverSkeletonPrivate;

struct _OrgGnomeScreenSaverSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  OrgGnomeScreenSaverSkeletonPrivate *priv;
};

struct _OrgGnomeScreenSaverSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType org_gnome_screen_saver_skeleton_get_type (void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgGnomeScreenSaverSkeleton, g_object_unref)
#endif

OrgGnomeScreenSaver *org_gnome_screen_saver_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.SessionManager */

#define TYPE_ORG_GNOME_SESSION_MANAGER (org_gnome_session_manager_get_type ())
#define ORG_GNOME_SESSION_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_GNOME_SESSION_MANAGER, OrgGnomeSessionManager))
#define IS_ORG_GNOME_SESSION_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_GNOME_SESSION_MANAGER))
#define ORG_GNOME_SESSION_MANAGER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_GNOME_SESSION_MANAGER, OrgGnomeSessionManagerIface))

struct _OrgGnomeSessionManager;
typedef struct _OrgGnomeSessionManager OrgGnomeSessionManager;
typedef struct _OrgGnomeSessionManagerIface OrgGnomeSessionManagerIface;

struct _OrgGnomeSessionManagerIface
{
  GTypeInterface parent_iface;



  gboolean (*handle_can_shutdown) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_get_clients) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_get_inhibitors) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_inhibit) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_app_id,
    guint arg_toplevel_xid,
    const gchar *arg_reason,
    guint arg_flags);

  gboolean (*handle_initialization_error) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_message,
    gboolean arg_fatal);

  gboolean (*handle_is_autostart_condition_handled) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_condition);

  gboolean (*handle_is_inhibited) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    guint arg_flags);

  gboolean (*handle_is_session_running) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_logout) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    guint arg_mode);

  gboolean (*handle_reboot) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_register_client) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_app_id,
    const gchar *arg_client_startup_id);

  gboolean (*handle_request_reboot) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_request_shutdown) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_setenv) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_variable,
    const gchar *arg_value);

  gboolean (*handle_shutdown) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_uninhibit) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    guint arg_inhibit_cookie);

  gboolean (*handle_unregister_client) (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_client_id);

  guint  (*get_inhibited_actions) (OrgGnomeSessionManager *object);

  const gchar * (*get_session_name) (OrgGnomeSessionManager *object);

  void (*client_added) (
    OrgGnomeSessionManager *object,
    const gchar *arg_id);

  void (*client_removed) (
    OrgGnomeSessionManager *object,
    const gchar *arg_id);

  void (*inhibitor_added) (
    OrgGnomeSessionManager *object,
    const gchar *arg_id);

  void (*inhibitor_removed) (
    OrgGnomeSessionManager *object,
    const gchar *arg_id);

  void (*session_over) (
    OrgGnomeSessionManager *object);

  void (*session_running) (
    OrgGnomeSessionManager *object);

};

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgGnomeSessionManager, g_object_unref)
#endif

GType org_gnome_session_manager_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *org_gnome_session_manager_interface_info (void);
guint org_gnome_session_manager_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void org_gnome_session_manager_complete_setenv (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);

void org_gnome_session_manager_complete_initialization_error (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);

void org_gnome_session_manager_complete_register_client (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    const gchar *client_id);

void org_gnome_session_manager_complete_unregister_client (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);

void org_gnome_session_manager_complete_inhibit (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    guint inhibit_cookie);

void org_gnome_session_manager_complete_uninhibit (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);

void org_gnome_session_manager_complete_is_inhibited (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    gboolean is_inhibited);

void org_gnome_session_manager_complete_get_clients (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    const gchar *const *clients);

void org_gnome_session_manager_complete_get_inhibitors (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    const gchar *const *inhibitors);

void org_gnome_session_manager_complete_is_autostart_condition_handled (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    gboolean handled);

void org_gnome_session_manager_complete_shutdown (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);

void org_gnome_session_manager_complete_reboot (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);

void org_gnome_session_manager_complete_can_shutdown (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    gboolean is_available);

void org_gnome_session_manager_complete_logout (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);

void org_gnome_session_manager_complete_is_session_running (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation,
    gboolean running);

void org_gnome_session_manager_complete_request_shutdown (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);

void org_gnome_session_manager_complete_request_reboot (
    OrgGnomeSessionManager *object,
    GDBusMethodInvocation *invocation);



/* D-Bus signal emissions functions: */
void org_gnome_session_manager_emit_client_added (
    OrgGnomeSessionManager *object,
    const gchar *arg_id);

void org_gnome_session_manager_emit_client_removed (
    OrgGnomeSessionManager *object,
    const gchar *arg_id);

void org_gnome_session_manager_emit_inhibitor_added (
    OrgGnomeSessionManager *object,
    const gchar *arg_id);

void org_gnome_session_manager_emit_inhibitor_removed (
    OrgGnomeSessionManager *object,
    const gchar *arg_id);

void org_gnome_session_manager_emit_session_running (
    OrgGnomeSessionManager *object);

void org_gnome_session_manager_emit_session_over (
    OrgGnomeSessionManager *object);



/* D-Bus method calls: */
void org_gnome_session_manager_call_setenv (
    OrgGnomeSessionManager *proxy,
    const gchar *arg_variable,
    const gchar *arg_value,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_setenv_finish (
    OrgGnomeSessionManager *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_setenv_sync (
    OrgGnomeSessionManager *proxy,
    const gchar *arg_variable,
    const gchar *arg_value,
    GCancellable *cancellable,
    GError **error);

void org_gnome_session_manager_call_initialization_error (
    OrgGnomeSessionManager *proxy,
    const gchar *arg_message,
    gboolean arg_fatal,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_initialization_error_finish (
    OrgGnomeSessionManager *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_initialization_error_sync (
    OrgGnomeSessionManager *proxy,
    const gchar *arg_message,
    gboolean arg_fatal,
    GCancellable *cancellable,
    GError **error);

void org_gnome_session_manager_call_register_client (
    OrgGnomeSessionManager *proxy,
    const gchar *arg_app_id,
    const gchar *arg_client_startup_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_register_client_finish (
    OrgGnomeSessionManager *proxy,
    gchar **out_client_id,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_register_client_sync (
    OrgGnomeSessionManager *proxy,
    const gchar *arg_app_id,
    const gchar *arg_client_startup_id,
    gchar **out_client_id,
    GCancellable *cancellable,
    GError **error);

void org_gnome_session_manager_call_unregister_client (
    OrgGnomeSessionManager *proxy,
    const gchar *arg_client_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_unregister_client_finish (
    OrgGnomeSessionManager *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_unregister_client_sync (
    OrgGnomeSessionManager *proxy,
    const gchar *arg_client_id,
    GCancellable *cancellable,
    GError **error);

void org_gnome_session_manager_call_inhibit (
    OrgGnomeSessionManager *proxy,
    const gchar *arg_app_id,
    guint arg_toplevel_xid,
    const gchar *arg_reason,
    guint arg_flags,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_inhibit_finish (
    OrgGnomeSessionManager *proxy,
    guint *out_inhibit_cookie,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_inhibit_sync (
    OrgGnomeSessionManager *proxy,
    const gchar *arg_app_id,
    guint arg_toplevel_xid,
    const gchar *arg_reason,
    guint arg_flags,
    guint *out_inhibit_cookie,
    GCancellable *cancellable,
    GError **error);

void org_gnome_session_manager_call_uninhibit (
    OrgGnomeSessionManager *proxy,
    guint arg_inhibit_cookie,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_uninhibit_finish (
    OrgGnomeSessionManager *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_uninhibit_sync (
    OrgGnomeSessionManager *proxy,
    guint arg_inhibit_cookie,
    GCancellable *cancellable,
    GError **error);

void org_gnome_session_manager_call_is_inhibited (
    OrgGnomeSessionManager *proxy,
    guint arg_flags,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_is_inhibited_finish (
    OrgGnomeSessionManager *proxy,
    gboolean *out_is_inhibited,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_is_inhibited_sync (
    OrgGnomeSessionManager *proxy,
    guint arg_flags,
    gboolean *out_is_inhibited,
    GCancellable *cancellable,
    GError **error);

void org_gnome_session_manager_call_get_clients (
    OrgGnomeSessionManager *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_get_clients_finish (
    OrgGnomeSessionManager *proxy,
    gchar ***out_clients,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_get_clients_sync (
    OrgGnomeSessionManager *proxy,
    gchar ***out_clients,
    GCancellable *cancellable,
    GError **error);

void org_gnome_session_manager_call_get_inhibitors (
    OrgGnomeSessionManager *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_get_inhibitors_finish (
    OrgGnomeSessionManager *proxy,
    gchar ***out_inhibitors,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_get_inhibitors_sync (
    OrgGnomeSessionManager *proxy,
    gchar ***out_inhibitors,
    GCancellable *cancellable,
    GError **error);

void org_gnome_session_manager_call_is_autostart_condition_handled (
    OrgGnomeSessionManager *proxy,
    const gchar *arg_condition,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_is_autostart_condition_handled_finish (
    OrgGnomeSessionManager *proxy,
    gboolean *out_handled,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_is_autostart_condition_handled_sync (
    OrgGnomeSessionManager *proxy,
    const gchar *arg_condition,
    gboolean *out_handled,
    GCancellable *cancellable,
    GError **error);

void org_gnome_session_manager_call_shutdown (
    OrgGnomeSessionManager *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_shutdown_finish (
    OrgGnomeSessionManager *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_shutdown_sync (
    OrgGnomeSessionManager *proxy,
    GCancellable *cancellable,
    GError **error);

void org_gnome_session_manager_call_reboot (
    OrgGnomeSessionManager *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_reboot_finish (
    OrgGnomeSessionManager *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_reboot_sync (
    OrgGnomeSessionManager *proxy,
    GCancellable *cancellable,
    GError **error);

void org_gnome_session_manager_call_can_shutdown (
    OrgGnomeSessionManager *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_can_shutdown_finish (
    OrgGnomeSessionManager *proxy,
    gboolean *out_is_available,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_can_shutdown_sync (
    OrgGnomeSessionManager *proxy,
    gboolean *out_is_available,
    GCancellable *cancellable,
    GError **error);

void org_gnome_session_manager_call_logout (
    OrgGnomeSessionManager *proxy,
    guint arg_mode,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_logout_finish (
    OrgGnomeSessionManager *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_logout_sync (
    OrgGnomeSessionManager *proxy,
    guint arg_mode,
    GCancellable *cancellable,
    GError **error);

void org_gnome_session_manager_call_is_session_running (
    OrgGnomeSessionManager *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_is_session_running_finish (
    OrgGnomeSessionManager *proxy,
    gboolean *out_running,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_is_session_running_sync (
    OrgGnomeSessionManager *proxy,
    gboolean *out_running,
    GCancellable *cancellable,
    GError **error);

void org_gnome_session_manager_call_request_shutdown (
    OrgGnomeSessionManager *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_request_shutdown_finish (
    OrgGnomeSessionManager *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_request_shutdown_sync (
    OrgGnomeSessionManager *proxy,
    GCancellable *cancellable,
    GError **error);

void org_gnome_session_manager_call_request_reboot (
    OrgGnomeSessionManager *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_session_manager_call_request_reboot_finish (
    OrgGnomeSessionManager *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_session_manager_call_request_reboot_sync (
    OrgGnomeSessionManager *proxy,
    GCancellable *cancellable,
    GError **error);



/* D-Bus property accessors: */
const gchar *org_gnome_session_manager_get_session_name (OrgGnomeSessionManager *object);
gchar *org_gnome_session_manager_dup_session_name (OrgGnomeSessionManager *object);
void org_gnome_session_manager_set_session_name (OrgGnomeSessionManager *object, const gchar *value);

guint org_gnome_session_manager_get_inhibited_actions (OrgGnomeSessionManager *object);
void org_gnome_session_manager_set_inhibited_actions (OrgGnomeSessionManager *object, guint value);


/* ---- */

#define TYPE_ORG_GNOME_SESSION_MANAGER_PROXY (org_gnome_session_manager_proxy_get_type ())
#define ORG_GNOME_SESSION_MANAGER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_GNOME_SESSION_MANAGER_PROXY, OrgGnomeSessionManagerProxy))
#define ORG_GNOME_SESSION_MANAGER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_GNOME_SESSION_MANAGER_PROXY, OrgGnomeSessionManagerProxyClass))
#define ORG_GNOME_SESSION_MANAGER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_GNOME_SESSION_MANAGER_PROXY, OrgGnomeSessionManagerProxyClass))
#define IS_ORG_GNOME_SESSION_MANAGER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_GNOME_SESSION_MANAGER_PROXY))
#define IS_ORG_GNOME_SESSION_MANAGER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_GNOME_SESSION_MANAGER_PROXY))

typedef struct _OrgGnomeSessionManagerProxy OrgGnomeSessionManagerProxy;
typedef struct _OrgGnomeSessionManagerProxyClass OrgGnomeSessionManagerProxyClass;
typedef struct _OrgGnomeSessionManagerProxyPrivate OrgGnomeSessionManagerProxyPrivate;

struct _OrgGnomeSessionManagerProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  OrgGnomeSessionManagerProxyPrivate *priv;
};

struct _OrgGnomeSessionManagerProxyClass
{
  GDBusProxyClass parent_class;
};

GType org_gnome_session_manager_proxy_get_type (void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgGnomeSessionManagerProxy, g_object_unref)
#endif

void org_gnome_session_manager_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
OrgGnomeSessionManager *org_gnome_session_manager_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
OrgGnomeSessionManager *org_gnome_session_manager_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void org_gnome_session_manager_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
OrgGnomeSessionManager *org_gnome_session_manager_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
OrgGnomeSessionManager *org_gnome_session_manager_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define TYPE_ORG_GNOME_SESSION_MANAGER_SKELETON (org_gnome_session_manager_skeleton_get_type ())
#define ORG_GNOME_SESSION_MANAGER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_GNOME_SESSION_MANAGER_SKELETON, OrgGnomeSessionManagerSkeleton))
#define ORG_GNOME_SESSION_MANAGER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_GNOME_SESSION_MANAGER_SKELETON, OrgGnomeSessionManagerSkeletonClass))
#define ORG_GNOME_SESSION_MANAGER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_GNOME_SESSION_MANAGER_SKELETON, OrgGnomeSessionManagerSkeletonClass))
#define IS_ORG_GNOME_SESSION_MANAGER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_GNOME_SESSION_MANAGER_SKELETON))
#define IS_ORG_GNOME_SESSION_MANAGER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_GNOME_SESSION_MANAGER_SKELETON))

typedef struct _OrgGnomeSessionManagerSkeleton OrgGnomeSessionManagerSkeleton;
typedef struct _OrgGnomeSessionManagerSkeletonClass OrgGnomeSessionManagerSkeletonClass;
typedef struct _OrgGnomeSessionManagerSkeletonPrivate OrgGnomeSessionManagerSkeletonPrivate;

struct _OrgGnomeSessionManagerSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  OrgGnomeSessionManagerSkeletonPrivate *priv;
};

struct _OrgGnomeSessionManagerSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType org_gnome_session_manager_skeleton_get_type (void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgGnomeSessionManagerSkeleton, g_object_unref)
#endif

OrgGnomeSessionManager *org_gnome_session_manager_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.Shell.Screenshot */

#define TYPE_ORG_GNOME_SHELL_SCREENSHOT (org_gnome_shell_screenshot_get_type ())
#define ORG_GNOME_SHELL_SCREENSHOT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_GNOME_SHELL_SCREENSHOT, OrgGnomeShellScreenshot))
#define IS_ORG_GNOME_SHELL_SCREENSHOT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_GNOME_SHELL_SCREENSHOT))
#define ORG_GNOME_SHELL_SCREENSHOT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_GNOME_SHELL_SCREENSHOT, OrgGnomeShellScreenshotIface))

struct _OrgGnomeShellScreenshot;
typedef struct _OrgGnomeShellScreenshot OrgGnomeShellScreenshot;
typedef struct _OrgGnomeShellScreenshotIface OrgGnomeShellScreenshotIface;

struct _OrgGnomeShellScreenshotIface
{
  GTypeInterface parent_iface;

  gboolean (*handle_flash_area) (
    OrgGnomeShellScreenshot *object,
    GDBusMethodInvocation *invocation,
    gint arg_x,
    gint arg_y,
    gint arg_width,
    gint arg_height);

  gboolean (*handle_pick_color) (
    OrgGnomeShellScreenshot *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_screenshot) (
    OrgGnomeShellScreenshot *object,
    GDBusMethodInvocation *invocation,
    gboolean arg_include_cursor,
    gboolean arg_flash,
    const gchar *arg_filename);

  gboolean (*handle_screenshot_area) (
    OrgGnomeShellScreenshot *object,
    GDBusMethodInvocation *invocation,
    gint arg_x,
    gint arg_y,
    gint arg_width,
    gint arg_height,
    gboolean arg_flash,
    const gchar *arg_filename);

  gboolean (*handle_screenshot_window) (
    OrgGnomeShellScreenshot *object,
    GDBusMethodInvocation *invocation,
    gboolean arg_include_frame,
    gboolean arg_include_cursor,
    gboolean arg_flash,
    const gchar *arg_filename);

  gboolean (*handle_select_area) (
    OrgGnomeShellScreenshot *object,
    GDBusMethodInvocation *invocation);

};

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgGnomeShellScreenshot, g_object_unref)
#endif

GType org_gnome_shell_screenshot_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *org_gnome_shell_screenshot_interface_info (void);
guint org_gnome_shell_screenshot_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void org_gnome_shell_screenshot_complete_screenshot (
    OrgGnomeShellScreenshot *object,
    GDBusMethodInvocation *invocation,
    gboolean success,
    const gchar *filename_used);

void org_gnome_shell_screenshot_complete_screenshot_window (
    OrgGnomeShellScreenshot *object,
    GDBusMethodInvocation *invocation,
    gboolean success,
    const gchar *filename_used);

void org_gnome_shell_screenshot_complete_screenshot_area (
    OrgGnomeShellScreenshot *object,
    GDBusMethodInvocation *invocation,
    gboolean success,
    const gchar *filename_used);

void org_gnome_shell_screenshot_complete_flash_area (
    OrgGnomeShellScreenshot *object,
    GDBusMethodInvocation *invocation);

void org_gnome_shell_screenshot_complete_select_area (
    OrgGnomeShellScreenshot *object,
    GDBusMethodInvocation *invocation,
    gint x,
    gint y,
    gint width,
    gint height);

void org_gnome_shell_screenshot_complete_pick_color (
    OrgGnomeShellScreenshot *object,
    GDBusMethodInvocation *invocation,
    GVariant *result);



/* D-Bus method calls: */
void org_gnome_shell_screenshot_call_screenshot (
    OrgGnomeShellScreenshot *proxy,
    gboolean arg_include_cursor,
    gboolean arg_flash,
    const gchar *arg_filename,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_shell_screenshot_call_screenshot_finish (
    OrgGnomeShellScreenshot *proxy,
    gboolean *out_success,
    gchar **out_filename_used,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_shell_screenshot_call_screenshot_sync (
    OrgGnomeShellScreenshot *proxy,
    gboolean arg_include_cursor,
    gboolean arg_flash,
    const gchar *arg_filename,
    gboolean *out_success,
    gchar **out_filename_used,
    GCancellable *cancellable,
    GError **error);

void org_gnome_shell_screenshot_call_screenshot_window (
    OrgGnomeShellScreenshot *proxy,
    gboolean arg_include_frame,
    gboolean arg_include_cursor,
    gboolean arg_flash,
    const gchar *arg_filename,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_shell_screenshot_call_screenshot_window_finish (
    OrgGnomeShellScreenshot *proxy,
    gboolean *out_success,
    gchar **out_filename_used,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_shell_screenshot_call_screenshot_window_sync (
    OrgGnomeShellScreenshot *proxy,
    gboolean arg_include_frame,
    gboolean arg_include_cursor,
    gboolean arg_flash,
    const gchar *arg_filename,
    gboolean *out_success,
    gchar **out_filename_used,
    GCancellable *cancellable,
    GError **error);

void org_gnome_shell_screenshot_call_screenshot_area (
    OrgGnomeShellScreenshot *proxy,
    gint arg_x,
    gint arg_y,
    gint arg_width,
    gint arg_height,
    gboolean arg_flash,
    const gchar *arg_filename,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_shell_screenshot_call_screenshot_area_finish (
    OrgGnomeShellScreenshot *proxy,
    gboolean *out_success,
    gchar **out_filename_used,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_shell_screenshot_call_screenshot_area_sync (
    OrgGnomeShellScreenshot *proxy,
    gint arg_x,
    gint arg_y,
    gint arg_width,
    gint arg_height,
    gboolean arg_flash,
    const gchar *arg_filename,
    gboolean *out_success,
    gchar **out_filename_used,
    GCancellable *cancellable,
    GError **error);

void org_gnome_shell_screenshot_call_flash_area (
    OrgGnomeShellScreenshot *proxy,
    gint arg_x,
    gint arg_y,
    gint arg_width,
    gint arg_height,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_shell_screenshot_call_flash_area_finish (
    OrgGnomeShellScreenshot *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_shell_screenshot_call_flash_area_sync (
    OrgGnomeShellScreenshot *proxy,
    gint arg_x,
    gint arg_y,
    gint arg_width,
    gint arg_height,
    GCancellable *cancellable,
    GError **error);

void org_gnome_shell_screenshot_call_select_area (
    OrgGnomeShellScreenshot *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_shell_screenshot_call_select_area_finish (
    OrgGnomeShellScreenshot *proxy,
    gint *out_x,
    gint *out_y,
    gint *out_width,
    gint *out_height,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_shell_screenshot_call_select_area_sync (
    OrgGnomeShellScreenshot *proxy,
    gint *out_x,
    gint *out_y,
    gint *out_width,
    gint *out_height,
    GCancellable *cancellable,
    GError **error);

void org_gnome_shell_screenshot_call_pick_color (
    OrgGnomeShellScreenshot *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_shell_screenshot_call_pick_color_finish (
    OrgGnomeShellScreenshot *proxy,
    GVariant **out_result,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_shell_screenshot_call_pick_color_sync (
    OrgGnomeShellScreenshot *proxy,
    GVariant **out_result,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define TYPE_ORG_GNOME_SHELL_SCREENSHOT_PROXY (org_gnome_shell_screenshot_proxy_get_type ())
#define ORG_GNOME_SHELL_SCREENSHOT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_GNOME_SHELL_SCREENSHOT_PROXY, OrgGnomeShellScreenshotProxy))
#define ORG_GNOME_SHELL_SCREENSHOT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_GNOME_SHELL_SCREENSHOT_PROXY, OrgGnomeShellScreenshotProxyClass))
#define ORG_GNOME_SHELL_SCREENSHOT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_GNOME_SHELL_SCREENSHOT_PROXY, OrgGnomeShellScreenshotProxyClass))
#define IS_ORG_GNOME_SHELL_SCREENSHOT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_GNOME_SHELL_SCREENSHOT_PROXY))
#define IS_ORG_GNOME_SHELL_SCREENSHOT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_GNOME_SHELL_SCREENSHOT_PROXY))

typedef struct _OrgGnomeShellScreenshotProxy OrgGnomeShellScreenshotProxy;
typedef struct _OrgGnomeShellScreenshotProxyClass OrgGnomeShellScreenshotProxyClass;
typedef struct _OrgGnomeShellScreenshotProxyPrivate OrgGnomeShellScreenshotProxyPrivate;

struct _OrgGnomeShellScreenshotProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  OrgGnomeShellScreenshotProxyPrivate *priv;
};

struct _OrgGnomeShellScreenshotProxyClass
{
  GDBusProxyClass parent_class;
};

GType org_gnome_shell_screenshot_proxy_get_type (void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgGnomeShellScreenshotProxy, g_object_unref)
#endif

void org_gnome_shell_screenshot_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
OrgGnomeShellScreenshot *org_gnome_shell_screenshot_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
OrgGnomeShellScreenshot *org_gnome_shell_screenshot_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void org_gnome_shell_screenshot_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
OrgGnomeShellScreenshot *org_gnome_shell_screenshot_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
OrgGnomeShellScreenshot *org_gnome_shell_screenshot_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define TYPE_ORG_GNOME_SHELL_SCREENSHOT_SKELETON (org_gnome_shell_screenshot_skeleton_get_type ())
#define ORG_GNOME_SHELL_SCREENSHOT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_GNOME_SHELL_SCREENSHOT_SKELETON, OrgGnomeShellScreenshotSkeleton))
#define ORG_GNOME_SHELL_SCREENSHOT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_GNOME_SHELL_SCREENSHOT_SKELETON, OrgGnomeShellScreenshotSkeletonClass))
#define ORG_GNOME_SHELL_SCREENSHOT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_GNOME_SHELL_SCREENSHOT_SKELETON, OrgGnomeShellScreenshotSkeletonClass))
#define IS_ORG_GNOME_SHELL_SCREENSHOT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_GNOME_SHELL_SCREENSHOT_SKELETON))
#define IS_ORG_GNOME_SHELL_SCREENSHOT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_GNOME_SHELL_SCREENSHOT_SKELETON))

typedef struct _OrgGnomeShellScreenshotSkeleton OrgGnomeShellScreenshotSkeleton;
typedef struct _OrgGnomeShellScreenshotSkeletonClass OrgGnomeShellScreenshotSkeletonClass;
typedef struct _OrgGnomeShellScreenshotSkeletonPrivate OrgGnomeShellScreenshotSkeletonPrivate;

struct _OrgGnomeShellScreenshotSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  OrgGnomeShellScreenshotSkeletonPrivate *priv;
};

struct _OrgGnomeShellScreenshotSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType org_gnome_shell_screenshot_skeleton_get_type (void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgGnomeShellScreenshotSkeleton, g_object_unref)
#endif

OrgGnomeShellScreenshot *org_gnome_shell_screenshot_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.mate.ScreenSaver */

#define TYPE_ORG_MATE_SCREEN_SAVER (org_mate_screen_saver_get_type ())
#define ORG_MATE_SCREEN_SAVER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_MATE_SCREEN_SAVER, OrgMateScreenSaver))
#define IS_ORG_MATE_SCREEN_SAVER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_MATE_SCREEN_SAVER))
#define ORG_MATE_SCREEN_SAVER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_MATE_SCREEN_SAVER, OrgMateScreenSaverIface))

struct _OrgMateScreenSaver;
typedef struct _OrgMateScreenSaver OrgMateScreenSaver;
typedef struct _OrgMateScreenSaverIface OrgMateScreenSaverIface;

struct _OrgMateScreenSaverIface
{
  GTypeInterface parent_iface;

  gboolean (*handle_get_active) (
    OrgMateScreenSaver *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_lock) (
    OrgMateScreenSaver *object,
    GDBusMethodInvocation *invocation);

};

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgMateScreenSaver, g_object_unref)
#endif

GType org_mate_screen_saver_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *org_mate_screen_saver_interface_info (void);
guint org_mate_screen_saver_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void org_mate_screen_saver_complete_lock (
    OrgMateScreenSaver *object,
    GDBusMethodInvocation *invocation);

void org_mate_screen_saver_complete_get_active (
    OrgMateScreenSaver *object,
    GDBusMethodInvocation *invocation,
    gboolean value);



/* D-Bus method calls: */
void org_mate_screen_saver_call_lock (
    OrgMateScreenSaver *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_mate_screen_saver_call_lock_finish (
    OrgMateScreenSaver *proxy,
    GAsyncResult *res,
    GError **error);

gboolean org_mate_screen_saver_call_lock_sync (
    OrgMateScreenSaver *proxy,
    GCancellable *cancellable,
    GError **error);

void org_mate_screen_saver_call_get_active (
    OrgMateScreenSaver *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_mate_screen_saver_call_get_active_finish (
    OrgMateScreenSaver *proxy,
    gboolean *out_value,
    GAsyncResult *res,
    GError **error);

gboolean org_mate_screen_saver_call_get_active_sync (
    OrgMateScreenSaver *proxy,
    gboolean *out_value,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define TYPE_ORG_MATE_SCREEN_SAVER_PROXY (org_mate_screen_saver_proxy_get_type ())
#define ORG_MATE_SCREEN_SAVER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_MATE_SCREEN_SAVER_PROXY, OrgMateScreenSaverProxy))
#define ORG_MATE_SCREEN_SAVER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_MATE_SCREEN_SAVER_PROXY, OrgMateScreenSaverProxyClass))
#define ORG_MATE_SCREEN_SAVER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_MATE_SCREEN_SAVER_PROXY, OrgMateScreenSaverProxyClass))
#define IS_ORG_MATE_SCREEN_SAVER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_MATE_SCREEN_SAVER_PROXY))
#define IS_ORG_MATE_SCREEN_SAVER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_MATE_SCREEN_SAVER_PROXY))

typedef struct _OrgMateScreenSaverProxy OrgMateScreenSaverProxy;
typedef struct _OrgMateScreenSaverProxyClass OrgMateScreenSaverProxyClass;
typedef struct _OrgMateScreenSaverProxyPrivate OrgMateScreenSaverProxyPrivate;

struct _OrgMateScreenSaverProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  OrgMateScreenSaverProxyPrivate *priv;
};

struct _OrgMateScreenSaverProxyClass
{
  GDBusProxyClass parent_class;
};

GType org_mate_screen_saver_proxy_get_type (void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgMateScreenSaverProxy, g_object_unref)
#endif

void org_mate_screen_saver_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
OrgMateScreenSaver *org_mate_screen_saver_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
OrgMateScreenSaver *org_mate_screen_saver_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void org_mate_screen_saver_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
OrgMateScreenSaver *org_mate_screen_saver_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
OrgMateScreenSaver *org_mate_screen_saver_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define TYPE_ORG_MATE_SCREEN_SAVER_SKELETON (org_mate_screen_saver_skeleton_get_type ())
#define ORG_MATE_SCREEN_SAVER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_MATE_SCREEN_SAVER_SKELETON, OrgMateScreenSaverSkeleton))
#define ORG_MATE_SCREEN_SAVER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_MATE_SCREEN_SAVER_SKELETON, OrgMateScreenSaverSkeletonClass))
#define ORG_MATE_SCREEN_SAVER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_MATE_SCREEN_SAVER_SKELETON, OrgMateScreenSaverSkeletonClass))
#define IS_ORG_MATE_SCREEN_SAVER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_MATE_SCREEN_SAVER_SKELETON))
#define IS_ORG_MATE_SCREEN_SAVER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_MATE_SCREEN_SAVER_SKELETON))

typedef struct _OrgMateScreenSaverSkeleton OrgMateScreenSaverSkeleton;
typedef struct _OrgMateScreenSaverSkeletonClass OrgMateScreenSaverSkeletonClass;
typedef struct _OrgMateScreenSaverSkeletonPrivate OrgMateScreenSaverSkeletonPrivate;

struct _OrgMateScreenSaverSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  OrgMateScreenSaverSkeletonPrivate *priv;
};

struct _OrgMateScreenSaverSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType org_mate_screen_saver_skeleton_get_type (void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgMateScreenSaverSkeleton, g_object_unref)
#endif

OrgMateScreenSaver *org_mate_screen_saver_skeleton_new (void);


G_END_DECLS

#endif /* __COMMON_DBUS_H__ */
