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

#include <gio/gio.h>

G_BEGIN_DECLS


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

#define GF_TYPE_SCREENCAST_GEN (gf_screencast_gen_get_type ())
#define GF_SCREENCAST_GEN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GF_TYPE_SCREENCAST_GEN, GfScreencastGen))
#define GF_IS_SCREENCAST_GEN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GF_TYPE_SCREENCAST_GEN))
#define GF_SCREENCAST_GEN_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GF_TYPE_SCREENCAST_GEN, GfScreencastGenIface))

struct _GfScreencastGen;
typedef struct _GfScreencastGen GfScreencastGen;
typedef struct _GfScreencastGenIface GfScreencastGenIface;

struct _GfScreencastGenIface
{
  GTypeInterface parent_iface;

  gboolean (*handle_screencast) (
    GfScreencastGen *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_file_template,
    GVariant *arg_options);

  gboolean (*handle_screencast_area) (
    GfScreencastGen *object,
    GDBusMethodInvocation *invocation,
    gint arg_x,
    gint arg_y,
    gint arg_width,
    gint arg_height,
    const gchar *arg_file_template,
    GVariant *arg_options);

  gboolean (*handle_stop_screencast) (
    GfScreencastGen *object,
    GDBusMethodInvocation *invocation);

};

GType gf_screencast_gen_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *gf_screencast_gen_interface_info (void);
guint gf_screencast_gen_override_properties (GObjectClass *klass, guint property_id_begin);


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

void gf_screencast_gen_complete_screencast_area (
    GfScreencastGen *object,
    GDBusMethodInvocation *invocation,
    gboolean success,
    const gchar *filename_used);

void gf_screencast_gen_complete_stop_screencast (
    GfScreencastGen *object,
    GDBusMethodInvocation *invocation,
    gboolean success);



/* D-Bus method calls: */
void gf_screencast_gen_call_screencast (
    GfScreencastGen *proxy,
    const gchar *arg_file_template,
    GVariant *arg_options,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean gf_screencast_gen_call_screencast_finish (
    GfScreencastGen *proxy,
    gboolean* out_success,
    gchar ** out_filename_used,
    GAsyncResult *res,
    GError **error);

gboolean gf_screencast_gen_call_screencast_sync (
    GfScreencastGen *proxy,
    const gchar *arg_file_template,
    GVariant *arg_options,
    gboolean* out_success,
    gchar ** out_filename_used,
    GCancellable *cancellable,
    GError **error);

void gf_screencast_gen_call_screencast_area (
    GfScreencastGen *proxy,
    gint arg_x,
    gint arg_y,
    gint arg_width,
    gint arg_height,
    const gchar *arg_file_template,
    GVariant *arg_options,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean gf_screencast_gen_call_screencast_area_finish (
    GfScreencastGen *proxy,
    gboolean* out_success,
    gchar ** out_filename_used,
    GAsyncResult *res,
    GError **error);

gboolean gf_screencast_gen_call_screencast_area_sync (
    GfScreencastGen *proxy,
    gint arg_x,
    gint arg_y,
    gint arg_width,
    gint arg_height,
    const gchar *arg_file_template,
    GVariant *arg_options,
    gboolean* out_success,
    gchar ** out_filename_used,
    GCancellable *cancellable,
    GError **error);

void gf_screencast_gen_call_stop_screencast (
    GfScreencastGen *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean gf_screencast_gen_call_stop_screencast_finish (
    GfScreencastGen *proxy,
    gboolean* out_success,
    GAsyncResult *res,
    GError **error);

gboolean gf_screencast_gen_call_stop_screencast_sync (
    GfScreencastGen *proxy,
    gboolean* out_success,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define GF_TYPE_SCREENCAST_GEN_PROXY (gf_screencast_gen_proxy_get_type ())
#define GF_SCREENCAST_GEN_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GF_TYPE_SCREENCAST_GEN_PROXY, GfScreencastGenProxy))
#define GF_SCREENCAST_GEN_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GF_TYPE_SCREENCAST_GEN_PROXY, GfScreencastGenProxyClass))
#define GF_SCREENCAST_GEN_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GF_TYPE_SCREENCAST_GEN_PROXY, GfScreencastGenProxyClass))
#define GF_IS_SCREENCAST_GEN_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GF_TYPE_SCREENCAST_GEN_PROXY))
#define GF_IS_SCREENCAST_GEN_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GF_TYPE_SCREENCAST_GEN_PROXY))

typedef struct _GfScreencastGenProxy GfScreencastGenProxy;
typedef struct _GfScreencastGenProxyClass GfScreencastGenProxyClass;
typedef struct _GfScreencastGenProxyPrivate GfScreencastGenProxyPrivate;

struct _GfScreencastGenProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  GfScreencastGenProxyPrivate *priv;
};

struct _GfScreencastGenProxyClass
{
  GDBusProxyClass parent_class;
};

GType gf_screencast_gen_proxy_get_type (void) G_GNUC_CONST;

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

void gf_screencast_gen_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
GfScreencastGen *gf_screencast_gen_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
GfScreencastGen *gf_screencast_gen_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void gf_screencast_gen_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
GfScreencastGen *gf_screencast_gen_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
GfScreencastGen *gf_screencast_gen_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define GF_TYPE_SCREENCAST_GEN_SKELETON (gf_screencast_gen_skeleton_get_type ())
#define GF_SCREENCAST_GEN_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GF_TYPE_SCREENCAST_GEN_SKELETON, GfScreencastGenSkeleton))
#define GF_SCREENCAST_GEN_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GF_TYPE_SCREENCAST_GEN_SKELETON, GfScreencastGenSkeletonClass))
#define GF_SCREENCAST_GEN_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GF_TYPE_SCREENCAST_GEN_SKELETON, GfScreencastGenSkeletonClass))
#define GF_IS_SCREENCAST_GEN_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GF_TYPE_SCREENCAST_GEN_SKELETON))
#define GF_IS_SCREENCAST_GEN_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GF_TYPE_SCREENCAST_GEN_SKELETON))

typedef struct _GfScreencastGenSkeleton GfScreencastGenSkeleton;
typedef struct _GfScreencastGenSkeletonClass GfScreencastGenSkeletonClass;
typedef struct _GfScreencastGenSkeletonPrivate GfScreencastGenSkeletonPrivate;

struct _GfScreencastGenSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  GfScreencastGenSkeletonPrivate *priv;
};

struct _GfScreencastGenSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType gf_screencast_gen_skeleton_get_type (void) G_GNUC_CONST;

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

GfScreencastGen *gf_screencast_gen_skeleton_new (void);


G_END_DECLS

#endif /* __GF_SCREENCAST_GEN_H__ */
