/*
 * 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 __SHELL_DBUS_H__
#define __SHELL_DBUS_H__

#include <gio/gio.h>

G_BEGIN_DECLS


/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.Mutter.ServiceChannel */

#define TYPE_ORG_GNOME_MUTTER_SERVICE_CHANNEL (org_gnome_mutter_service_channel_get_type ())
#define ORG_GNOME_MUTTER_SERVICE_CHANNEL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_GNOME_MUTTER_SERVICE_CHANNEL, OrgGnomeMutterServiceChannel))
#define IS_ORG_GNOME_MUTTER_SERVICE_CHANNEL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_GNOME_MUTTER_SERVICE_CHANNEL))
#define ORG_GNOME_MUTTER_SERVICE_CHANNEL_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_GNOME_MUTTER_SERVICE_CHANNEL, OrgGnomeMutterServiceChannelIface))

struct _OrgGnomeMutterServiceChannel;
typedef struct _OrgGnomeMutterServiceChannel OrgGnomeMutterServiceChannel;
typedef struct _OrgGnomeMutterServiceChannelIface OrgGnomeMutterServiceChannelIface;

struct _OrgGnomeMutterServiceChannelIface
{
  GTypeInterface parent_iface;

  gboolean (*handle_open_wayland_service_connection) (
    OrgGnomeMutterServiceChannel *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    guint arg_service_client_type);

};

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

GType org_gnome_mutter_service_channel_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *org_gnome_mutter_service_channel_interface_info (void);
guint org_gnome_mutter_service_channel_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void org_gnome_mutter_service_channel_complete_open_wayland_service_connection (
    OrgGnomeMutterServiceChannel *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    GVariant *fd);



/* D-Bus method calls: */
void org_gnome_mutter_service_channel_call_open_wayland_service_connection (
    OrgGnomeMutterServiceChannel *proxy,
    guint arg_service_client_type,
    GUnixFDList *fd_list,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean org_gnome_mutter_service_channel_call_open_wayland_service_connection_finish (
    OrgGnomeMutterServiceChannel *proxy,
    GVariant ** out_fd,
    GUnixFDList **out_fd_list,
    GAsyncResult *res,
    GError **error);

gboolean org_gnome_mutter_service_channel_call_open_wayland_service_connection_sync (
    OrgGnomeMutterServiceChannel *proxy,
    guint arg_service_client_type,
    GUnixFDList  *fd_list,
    GVariant ** out_fd,
    GUnixFDList **out_fd_list,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define TYPE_ORG_GNOME_MUTTER_SERVICE_CHANNEL_PROXY (org_gnome_mutter_service_channel_proxy_get_type ())
#define ORG_GNOME_MUTTER_SERVICE_CHANNEL_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_GNOME_MUTTER_SERVICE_CHANNEL_PROXY, OrgGnomeMutterServiceChannelProxy))
#define ORG_GNOME_MUTTER_SERVICE_CHANNEL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_GNOME_MUTTER_SERVICE_CHANNEL_PROXY, OrgGnomeMutterServiceChannelProxyClass))
#define ORG_GNOME_MUTTER_SERVICE_CHANNEL_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_GNOME_MUTTER_SERVICE_CHANNEL_PROXY, OrgGnomeMutterServiceChannelProxyClass))
#define IS_ORG_GNOME_MUTTER_SERVICE_CHANNEL_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_GNOME_MUTTER_SERVICE_CHANNEL_PROXY))
#define IS_ORG_GNOME_MUTTER_SERVICE_CHANNEL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_GNOME_MUTTER_SERVICE_CHANNEL_PROXY))

typedef struct _OrgGnomeMutterServiceChannelProxy OrgGnomeMutterServiceChannelProxy;
typedef struct _OrgGnomeMutterServiceChannelProxyClass OrgGnomeMutterServiceChannelProxyClass;
typedef struct _OrgGnomeMutterServiceChannelProxyPrivate OrgGnomeMutterServiceChannelProxyPrivate;

struct _OrgGnomeMutterServiceChannelProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  OrgGnomeMutterServiceChannelProxyPrivate *priv;
};

struct _OrgGnomeMutterServiceChannelProxyClass
{
  GDBusProxyClass parent_class;
};

GType org_gnome_mutter_service_channel_proxy_get_type (void) G_GNUC_CONST;

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

void org_gnome_mutter_service_channel_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
OrgGnomeMutterServiceChannel *org_gnome_mutter_service_channel_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
OrgGnomeMutterServiceChannel *org_gnome_mutter_service_channel_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void org_gnome_mutter_service_channel_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
OrgGnomeMutterServiceChannel *org_gnome_mutter_service_channel_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
OrgGnomeMutterServiceChannel *org_gnome_mutter_service_channel_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_MUTTER_SERVICE_CHANNEL_SKELETON (org_gnome_mutter_service_channel_skeleton_get_type ())
#define ORG_GNOME_MUTTER_SERVICE_CHANNEL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_GNOME_MUTTER_SERVICE_CHANNEL_SKELETON, OrgGnomeMutterServiceChannelSkeleton))
#define ORG_GNOME_MUTTER_SERVICE_CHANNEL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_GNOME_MUTTER_SERVICE_CHANNEL_SKELETON, OrgGnomeMutterServiceChannelSkeletonClass))
#define ORG_GNOME_MUTTER_SERVICE_CHANNEL_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_GNOME_MUTTER_SERVICE_CHANNEL_SKELETON, OrgGnomeMutterServiceChannelSkeletonClass))
#define IS_ORG_GNOME_MUTTER_SERVICE_CHANNEL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_GNOME_MUTTER_SERVICE_CHANNEL_SKELETON))
#define IS_ORG_GNOME_MUTTER_SERVICE_CHANNEL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_GNOME_MUTTER_SERVICE_CHANNEL_SKELETON))

typedef struct _OrgGnomeMutterServiceChannelSkeleton OrgGnomeMutterServiceChannelSkeleton;
typedef struct _OrgGnomeMutterServiceChannelSkeletonClass OrgGnomeMutterServiceChannelSkeletonClass;
typedef struct _OrgGnomeMutterServiceChannelSkeletonPrivate OrgGnomeMutterServiceChannelSkeletonPrivate;

struct _OrgGnomeMutterServiceChannelSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  OrgGnomeMutterServiceChannelSkeletonPrivate *priv;
};

struct _OrgGnomeMutterServiceChannelSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType org_gnome_mutter_service_channel_skeleton_get_type (void) G_GNUC_CONST;

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

OrgGnomeMutterServiceChannel *org_gnome_mutter_service_channel_skeleton_new (void);


G_END_DECLS

#endif /* __SHELL_DBUS_H__ */
