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

#include <gio/gio.h>

G_BEGIN_DECLS


/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.evince.Daemon */

#define EVINCE_TYPE_DAEMON (evince_daemon_get_type ())
#define EVINCE_DAEMON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EVINCE_TYPE_DAEMON, EvinceDaemon))
#define EVINCE_IS_DAEMON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EVINCE_TYPE_DAEMON))
#define EVINCE_DAEMON_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), EVINCE_TYPE_DAEMON, EvinceDaemonIface))

struct _EvinceDaemon;
typedef struct _EvinceDaemon EvinceDaemon;
typedef struct _EvinceDaemonIface EvinceDaemonIface;

struct _EvinceDaemonIface
{
  GTypeInterface parent_iface;

  gboolean (*handle_find_document) (
    EvinceDaemon *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_uri,
    gboolean arg_spawn);

};

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

GType evince_daemon_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *evince_daemon_interface_info (void);
guint evince_daemon_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void evince_daemon_complete_find_document (
    EvinceDaemon *object,
    GDBusMethodInvocation *invocation,
    const gchar *owner);



/* D-Bus method calls: */
void evince_daemon_call_find_document (
    EvinceDaemon *proxy,
    const gchar *arg_uri,
    gboolean arg_spawn,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean evince_daemon_call_find_document_finish (
    EvinceDaemon *proxy,
    gchar **out_owner,
    GAsyncResult *res,
    GError **error);

gboolean evince_daemon_call_find_document_sync (
    EvinceDaemon *proxy,
    const gchar *arg_uri,
    gboolean arg_spawn,
    gchar **out_owner,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define EVINCE_TYPE_DAEMON_PROXY (evince_daemon_proxy_get_type ())
#define EVINCE_DAEMON_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EVINCE_TYPE_DAEMON_PROXY, EvinceDaemonProxy))
#define EVINCE_DAEMON_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), EVINCE_TYPE_DAEMON_PROXY, EvinceDaemonProxyClass))
#define EVINCE_DAEMON_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EVINCE_TYPE_DAEMON_PROXY, EvinceDaemonProxyClass))
#define EVINCE_IS_DAEMON_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EVINCE_TYPE_DAEMON_PROXY))
#define EVINCE_IS_DAEMON_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EVINCE_TYPE_DAEMON_PROXY))

typedef struct _EvinceDaemonProxy EvinceDaemonProxy;
typedef struct _EvinceDaemonProxyClass EvinceDaemonProxyClass;
typedef struct _EvinceDaemonProxyPrivate EvinceDaemonProxyPrivate;

struct _EvinceDaemonProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  EvinceDaemonProxyPrivate *priv;
};

struct _EvinceDaemonProxyClass
{
  GDBusProxyClass parent_class;
};

GType evince_daemon_proxy_get_type (void) G_GNUC_CONST;

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

void evince_daemon_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
EvinceDaemon *evince_daemon_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
EvinceDaemon *evince_daemon_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void evince_daemon_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
EvinceDaemon *evince_daemon_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
EvinceDaemon *evince_daemon_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define EVINCE_TYPE_DAEMON_SKELETON (evince_daemon_skeleton_get_type ())
#define EVINCE_DAEMON_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EVINCE_TYPE_DAEMON_SKELETON, EvinceDaemonSkeleton))
#define EVINCE_DAEMON_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), EVINCE_TYPE_DAEMON_SKELETON, EvinceDaemonSkeletonClass))
#define EVINCE_DAEMON_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EVINCE_TYPE_DAEMON_SKELETON, EvinceDaemonSkeletonClass))
#define EVINCE_IS_DAEMON_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EVINCE_TYPE_DAEMON_SKELETON))
#define EVINCE_IS_DAEMON_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EVINCE_TYPE_DAEMON_SKELETON))

typedef struct _EvinceDaemonSkeleton EvinceDaemonSkeleton;
typedef struct _EvinceDaemonSkeletonClass EvinceDaemonSkeletonClass;
typedef struct _EvinceDaemonSkeletonPrivate EvinceDaemonSkeletonPrivate;

struct _EvinceDaemonSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  EvinceDaemonSkeletonPrivate *priv;
};

struct _EvinceDaemonSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType evince_daemon_skeleton_get_type (void) G_GNUC_CONST;

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

EvinceDaemon *evince_daemon_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.evince.Application */

#define EVINCE_TYPE_APPLICATION (evince_application_get_type ())
#define EVINCE_APPLICATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EVINCE_TYPE_APPLICATION, EvinceApplication))
#define EVINCE_IS_APPLICATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EVINCE_TYPE_APPLICATION))
#define EVINCE_APPLICATION_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), EVINCE_TYPE_APPLICATION, EvinceApplicationIface))

struct _EvinceApplication;
typedef struct _EvinceApplication EvinceApplication;
typedef struct _EvinceApplicationIface EvinceApplicationIface;

struct _EvinceApplicationIface
{
  GTypeInterface parent_iface;

  gboolean (*handle_get_window_list) (
    EvinceApplication *object,
    GDBusMethodInvocation *invocation);

};

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

GType evince_application_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *evince_application_interface_info (void);
guint evince_application_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void evince_application_complete_get_window_list (
    EvinceApplication *object,
    GDBusMethodInvocation *invocation,
    const gchar *const *window_list);



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

gboolean evince_application_call_get_window_list_finish (
    EvinceApplication *proxy,
    gchar ***out_window_list,
    GAsyncResult *res,
    GError **error);

gboolean evince_application_call_get_window_list_sync (
    EvinceApplication *proxy,
    gchar ***out_window_list,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define EVINCE_TYPE_APPLICATION_PROXY (evince_application_proxy_get_type ())
#define EVINCE_APPLICATION_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EVINCE_TYPE_APPLICATION_PROXY, EvinceApplicationProxy))
#define EVINCE_APPLICATION_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), EVINCE_TYPE_APPLICATION_PROXY, EvinceApplicationProxyClass))
#define EVINCE_APPLICATION_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EVINCE_TYPE_APPLICATION_PROXY, EvinceApplicationProxyClass))
#define EVINCE_IS_APPLICATION_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EVINCE_TYPE_APPLICATION_PROXY))
#define EVINCE_IS_APPLICATION_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EVINCE_TYPE_APPLICATION_PROXY))

typedef struct _EvinceApplicationProxy EvinceApplicationProxy;
typedef struct _EvinceApplicationProxyClass EvinceApplicationProxyClass;
typedef struct _EvinceApplicationProxyPrivate EvinceApplicationProxyPrivate;

struct _EvinceApplicationProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  EvinceApplicationProxyPrivate *priv;
};

struct _EvinceApplicationProxyClass
{
  GDBusProxyClass parent_class;
};

GType evince_application_proxy_get_type (void) G_GNUC_CONST;

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

void evince_application_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
EvinceApplication *evince_application_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
EvinceApplication *evince_application_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void evince_application_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
EvinceApplication *evince_application_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
EvinceApplication *evince_application_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define EVINCE_TYPE_APPLICATION_SKELETON (evince_application_skeleton_get_type ())
#define EVINCE_APPLICATION_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EVINCE_TYPE_APPLICATION_SKELETON, EvinceApplicationSkeleton))
#define EVINCE_APPLICATION_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), EVINCE_TYPE_APPLICATION_SKELETON, EvinceApplicationSkeletonClass))
#define EVINCE_APPLICATION_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EVINCE_TYPE_APPLICATION_SKELETON, EvinceApplicationSkeletonClass))
#define EVINCE_IS_APPLICATION_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EVINCE_TYPE_APPLICATION_SKELETON))
#define EVINCE_IS_APPLICATION_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EVINCE_TYPE_APPLICATION_SKELETON))

typedef struct _EvinceApplicationSkeleton EvinceApplicationSkeleton;
typedef struct _EvinceApplicationSkeletonClass EvinceApplicationSkeletonClass;
typedef struct _EvinceApplicationSkeletonPrivate EvinceApplicationSkeletonPrivate;

struct _EvinceApplicationSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  EvinceApplicationSkeletonPrivate *priv;
};

struct _EvinceApplicationSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType evince_application_skeleton_get_type (void) G_GNUC_CONST;

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

EvinceApplication *evince_application_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.evince.Window */

#define EVINCE_TYPE_WINDOW (evince_window_get_type ())
#define EVINCE_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EVINCE_TYPE_WINDOW, EvinceWindow))
#define EVINCE_IS_WINDOW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EVINCE_TYPE_WINDOW))
#define EVINCE_WINDOW_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), EVINCE_TYPE_WINDOW, EvinceWindowIface))

struct _EvinceWindow;
typedef struct _EvinceWindow EvinceWindow;
typedef struct _EvinceWindowIface EvinceWindowIface;

struct _EvinceWindowIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_sync_view) (
    EvinceWindow *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_source_file,
    GVariant *arg_source_point,
    guint arg_timestamp);

  void (*closed) (
    EvinceWindow *object);

  void (*sync_source) (
    EvinceWindow *object,
    const gchar *arg_source_file,
    GVariant *arg_source_point,
    guint arg_timestamp);

};

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

GType evince_window_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *evince_window_interface_info (void);
guint evince_window_override_properties (GObjectClass *klass, guint property_id_begin);


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



/* D-Bus signal emissions functions: */
void evince_window_emit_sync_source (
    EvinceWindow *object,
    const gchar *arg_source_file,
    GVariant *arg_source_point,
    guint arg_timestamp);

void evince_window_emit_closed (
    EvinceWindow *object);



/* D-Bus method calls: */
void evince_window_call_sync_view (
    EvinceWindow *proxy,
    const gchar *arg_source_file,
    GVariant *arg_source_point,
    guint arg_timestamp,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean evince_window_call_sync_view_finish (
    EvinceWindow *proxy,
    GAsyncResult *res,
    GError **error);

gboolean evince_window_call_sync_view_sync (
    EvinceWindow *proxy,
    const gchar *arg_source_file,
    GVariant *arg_source_point,
    guint arg_timestamp,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define EVINCE_TYPE_WINDOW_PROXY (evince_window_proxy_get_type ())
#define EVINCE_WINDOW_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EVINCE_TYPE_WINDOW_PROXY, EvinceWindowProxy))
#define EVINCE_WINDOW_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), EVINCE_TYPE_WINDOW_PROXY, EvinceWindowProxyClass))
#define EVINCE_WINDOW_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EVINCE_TYPE_WINDOW_PROXY, EvinceWindowProxyClass))
#define EVINCE_IS_WINDOW_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EVINCE_TYPE_WINDOW_PROXY))
#define EVINCE_IS_WINDOW_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EVINCE_TYPE_WINDOW_PROXY))

typedef struct _EvinceWindowProxy EvinceWindowProxy;
typedef struct _EvinceWindowProxyClass EvinceWindowProxyClass;
typedef struct _EvinceWindowProxyPrivate EvinceWindowProxyPrivate;

struct _EvinceWindowProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  EvinceWindowProxyPrivate *priv;
};

struct _EvinceWindowProxyClass
{
  GDBusProxyClass parent_class;
};

GType evince_window_proxy_get_type (void) G_GNUC_CONST;

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

void evince_window_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
EvinceWindow *evince_window_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
EvinceWindow *evince_window_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void evince_window_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
EvinceWindow *evince_window_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
EvinceWindow *evince_window_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define EVINCE_TYPE_WINDOW_SKELETON (evince_window_skeleton_get_type ())
#define EVINCE_WINDOW_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EVINCE_TYPE_WINDOW_SKELETON, EvinceWindowSkeleton))
#define EVINCE_WINDOW_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), EVINCE_TYPE_WINDOW_SKELETON, EvinceWindowSkeletonClass))
#define EVINCE_WINDOW_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EVINCE_TYPE_WINDOW_SKELETON, EvinceWindowSkeletonClass))
#define EVINCE_IS_WINDOW_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EVINCE_TYPE_WINDOW_SKELETON))
#define EVINCE_IS_WINDOW_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EVINCE_TYPE_WINDOW_SKELETON))

typedef struct _EvinceWindowSkeleton EvinceWindowSkeleton;
typedef struct _EvinceWindowSkeletonClass EvinceWindowSkeletonClass;
typedef struct _EvinceWindowSkeletonPrivate EvinceWindowSkeletonPrivate;

struct _EvinceWindowSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  EvinceWindowSkeletonPrivate *priv;
};

struct _EvinceWindowSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType evince_window_skeleton_get_type (void) G_GNUC_CONST;

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

EvinceWindow *evince_window_skeleton_new (void);


G_END_DECLS

#endif /* __EVINCE_GDBUS_GENERATED_H__ */
