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

#include <gio/gio.h>

G_BEGIN_DECLS


/* ------------------------------------------------------------------------ */
/* Declarations for org.freedesktop.Flatpak.Authenticator */

#define DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR (doc_org_freedesktop_flatpak_authenticator_get_type ())
#define DOC_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR, docOrgFreedesktopFlatpakAuthenticator))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR))
#define DOC_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR, docOrgFreedesktopFlatpakAuthenticatorIface))

struct _docOrgFreedesktopFlatpakAuthenticator;
typedef struct _docOrgFreedesktopFlatpakAuthenticator docOrgFreedesktopFlatpakAuthenticator;
typedef struct _docOrgFreedesktopFlatpakAuthenticatorIface docOrgFreedesktopFlatpakAuthenticatorIface;

struct _docOrgFreedesktopFlatpakAuthenticatorIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_request_ref_tokens) (
    docOrgFreedesktopFlatpakAuthenticator *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_handle_token,
    GVariant *arg_authenticator_options,
    const gchar *arg_remote,
    const gchar *arg_remote_uri,
    GVariant *arg_refs,
    GVariant *arg_options,
    const gchar *arg_parent_window);

  guint  (*get_version) (docOrgFreedesktopFlatpakAuthenticator *object);

};

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

GType doc_org_freedesktop_flatpak_authenticator_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *doc_org_freedesktop_flatpak_authenticator_interface_info (void);
guint doc_org_freedesktop_flatpak_authenticator_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void doc_org_freedesktop_flatpak_authenticator_complete_request_ref_tokens (
    docOrgFreedesktopFlatpakAuthenticator *object,
    GDBusMethodInvocation *invocation,
    const gchar *handle);



/* D-Bus method calls: */
void doc_org_freedesktop_flatpak_authenticator_call_request_ref_tokens (
    docOrgFreedesktopFlatpakAuthenticator *proxy,
    const gchar *arg_handle_token,
    GVariant *arg_authenticator_options,
    const gchar *arg_remote,
    const gchar *arg_remote_uri,
    GVariant *arg_refs,
    GVariant *arg_options,
    const gchar *arg_parent_window,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_authenticator_call_request_ref_tokens_finish (
    docOrgFreedesktopFlatpakAuthenticator *proxy,
    gchar **out_handle,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_authenticator_call_request_ref_tokens_sync (
    docOrgFreedesktopFlatpakAuthenticator *proxy,
    const gchar *arg_handle_token,
    GVariant *arg_authenticator_options,
    const gchar *arg_remote,
    const gchar *arg_remote_uri,
    GVariant *arg_refs,
    GVariant *arg_options,
    const gchar *arg_parent_window,
    gchar **out_handle,
    GCancellable *cancellable,
    GError **error);



/* D-Bus property accessors: */
guint doc_org_freedesktop_flatpak_authenticator_get_version (docOrgFreedesktopFlatpakAuthenticator *object);
void doc_org_freedesktop_flatpak_authenticator_set_version (docOrgFreedesktopFlatpakAuthenticator *object, guint value);


/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_PROXY (doc_org_freedesktop_flatpak_authenticator_proxy_get_type ())
#define DOC_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_PROXY, docOrgFreedesktopFlatpakAuthenticatorProxy))
#define DOC_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_PROXY, docOrgFreedesktopFlatpakAuthenticatorProxyClass))
#define DOC_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_PROXY, docOrgFreedesktopFlatpakAuthenticatorProxyClass))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_PROXY))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_PROXY))

typedef struct _docOrgFreedesktopFlatpakAuthenticatorProxy docOrgFreedesktopFlatpakAuthenticatorProxy;
typedef struct _docOrgFreedesktopFlatpakAuthenticatorProxyClass docOrgFreedesktopFlatpakAuthenticatorProxyClass;
typedef struct _docOrgFreedesktopFlatpakAuthenticatorProxyPrivate docOrgFreedesktopFlatpakAuthenticatorProxyPrivate;

struct _docOrgFreedesktopFlatpakAuthenticatorProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  docOrgFreedesktopFlatpakAuthenticatorProxyPrivate *priv;
};

struct _docOrgFreedesktopFlatpakAuthenticatorProxyClass
{
  GDBusProxyClass parent_class;
};

GType doc_org_freedesktop_flatpak_authenticator_proxy_get_type (void) G_GNUC_CONST;

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

void doc_org_freedesktop_flatpak_authenticator_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopFlatpakAuthenticator *doc_org_freedesktop_flatpak_authenticator_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopFlatpakAuthenticator *doc_org_freedesktop_flatpak_authenticator_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void doc_org_freedesktop_flatpak_authenticator_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopFlatpakAuthenticator *doc_org_freedesktop_flatpak_authenticator_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopFlatpakAuthenticator *doc_org_freedesktop_flatpak_authenticator_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_SKELETON (doc_org_freedesktop_flatpak_authenticator_skeleton_get_type ())
#define DOC_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_SKELETON, docOrgFreedesktopFlatpakAuthenticatorSkeleton))
#define DOC_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_SKELETON, docOrgFreedesktopFlatpakAuthenticatorSkeletonClass))
#define DOC_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_SKELETON, docOrgFreedesktopFlatpakAuthenticatorSkeletonClass))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_SKELETON))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_SKELETON))

typedef struct _docOrgFreedesktopFlatpakAuthenticatorSkeleton docOrgFreedesktopFlatpakAuthenticatorSkeleton;
typedef struct _docOrgFreedesktopFlatpakAuthenticatorSkeletonClass docOrgFreedesktopFlatpakAuthenticatorSkeletonClass;
typedef struct _docOrgFreedesktopFlatpakAuthenticatorSkeletonPrivate docOrgFreedesktopFlatpakAuthenticatorSkeletonPrivate;

struct _docOrgFreedesktopFlatpakAuthenticatorSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  docOrgFreedesktopFlatpakAuthenticatorSkeletonPrivate *priv;
};

struct _docOrgFreedesktopFlatpakAuthenticatorSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType doc_org_freedesktop_flatpak_authenticator_skeleton_get_type (void) G_GNUC_CONST;

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

docOrgFreedesktopFlatpakAuthenticator *doc_org_freedesktop_flatpak_authenticator_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.freedesktop.Flatpak.AuthenticatorRequest */

#define DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST (doc_org_freedesktop_flatpak_authenticator_request_get_type ())
#define DOC_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST, docOrgFreedesktopFlatpakAuthenticatorRequest))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST))
#define DOC_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST, docOrgFreedesktopFlatpakAuthenticatorRequestIface))

struct _docOrgFreedesktopFlatpakAuthenticatorRequest;
typedef struct _docOrgFreedesktopFlatpakAuthenticatorRequest docOrgFreedesktopFlatpakAuthenticatorRequest;
typedef struct _docOrgFreedesktopFlatpakAuthenticatorRequestIface docOrgFreedesktopFlatpakAuthenticatorRequestIface;

struct _docOrgFreedesktopFlatpakAuthenticatorRequestIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_basic_auth_reply) (
    docOrgFreedesktopFlatpakAuthenticatorRequest *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_user,
    const gchar *arg_password,
    GVariant *arg_options);

  gboolean (*handle_close) (
    docOrgFreedesktopFlatpakAuthenticatorRequest *object,
    GDBusMethodInvocation *invocation);

  void (*basic_auth) (
    docOrgFreedesktopFlatpakAuthenticatorRequest *object,
    const gchar *arg_realm,
    GVariant *arg_options);

  void (*response) (
    docOrgFreedesktopFlatpakAuthenticatorRequest *object,
    guint arg_response,
    GVariant *arg_results);

  void (*webflow) (
    docOrgFreedesktopFlatpakAuthenticatorRequest *object,
    const gchar *arg_uri,
    GVariant *arg_options);

  void (*webflow_done) (
    docOrgFreedesktopFlatpakAuthenticatorRequest *object,
    GVariant *arg_options);

};

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

GType doc_org_freedesktop_flatpak_authenticator_request_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *doc_org_freedesktop_flatpak_authenticator_request_interface_info (void);
guint doc_org_freedesktop_flatpak_authenticator_request_override_properties (GObjectClass *klass, guint property_id_begin);


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

void doc_org_freedesktop_flatpak_authenticator_request_complete_basic_auth_reply (
    docOrgFreedesktopFlatpakAuthenticatorRequest *object,
    GDBusMethodInvocation *invocation);



/* D-Bus signal emissions functions: */
void doc_org_freedesktop_flatpak_authenticator_request_emit_webflow (
    docOrgFreedesktopFlatpakAuthenticatorRequest *object,
    const gchar *arg_uri,
    GVariant *arg_options);

void doc_org_freedesktop_flatpak_authenticator_request_emit_webflow_done (
    docOrgFreedesktopFlatpakAuthenticatorRequest *object,
    GVariant *arg_options);

void doc_org_freedesktop_flatpak_authenticator_request_emit_basic_auth (
    docOrgFreedesktopFlatpakAuthenticatorRequest *object,
    const gchar *arg_realm,
    GVariant *arg_options);

void doc_org_freedesktop_flatpak_authenticator_request_emit_response (
    docOrgFreedesktopFlatpakAuthenticatorRequest *object,
    guint arg_response,
    GVariant *arg_results);



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

gboolean doc_org_freedesktop_flatpak_authenticator_request_call_close_finish (
    docOrgFreedesktopFlatpakAuthenticatorRequest *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_authenticator_request_call_close_sync (
    docOrgFreedesktopFlatpakAuthenticatorRequest *proxy,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_flatpak_authenticator_request_call_basic_auth_reply (
    docOrgFreedesktopFlatpakAuthenticatorRequest *proxy,
    const gchar *arg_user,
    const gchar *arg_password,
    GVariant *arg_options,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_authenticator_request_call_basic_auth_reply_finish (
    docOrgFreedesktopFlatpakAuthenticatorRequest *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_authenticator_request_call_basic_auth_reply_sync (
    docOrgFreedesktopFlatpakAuthenticatorRequest *proxy,
    const gchar *arg_user,
    const gchar *arg_password,
    GVariant *arg_options,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_PROXY (doc_org_freedesktop_flatpak_authenticator_request_proxy_get_type ())
#define DOC_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_PROXY, docOrgFreedesktopFlatpakAuthenticatorRequestProxy))
#define DOC_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_PROXY, docOrgFreedesktopFlatpakAuthenticatorRequestProxyClass))
#define DOC_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_PROXY, docOrgFreedesktopFlatpakAuthenticatorRequestProxyClass))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_PROXY))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_PROXY))

typedef struct _docOrgFreedesktopFlatpakAuthenticatorRequestProxy docOrgFreedesktopFlatpakAuthenticatorRequestProxy;
typedef struct _docOrgFreedesktopFlatpakAuthenticatorRequestProxyClass docOrgFreedesktopFlatpakAuthenticatorRequestProxyClass;
typedef struct _docOrgFreedesktopFlatpakAuthenticatorRequestProxyPrivate docOrgFreedesktopFlatpakAuthenticatorRequestProxyPrivate;

struct _docOrgFreedesktopFlatpakAuthenticatorRequestProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  docOrgFreedesktopFlatpakAuthenticatorRequestProxyPrivate *priv;
};

struct _docOrgFreedesktopFlatpakAuthenticatorRequestProxyClass
{
  GDBusProxyClass parent_class;
};

GType doc_org_freedesktop_flatpak_authenticator_request_proxy_get_type (void) G_GNUC_CONST;

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

void doc_org_freedesktop_flatpak_authenticator_request_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopFlatpakAuthenticatorRequest *doc_org_freedesktop_flatpak_authenticator_request_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopFlatpakAuthenticatorRequest *doc_org_freedesktop_flatpak_authenticator_request_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void doc_org_freedesktop_flatpak_authenticator_request_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopFlatpakAuthenticatorRequest *doc_org_freedesktop_flatpak_authenticator_request_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopFlatpakAuthenticatorRequest *doc_org_freedesktop_flatpak_authenticator_request_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_SKELETON (doc_org_freedesktop_flatpak_authenticator_request_skeleton_get_type ())
#define DOC_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_SKELETON, docOrgFreedesktopFlatpakAuthenticatorRequestSkeleton))
#define DOC_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_SKELETON, docOrgFreedesktopFlatpakAuthenticatorRequestSkeletonClass))
#define DOC_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_SKELETON, docOrgFreedesktopFlatpakAuthenticatorRequestSkeletonClass))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_SKELETON))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_AUTHENTICATOR_REQUEST_SKELETON))

typedef struct _docOrgFreedesktopFlatpakAuthenticatorRequestSkeleton docOrgFreedesktopFlatpakAuthenticatorRequestSkeleton;
typedef struct _docOrgFreedesktopFlatpakAuthenticatorRequestSkeletonClass docOrgFreedesktopFlatpakAuthenticatorRequestSkeletonClass;
typedef struct _docOrgFreedesktopFlatpakAuthenticatorRequestSkeletonPrivate docOrgFreedesktopFlatpakAuthenticatorRequestSkeletonPrivate;

struct _docOrgFreedesktopFlatpakAuthenticatorRequestSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  docOrgFreedesktopFlatpakAuthenticatorRequestSkeletonPrivate *priv;
};

struct _docOrgFreedesktopFlatpakAuthenticatorRequestSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType doc_org_freedesktop_flatpak_authenticator_request_skeleton_get_type (void) G_GNUC_CONST;

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

docOrgFreedesktopFlatpakAuthenticatorRequest *doc_org_freedesktop_flatpak_authenticator_request_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.freedesktop.Flatpak.SessionHelper */

#define DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER (doc_org_freedesktop_flatpak_session_helper_get_type ())
#define DOC_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER, docOrgFreedesktopFlatpakSessionHelper))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER))
#define DOC_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER, docOrgFreedesktopFlatpakSessionHelperIface))

struct _docOrgFreedesktopFlatpakSessionHelper;
typedef struct _docOrgFreedesktopFlatpakSessionHelper docOrgFreedesktopFlatpakSessionHelper;
typedef struct _docOrgFreedesktopFlatpakSessionHelperIface docOrgFreedesktopFlatpakSessionHelperIface;

struct _docOrgFreedesktopFlatpakSessionHelperIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_request_session) (
    docOrgFreedesktopFlatpakSessionHelper *object,
    GDBusMethodInvocation *invocation);

  guint  (*get_version) (docOrgFreedesktopFlatpakSessionHelper *object);

};

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

GType doc_org_freedesktop_flatpak_session_helper_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *doc_org_freedesktop_flatpak_session_helper_interface_info (void);
guint doc_org_freedesktop_flatpak_session_helper_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void doc_org_freedesktop_flatpak_session_helper_complete_request_session (
    docOrgFreedesktopFlatpakSessionHelper *object,
    GDBusMethodInvocation *invocation,
    GVariant *data);



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

gboolean doc_org_freedesktop_flatpak_session_helper_call_request_session_finish (
    docOrgFreedesktopFlatpakSessionHelper *proxy,
    GVariant **out_data,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_session_helper_call_request_session_sync (
    docOrgFreedesktopFlatpakSessionHelper *proxy,
    GVariant **out_data,
    GCancellable *cancellable,
    GError **error);



/* D-Bus property accessors: */
guint doc_org_freedesktop_flatpak_session_helper_get_version (docOrgFreedesktopFlatpakSessionHelper *object);
void doc_org_freedesktop_flatpak_session_helper_set_version (docOrgFreedesktopFlatpakSessionHelper *object, guint value);


/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_PROXY (doc_org_freedesktop_flatpak_session_helper_proxy_get_type ())
#define DOC_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_PROXY, docOrgFreedesktopFlatpakSessionHelperProxy))
#define DOC_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_PROXY, docOrgFreedesktopFlatpakSessionHelperProxyClass))
#define DOC_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_PROXY, docOrgFreedesktopFlatpakSessionHelperProxyClass))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_PROXY))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_PROXY))

typedef struct _docOrgFreedesktopFlatpakSessionHelperProxy docOrgFreedesktopFlatpakSessionHelperProxy;
typedef struct _docOrgFreedesktopFlatpakSessionHelperProxyClass docOrgFreedesktopFlatpakSessionHelperProxyClass;
typedef struct _docOrgFreedesktopFlatpakSessionHelperProxyPrivate docOrgFreedesktopFlatpakSessionHelperProxyPrivate;

struct _docOrgFreedesktopFlatpakSessionHelperProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  docOrgFreedesktopFlatpakSessionHelperProxyPrivate *priv;
};

struct _docOrgFreedesktopFlatpakSessionHelperProxyClass
{
  GDBusProxyClass parent_class;
};

GType doc_org_freedesktop_flatpak_session_helper_proxy_get_type (void) G_GNUC_CONST;

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

void doc_org_freedesktop_flatpak_session_helper_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopFlatpakSessionHelper *doc_org_freedesktop_flatpak_session_helper_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopFlatpakSessionHelper *doc_org_freedesktop_flatpak_session_helper_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void doc_org_freedesktop_flatpak_session_helper_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopFlatpakSessionHelper *doc_org_freedesktop_flatpak_session_helper_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopFlatpakSessionHelper *doc_org_freedesktop_flatpak_session_helper_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_SKELETON (doc_org_freedesktop_flatpak_session_helper_skeleton_get_type ())
#define DOC_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_SKELETON, docOrgFreedesktopFlatpakSessionHelperSkeleton))
#define DOC_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_SKELETON, docOrgFreedesktopFlatpakSessionHelperSkeletonClass))
#define DOC_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_SKELETON, docOrgFreedesktopFlatpakSessionHelperSkeletonClass))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_SKELETON))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SESSION_HELPER_SKELETON))

typedef struct _docOrgFreedesktopFlatpakSessionHelperSkeleton docOrgFreedesktopFlatpakSessionHelperSkeleton;
typedef struct _docOrgFreedesktopFlatpakSessionHelperSkeletonClass docOrgFreedesktopFlatpakSessionHelperSkeletonClass;
typedef struct _docOrgFreedesktopFlatpakSessionHelperSkeletonPrivate docOrgFreedesktopFlatpakSessionHelperSkeletonPrivate;

struct _docOrgFreedesktopFlatpakSessionHelperSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  docOrgFreedesktopFlatpakSessionHelperSkeletonPrivate *priv;
};

struct _docOrgFreedesktopFlatpakSessionHelperSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType doc_org_freedesktop_flatpak_session_helper_skeleton_get_type (void) G_GNUC_CONST;

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

docOrgFreedesktopFlatpakSessionHelper *doc_org_freedesktop_flatpak_session_helper_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.freedesktop.Flatpak.Development */

#define DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT (doc_org_freedesktop_flatpak_development_get_type ())
#define DOC_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT, docOrgFreedesktopFlatpakDevelopment))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT))
#define DOC_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT, docOrgFreedesktopFlatpakDevelopmentIface))

struct _docOrgFreedesktopFlatpakDevelopment;
typedef struct _docOrgFreedesktopFlatpakDevelopment docOrgFreedesktopFlatpakDevelopment;
typedef struct _docOrgFreedesktopFlatpakDevelopmentIface docOrgFreedesktopFlatpakDevelopmentIface;

struct _docOrgFreedesktopFlatpakDevelopmentIface
{
  GTypeInterface parent_iface;



  gboolean (*handle_host_command) (
    docOrgFreedesktopFlatpakDevelopment *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    const gchar *arg_cwd_path,
    const gchar *const *arg_argv,
    GVariant *arg_fds,
    GVariant *arg_envs,
    guint arg_flags);

  gboolean (*handle_host_command_signal) (
    docOrgFreedesktopFlatpakDevelopment *object,
    GDBusMethodInvocation *invocation,
    guint arg_pid,
    guint arg_signal,
    gboolean arg_to_process_group);

  guint  (*get_version) (docOrgFreedesktopFlatpakDevelopment *object);

  void (*host_command_exited) (
    docOrgFreedesktopFlatpakDevelopment *object,
    guint arg_pid,
    guint arg_exit_status);

};

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

GType doc_org_freedesktop_flatpak_development_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *doc_org_freedesktop_flatpak_development_interface_info (void);
guint doc_org_freedesktop_flatpak_development_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void doc_org_freedesktop_flatpak_development_complete_host_command (
    docOrgFreedesktopFlatpakDevelopment *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    guint pid);

void doc_org_freedesktop_flatpak_development_complete_host_command_signal (
    docOrgFreedesktopFlatpakDevelopment *object,
    GDBusMethodInvocation *invocation);



/* D-Bus signal emissions functions: */
void doc_org_freedesktop_flatpak_development_emit_host_command_exited (
    docOrgFreedesktopFlatpakDevelopment *object,
    guint arg_pid,
    guint arg_exit_status);



/* D-Bus method calls: */
void doc_org_freedesktop_flatpak_development_call_host_command (
    docOrgFreedesktopFlatpakDevelopment *proxy,
    const gchar *arg_cwd_path,
    const gchar *const *arg_argv,
    GVariant *arg_fds,
    GVariant *arg_envs,
    guint arg_flags,
    GUnixFDList *fd_list,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_development_call_host_command_finish (
    docOrgFreedesktopFlatpakDevelopment *proxy,
    guint *out_pid,
    GUnixFDList **out_fd_list,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_development_call_host_command_sync (
    docOrgFreedesktopFlatpakDevelopment *proxy,
    const gchar *arg_cwd_path,
    const gchar *const *arg_argv,
    GVariant *arg_fds,
    GVariant *arg_envs,
    guint arg_flags,
    GUnixFDList  *fd_list,
    guint *out_pid,
    GUnixFDList **out_fd_list,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_flatpak_development_call_host_command_signal (
    docOrgFreedesktopFlatpakDevelopment *proxy,
    guint arg_pid,
    guint arg_signal,
    gboolean arg_to_process_group,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_development_call_host_command_signal_finish (
    docOrgFreedesktopFlatpakDevelopment *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_development_call_host_command_signal_sync (
    docOrgFreedesktopFlatpakDevelopment *proxy,
    guint arg_pid,
    guint arg_signal,
    gboolean arg_to_process_group,
    GCancellable *cancellable,
    GError **error);



/* D-Bus property accessors: */
guint doc_org_freedesktop_flatpak_development_get_version (docOrgFreedesktopFlatpakDevelopment *object);
void doc_org_freedesktop_flatpak_development_set_version (docOrgFreedesktopFlatpakDevelopment *object, guint value);


/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_PROXY (doc_org_freedesktop_flatpak_development_proxy_get_type ())
#define DOC_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_PROXY, docOrgFreedesktopFlatpakDevelopmentProxy))
#define DOC_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_PROXY, docOrgFreedesktopFlatpakDevelopmentProxyClass))
#define DOC_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_PROXY, docOrgFreedesktopFlatpakDevelopmentProxyClass))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_PROXY))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_PROXY))

typedef struct _docOrgFreedesktopFlatpakDevelopmentProxy docOrgFreedesktopFlatpakDevelopmentProxy;
typedef struct _docOrgFreedesktopFlatpakDevelopmentProxyClass docOrgFreedesktopFlatpakDevelopmentProxyClass;
typedef struct _docOrgFreedesktopFlatpakDevelopmentProxyPrivate docOrgFreedesktopFlatpakDevelopmentProxyPrivate;

struct _docOrgFreedesktopFlatpakDevelopmentProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  docOrgFreedesktopFlatpakDevelopmentProxyPrivate *priv;
};

struct _docOrgFreedesktopFlatpakDevelopmentProxyClass
{
  GDBusProxyClass parent_class;
};

GType doc_org_freedesktop_flatpak_development_proxy_get_type (void) G_GNUC_CONST;

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

void doc_org_freedesktop_flatpak_development_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopFlatpakDevelopment *doc_org_freedesktop_flatpak_development_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopFlatpakDevelopment *doc_org_freedesktop_flatpak_development_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void doc_org_freedesktop_flatpak_development_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopFlatpakDevelopment *doc_org_freedesktop_flatpak_development_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopFlatpakDevelopment *doc_org_freedesktop_flatpak_development_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_SKELETON (doc_org_freedesktop_flatpak_development_skeleton_get_type ())
#define DOC_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_SKELETON, docOrgFreedesktopFlatpakDevelopmentSkeleton))
#define DOC_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_SKELETON, docOrgFreedesktopFlatpakDevelopmentSkeletonClass))
#define DOC_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_SKELETON, docOrgFreedesktopFlatpakDevelopmentSkeletonClass))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_SKELETON))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_DEVELOPMENT_SKELETON))

typedef struct _docOrgFreedesktopFlatpakDevelopmentSkeleton docOrgFreedesktopFlatpakDevelopmentSkeleton;
typedef struct _docOrgFreedesktopFlatpakDevelopmentSkeletonClass docOrgFreedesktopFlatpakDevelopmentSkeletonClass;
typedef struct _docOrgFreedesktopFlatpakDevelopmentSkeletonPrivate docOrgFreedesktopFlatpakDevelopmentSkeletonPrivate;

struct _docOrgFreedesktopFlatpakDevelopmentSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  docOrgFreedesktopFlatpakDevelopmentSkeletonPrivate *priv;
};

struct _docOrgFreedesktopFlatpakDevelopmentSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType doc_org_freedesktop_flatpak_development_skeleton_get_type (void) G_GNUC_CONST;

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

docOrgFreedesktopFlatpakDevelopment *doc_org_freedesktop_flatpak_development_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.freedesktop.Flatpak.SystemHelper */

#define DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER (doc_org_freedesktop_flatpak_system_helper_get_type ())
#define DOC_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER, docOrgFreedesktopFlatpakSystemHelper))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER))
#define DOC_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER, docOrgFreedesktopFlatpakSystemHelperIface))

struct _docOrgFreedesktopFlatpakSystemHelper;
typedef struct _docOrgFreedesktopFlatpakSystemHelper docOrgFreedesktopFlatpakSystemHelper;
typedef struct _docOrgFreedesktopFlatpakSystemHelperIface docOrgFreedesktopFlatpakSystemHelperIface;

struct _docOrgFreedesktopFlatpakSystemHelperIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_cancel_pull) (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    guint arg_flags,
    const gchar *arg_installation,
    const gchar *arg_src_dir);

  gboolean (*handle_configure) (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    guint arg_flags,
    const gchar *arg_key,
    const gchar *arg_value,
    const gchar *arg_installation);

  gboolean (*handle_configure_remote) (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    guint arg_flags,
    const gchar *arg_remote,
    const gchar *arg_config,
    GVariant *arg_gpg_key,
    const gchar *arg_installation);

  gboolean (*handle_deploy) (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_repo_path,
    guint arg_flags,
    const gchar *arg_ref,
    const gchar *arg_origin,
    const gchar *const *arg_subpaths,
    const gchar *const *arg_previous_ids,
    const gchar *arg_installation);

  gboolean (*handle_deploy_appstream) (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_repo_path,
    guint arg_flags,
    const gchar *arg_origin,
    const gchar *arg_arch,
    const gchar *arg_installation);

  gboolean (*handle_ensure_repo) (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    guint arg_flags,
    const gchar *arg_installation);

  gboolean (*handle_generate_oci_summary) (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    guint arg_flags,
    const gchar *arg_origin,
    const gchar *arg_installation);

  gboolean (*handle_get_revokefs_fd) (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    guint arg_flags,
    const gchar *arg_installation);

  gboolean (*handle_install_bundle) (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_bundle_path,
    guint arg_flags,
    const gchar *arg_remote,
    const gchar *arg_installation);

  gboolean (*handle_prune_local_repo) (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    guint arg_flags,
    const gchar *arg_installation);

  gboolean (*handle_remove_local_ref) (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    guint arg_flags,
    const gchar *arg_remote,
    const gchar *arg_ref,
    const gchar *arg_installation);

  gboolean (*handle_run_triggers) (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    guint arg_flags,
    const gchar *arg_installation);

  gboolean (*handle_uninstall) (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    guint arg_flags,
    const gchar *arg_ref,
    const gchar *arg_installation);

  gboolean (*handle_update_remote) (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    guint arg_flags,
    const gchar *arg_remote,
    const gchar *arg_installation,
    const gchar *arg_summary_path,
    const gchar *arg_summary_sig_path);

  gboolean (*handle_update_summary) (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    guint arg_flags,
    const gchar *arg_installation);

  guint  (*get_version) (docOrgFreedesktopFlatpakSystemHelper *object);

};

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

GType doc_org_freedesktop_flatpak_system_helper_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *doc_org_freedesktop_flatpak_system_helper_interface_info (void);
guint doc_org_freedesktop_flatpak_system_helper_override_properties (GObjectClass *klass, guint property_id_begin);


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

void doc_org_freedesktop_flatpak_system_helper_complete_deploy_appstream (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_flatpak_system_helper_complete_uninstall (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_flatpak_system_helper_complete_install_bundle (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    const gchar *ref);

void doc_org_freedesktop_flatpak_system_helper_complete_configure_remote (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_flatpak_system_helper_complete_configure (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_flatpak_system_helper_complete_update_remote (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_flatpak_system_helper_complete_remove_local_ref (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_flatpak_system_helper_complete_prune_local_repo (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_flatpak_system_helper_complete_run_triggers (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_flatpak_system_helper_complete_ensure_repo (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_flatpak_system_helper_complete_update_summary (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_flatpak_system_helper_complete_generate_oci_summary (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_flatpak_system_helper_complete_cancel_pull (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_flatpak_system_helper_complete_get_revokefs_fd (
    docOrgFreedesktopFlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    GVariant *fd_index,
    const gchar *src_dir);



/* D-Bus method calls: */
void doc_org_freedesktop_flatpak_system_helper_call_deploy (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    const gchar *arg_repo_path,
    guint arg_flags,
    const gchar *arg_ref,
    const gchar *arg_origin,
    const gchar *const *arg_subpaths,
    const gchar *const *arg_previous_ids,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_system_helper_call_deploy_finish (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_system_helper_call_deploy_sync (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    const gchar *arg_repo_path,
    guint arg_flags,
    const gchar *arg_ref,
    const gchar *arg_origin,
    const gchar *const *arg_subpaths,
    const gchar *const *arg_previous_ids,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_flatpak_system_helper_call_deploy_appstream (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    const gchar *arg_repo_path,
    guint arg_flags,
    const gchar *arg_origin,
    const gchar *arg_arch,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_system_helper_call_deploy_appstream_finish (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_system_helper_call_deploy_appstream_sync (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    const gchar *arg_repo_path,
    guint arg_flags,
    const gchar *arg_origin,
    const gchar *arg_arch,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_flatpak_system_helper_call_uninstall (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_ref,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_system_helper_call_uninstall_finish (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_system_helper_call_uninstall_sync (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_ref,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_flatpak_system_helper_call_install_bundle (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    const gchar *arg_bundle_path,
    guint arg_flags,
    const gchar *arg_remote,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_system_helper_call_install_bundle_finish (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    gchar **out_ref,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_system_helper_call_install_bundle_sync (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    const gchar *arg_bundle_path,
    guint arg_flags,
    const gchar *arg_remote,
    const gchar *arg_installation,
    gchar **out_ref,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_flatpak_system_helper_call_configure_remote (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_remote,
    const gchar *arg_config,
    GVariant *arg_gpg_key,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_system_helper_call_configure_remote_finish (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_system_helper_call_configure_remote_sync (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_remote,
    const gchar *arg_config,
    GVariant *arg_gpg_key,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_flatpak_system_helper_call_configure (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_key,
    const gchar *arg_value,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_system_helper_call_configure_finish (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_system_helper_call_configure_sync (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_key,
    const gchar *arg_value,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_flatpak_system_helper_call_update_remote (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_remote,
    const gchar *arg_installation,
    const gchar *arg_summary_path,
    const gchar *arg_summary_sig_path,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_system_helper_call_update_remote_finish (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_system_helper_call_update_remote_sync (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_remote,
    const gchar *arg_installation,
    const gchar *arg_summary_path,
    const gchar *arg_summary_sig_path,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_flatpak_system_helper_call_remove_local_ref (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_remote,
    const gchar *arg_ref,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_system_helper_call_remove_local_ref_finish (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_system_helper_call_remove_local_ref_sync (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_remote,
    const gchar *arg_ref,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_flatpak_system_helper_call_prune_local_repo (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_system_helper_call_prune_local_repo_finish (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_system_helper_call_prune_local_repo_sync (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_flatpak_system_helper_call_run_triggers (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_system_helper_call_run_triggers_finish (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_system_helper_call_run_triggers_sync (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_flatpak_system_helper_call_ensure_repo (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_system_helper_call_ensure_repo_finish (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_system_helper_call_ensure_repo_sync (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_flatpak_system_helper_call_update_summary (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_system_helper_call_update_summary_finish (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_system_helper_call_update_summary_sync (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_flatpak_system_helper_call_generate_oci_summary (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_origin,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_system_helper_call_generate_oci_summary_finish (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_system_helper_call_generate_oci_summary_sync (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_origin,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_flatpak_system_helper_call_cancel_pull (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_installation,
    const gchar *arg_src_dir,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_system_helper_call_cancel_pull_finish (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_system_helper_call_cancel_pull_sync (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_installation,
    const gchar *arg_src_dir,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_flatpak_system_helper_call_get_revokefs_fd (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_installation,
    GUnixFDList *fd_list,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_flatpak_system_helper_call_get_revokefs_fd_finish (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    GVariant **out_fd_index,
    gchar **out_src_dir,
    GUnixFDList **out_fd_list,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_flatpak_system_helper_call_get_revokefs_fd_sync (
    docOrgFreedesktopFlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_installation,
    GUnixFDList  *fd_list,
    GVariant **out_fd_index,
    gchar **out_src_dir,
    GUnixFDList **out_fd_list,
    GCancellable *cancellable,
    GError **error);



/* D-Bus property accessors: */
guint doc_org_freedesktop_flatpak_system_helper_get_version (docOrgFreedesktopFlatpakSystemHelper *object);
void doc_org_freedesktop_flatpak_system_helper_set_version (docOrgFreedesktopFlatpakSystemHelper *object, guint value);


/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_PROXY (doc_org_freedesktop_flatpak_system_helper_proxy_get_type ())
#define DOC_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_PROXY, docOrgFreedesktopFlatpakSystemHelperProxy))
#define DOC_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_PROXY, docOrgFreedesktopFlatpakSystemHelperProxyClass))
#define DOC_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_PROXY, docOrgFreedesktopFlatpakSystemHelperProxyClass))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_PROXY))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_PROXY))

typedef struct _docOrgFreedesktopFlatpakSystemHelperProxy docOrgFreedesktopFlatpakSystemHelperProxy;
typedef struct _docOrgFreedesktopFlatpakSystemHelperProxyClass docOrgFreedesktopFlatpakSystemHelperProxyClass;
typedef struct _docOrgFreedesktopFlatpakSystemHelperProxyPrivate docOrgFreedesktopFlatpakSystemHelperProxyPrivate;

struct _docOrgFreedesktopFlatpakSystemHelperProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  docOrgFreedesktopFlatpakSystemHelperProxyPrivate *priv;
};

struct _docOrgFreedesktopFlatpakSystemHelperProxyClass
{
  GDBusProxyClass parent_class;
};

GType doc_org_freedesktop_flatpak_system_helper_proxy_get_type (void) G_GNUC_CONST;

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

void doc_org_freedesktop_flatpak_system_helper_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopFlatpakSystemHelper *doc_org_freedesktop_flatpak_system_helper_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopFlatpakSystemHelper *doc_org_freedesktop_flatpak_system_helper_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void doc_org_freedesktop_flatpak_system_helper_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopFlatpakSystemHelper *doc_org_freedesktop_flatpak_system_helper_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopFlatpakSystemHelper *doc_org_freedesktop_flatpak_system_helper_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_SKELETON (doc_org_freedesktop_flatpak_system_helper_skeleton_get_type ())
#define DOC_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_SKELETON, docOrgFreedesktopFlatpakSystemHelperSkeleton))
#define DOC_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_SKELETON, docOrgFreedesktopFlatpakSystemHelperSkeletonClass))
#define DOC_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_SKELETON, docOrgFreedesktopFlatpakSystemHelperSkeletonClass))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_SKELETON))
#define DOC_IS_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_FLATPAK_SYSTEM_HELPER_SKELETON))

typedef struct _docOrgFreedesktopFlatpakSystemHelperSkeleton docOrgFreedesktopFlatpakSystemHelperSkeleton;
typedef struct _docOrgFreedesktopFlatpakSystemHelperSkeletonClass docOrgFreedesktopFlatpakSystemHelperSkeletonClass;
typedef struct _docOrgFreedesktopFlatpakSystemHelperSkeletonPrivate docOrgFreedesktopFlatpakSystemHelperSkeletonPrivate;

struct _docOrgFreedesktopFlatpakSystemHelperSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  docOrgFreedesktopFlatpakSystemHelperSkeletonPrivate *priv;
};

struct _docOrgFreedesktopFlatpakSystemHelperSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType doc_org_freedesktop_flatpak_system_helper_skeleton_get_type (void) G_GNUC_CONST;

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

docOrgFreedesktopFlatpakSystemHelper *doc_org_freedesktop_flatpak_system_helper_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.freedesktop.impl.portal.PermissionStore */

#define DOC_TYPE_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE (doc_org_freedesktop_impl_portal_permission_store_get_type ())
#define DOC_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE, docOrgFreedesktopImplPortalPermissionStore))
#define DOC_IS_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE))
#define DOC_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), DOC_TYPE_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE, docOrgFreedesktopImplPortalPermissionStoreIface))

struct _docOrgFreedesktopImplPortalPermissionStore;
typedef struct _docOrgFreedesktopImplPortalPermissionStore docOrgFreedesktopImplPortalPermissionStore;
typedef struct _docOrgFreedesktopImplPortalPermissionStoreIface docOrgFreedesktopImplPortalPermissionStoreIface;

struct _docOrgFreedesktopImplPortalPermissionStoreIface
{
  GTypeInterface parent_iface;



  gboolean (*handle_delete) (
    docOrgFreedesktopImplPortalPermissionStore *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_table,
    const gchar *arg_id);

  gboolean (*handle_delete_permission) (
    docOrgFreedesktopImplPortalPermissionStore *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_table,
    const gchar *arg_id,
    const gchar *arg_app);

  gboolean (*handle_list) (
    docOrgFreedesktopImplPortalPermissionStore *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_table);

  gboolean (*handle_lookup) (
    docOrgFreedesktopImplPortalPermissionStore *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_table,
    const gchar *arg_id);

  gboolean (*handle_set) (
    docOrgFreedesktopImplPortalPermissionStore *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_table,
    gboolean arg_create,
    const gchar *arg_id,
    GVariant *arg_app_permissions,
    GVariant *arg_data);

  gboolean (*handle_set_permission) (
    docOrgFreedesktopImplPortalPermissionStore *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_table,
    gboolean arg_create,
    const gchar *arg_id,
    const gchar *arg_app,
    const gchar *const *arg_permissions);

  gboolean (*handle_set_value) (
    docOrgFreedesktopImplPortalPermissionStore *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_table,
    gboolean arg_create,
    const gchar *arg_id,
    GVariant *arg_data);

  guint  (*get_version) (docOrgFreedesktopImplPortalPermissionStore *object);

  void (*changed) (
    docOrgFreedesktopImplPortalPermissionStore *object,
    const gchar *arg_table,
    const gchar *arg_id,
    gboolean arg_deleted,
    GVariant *arg_data,
    GVariant *arg_permissions);

};

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

GType doc_org_freedesktop_impl_portal_permission_store_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *doc_org_freedesktop_impl_portal_permission_store_interface_info (void);
guint doc_org_freedesktop_impl_portal_permission_store_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void doc_org_freedesktop_impl_portal_permission_store_complete_lookup (
    docOrgFreedesktopImplPortalPermissionStore *object,
    GDBusMethodInvocation *invocation,
    GVariant *permissions,
    GVariant *data);

void doc_org_freedesktop_impl_portal_permission_store_complete_set (
    docOrgFreedesktopImplPortalPermissionStore *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_impl_portal_permission_store_complete_delete (
    docOrgFreedesktopImplPortalPermissionStore *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_impl_portal_permission_store_complete_set_value (
    docOrgFreedesktopImplPortalPermissionStore *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_impl_portal_permission_store_complete_set_permission (
    docOrgFreedesktopImplPortalPermissionStore *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_impl_portal_permission_store_complete_delete_permission (
    docOrgFreedesktopImplPortalPermissionStore *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_impl_portal_permission_store_complete_list (
    docOrgFreedesktopImplPortalPermissionStore *object,
    GDBusMethodInvocation *invocation,
    const gchar *const *ids);



/* D-Bus signal emissions functions: */
void doc_org_freedesktop_impl_portal_permission_store_emit_changed (
    docOrgFreedesktopImplPortalPermissionStore *object,
    const gchar *arg_table,
    const gchar *arg_id,
    gboolean arg_deleted,
    GVariant *arg_data,
    GVariant *arg_permissions);



/* D-Bus method calls: */
void doc_org_freedesktop_impl_portal_permission_store_call_lookup (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    const gchar *arg_table,
    const gchar *arg_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_impl_portal_permission_store_call_lookup_finish (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    GVariant **out_permissions,
    GVariant **out_data,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_impl_portal_permission_store_call_lookup_sync (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    const gchar *arg_table,
    const gchar *arg_id,
    GVariant **out_permissions,
    GVariant **out_data,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_impl_portal_permission_store_call_set (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    const gchar *arg_table,
    gboolean arg_create,
    const gchar *arg_id,
    GVariant *arg_app_permissions,
    GVariant *arg_data,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_impl_portal_permission_store_call_set_finish (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_impl_portal_permission_store_call_set_sync (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    const gchar *arg_table,
    gboolean arg_create,
    const gchar *arg_id,
    GVariant *arg_app_permissions,
    GVariant *arg_data,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_impl_portal_permission_store_call_delete (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    const gchar *arg_table,
    const gchar *arg_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_impl_portal_permission_store_call_delete_finish (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_impl_portal_permission_store_call_delete_sync (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    const gchar *arg_table,
    const gchar *arg_id,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_impl_portal_permission_store_call_set_value (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    const gchar *arg_table,
    gboolean arg_create,
    const gchar *arg_id,
    GVariant *arg_data,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_impl_portal_permission_store_call_set_value_finish (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_impl_portal_permission_store_call_set_value_sync (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    const gchar *arg_table,
    gboolean arg_create,
    const gchar *arg_id,
    GVariant *arg_data,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_impl_portal_permission_store_call_set_permission (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    const gchar *arg_table,
    gboolean arg_create,
    const gchar *arg_id,
    const gchar *arg_app,
    const gchar *const *arg_permissions,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_impl_portal_permission_store_call_set_permission_finish (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_impl_portal_permission_store_call_set_permission_sync (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    const gchar *arg_table,
    gboolean arg_create,
    const gchar *arg_id,
    const gchar *arg_app,
    const gchar *const *arg_permissions,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_impl_portal_permission_store_call_delete_permission (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    const gchar *arg_table,
    const gchar *arg_id,
    const gchar *arg_app,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_impl_portal_permission_store_call_delete_permission_finish (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_impl_portal_permission_store_call_delete_permission_sync (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    const gchar *arg_table,
    const gchar *arg_id,
    const gchar *arg_app,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_impl_portal_permission_store_call_list (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    const gchar *arg_table,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_impl_portal_permission_store_call_list_finish (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    gchar ***out_ids,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_impl_portal_permission_store_call_list_sync (
    docOrgFreedesktopImplPortalPermissionStore *proxy,
    const gchar *arg_table,
    gchar ***out_ids,
    GCancellable *cancellable,
    GError **error);



/* D-Bus property accessors: */
guint doc_org_freedesktop_impl_portal_permission_store_get_version (docOrgFreedesktopImplPortalPermissionStore *object);
void doc_org_freedesktop_impl_portal_permission_store_set_version (docOrgFreedesktopImplPortalPermissionStore *object, guint value);


/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_PROXY (doc_org_freedesktop_impl_portal_permission_store_proxy_get_type ())
#define DOC_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_PROXY, docOrgFreedesktopImplPortalPermissionStoreProxy))
#define DOC_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_PROXY, docOrgFreedesktopImplPortalPermissionStoreProxyClass))
#define DOC_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_PROXY, docOrgFreedesktopImplPortalPermissionStoreProxyClass))
#define DOC_IS_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_PROXY))
#define DOC_IS_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_PROXY))

typedef struct _docOrgFreedesktopImplPortalPermissionStoreProxy docOrgFreedesktopImplPortalPermissionStoreProxy;
typedef struct _docOrgFreedesktopImplPortalPermissionStoreProxyClass docOrgFreedesktopImplPortalPermissionStoreProxyClass;
typedef struct _docOrgFreedesktopImplPortalPermissionStoreProxyPrivate docOrgFreedesktopImplPortalPermissionStoreProxyPrivate;

struct _docOrgFreedesktopImplPortalPermissionStoreProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  docOrgFreedesktopImplPortalPermissionStoreProxyPrivate *priv;
};

struct _docOrgFreedesktopImplPortalPermissionStoreProxyClass
{
  GDBusProxyClass parent_class;
};

GType doc_org_freedesktop_impl_portal_permission_store_proxy_get_type (void) G_GNUC_CONST;

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

void doc_org_freedesktop_impl_portal_permission_store_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopImplPortalPermissionStore *doc_org_freedesktop_impl_portal_permission_store_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopImplPortalPermissionStore *doc_org_freedesktop_impl_portal_permission_store_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void doc_org_freedesktop_impl_portal_permission_store_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopImplPortalPermissionStore *doc_org_freedesktop_impl_portal_permission_store_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopImplPortalPermissionStore *doc_org_freedesktop_impl_portal_permission_store_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_SKELETON (doc_org_freedesktop_impl_portal_permission_store_skeleton_get_type ())
#define DOC_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_SKELETON, docOrgFreedesktopImplPortalPermissionStoreSkeleton))
#define DOC_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_SKELETON, docOrgFreedesktopImplPortalPermissionStoreSkeletonClass))
#define DOC_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_SKELETON, docOrgFreedesktopImplPortalPermissionStoreSkeletonClass))
#define DOC_IS_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_SKELETON))
#define DOC_IS_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_IMPL_PORTAL_PERMISSION_STORE_SKELETON))

typedef struct _docOrgFreedesktopImplPortalPermissionStoreSkeleton docOrgFreedesktopImplPortalPermissionStoreSkeleton;
typedef struct _docOrgFreedesktopImplPortalPermissionStoreSkeletonClass docOrgFreedesktopImplPortalPermissionStoreSkeletonClass;
typedef struct _docOrgFreedesktopImplPortalPermissionStoreSkeletonPrivate docOrgFreedesktopImplPortalPermissionStoreSkeletonPrivate;

struct _docOrgFreedesktopImplPortalPermissionStoreSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  docOrgFreedesktopImplPortalPermissionStoreSkeletonPrivate *priv;
};

struct _docOrgFreedesktopImplPortalPermissionStoreSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType doc_org_freedesktop_impl_portal_permission_store_skeleton_get_type (void) G_GNUC_CONST;

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

docOrgFreedesktopImplPortalPermissionStore *doc_org_freedesktop_impl_portal_permission_store_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.freedesktop.portal.Documents */

#define DOC_TYPE_ORG_FREEDESKTOP_PORTAL_DOCUMENTS (doc_org_freedesktop_portal_documents_get_type ())
#define DOC_ORG_FREEDESKTOP_PORTAL_DOCUMENTS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_DOCUMENTS, docOrgFreedesktopPortalDocuments))
#define DOC_IS_ORG_FREEDESKTOP_PORTAL_DOCUMENTS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_DOCUMENTS))
#define DOC_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_DOCUMENTS, docOrgFreedesktopPortalDocumentsIface))

struct _docOrgFreedesktopPortalDocuments;
typedef struct _docOrgFreedesktopPortalDocuments docOrgFreedesktopPortalDocuments;
typedef struct _docOrgFreedesktopPortalDocumentsIface docOrgFreedesktopPortalDocumentsIface;

struct _docOrgFreedesktopPortalDocumentsIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_add) (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    GVariant *arg_o_path_fd,
    gboolean arg_reuse_existing,
    gboolean arg_persistent);

  gboolean (*handle_add_full) (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    GVariant *arg_o_path_fds,
    guint arg_flags,
    const gchar *arg_app_id,
    const gchar *const *arg_permissions);

  gboolean (*handle_add_named) (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    GVariant *arg_o_path_parent_fd,
    const gchar *arg_filename,
    gboolean arg_reuse_existing,
    gboolean arg_persistent);

  gboolean (*handle_add_named_full) (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    GVariant *arg_o_path_fd,
    const gchar *arg_filename,
    guint arg_flags,
    const gchar *arg_app_id,
    const gchar *const *arg_permissions);

  gboolean (*handle_delete) (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_doc_id);

  gboolean (*handle_get_mount_point) (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_grant_permissions) (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_doc_id,
    const gchar *arg_app_id,
    const gchar *const *arg_permissions);

  gboolean (*handle_info) (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_doc_id);

  gboolean (*handle_list) (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_app_id);

  gboolean (*handle_lookup) (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_filename);

  gboolean (*handle_revoke_permissions) (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_doc_id,
    const gchar *arg_app_id,
    const gchar *const *arg_permissions);

  guint  (*get_version) (docOrgFreedesktopPortalDocuments *object);

};

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

GType doc_org_freedesktop_portal_documents_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *doc_org_freedesktop_portal_documents_interface_info (void);
guint doc_org_freedesktop_portal_documents_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void doc_org_freedesktop_portal_documents_complete_get_mount_point (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    const gchar *path);

void doc_org_freedesktop_portal_documents_complete_add (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    const gchar *doc_id);

void doc_org_freedesktop_portal_documents_complete_add_named (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    const gchar *doc_id);

void doc_org_freedesktop_portal_documents_complete_add_full (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    const gchar *const *doc_ids,
    GVariant *extra_out);

void doc_org_freedesktop_portal_documents_complete_add_named_full (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    const gchar *doc_id,
    GVariant *extra_out);

void doc_org_freedesktop_portal_documents_complete_grant_permissions (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_portal_documents_complete_revoke_permissions (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_portal_documents_complete_delete (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_portal_documents_complete_lookup (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    const gchar *doc_id);

void doc_org_freedesktop_portal_documents_complete_info (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    const gchar *path,
    GVariant *apps);

void doc_org_freedesktop_portal_documents_complete_list (
    docOrgFreedesktopPortalDocuments *object,
    GDBusMethodInvocation *invocation,
    GVariant *docs);



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

gboolean doc_org_freedesktop_portal_documents_call_get_mount_point_finish (
    docOrgFreedesktopPortalDocuments *proxy,
    gchar **out_path,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_portal_documents_call_get_mount_point_sync (
    docOrgFreedesktopPortalDocuments *proxy,
    gchar **out_path,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_portal_documents_call_add (
    docOrgFreedesktopPortalDocuments *proxy,
    GVariant *arg_o_path_fd,
    gboolean arg_reuse_existing,
    gboolean arg_persistent,
    GUnixFDList *fd_list,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_portal_documents_call_add_finish (
    docOrgFreedesktopPortalDocuments *proxy,
    gchar **out_doc_id,
    GUnixFDList **out_fd_list,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_portal_documents_call_add_sync (
    docOrgFreedesktopPortalDocuments *proxy,
    GVariant *arg_o_path_fd,
    gboolean arg_reuse_existing,
    gboolean arg_persistent,
    GUnixFDList  *fd_list,
    gchar **out_doc_id,
    GUnixFDList **out_fd_list,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_portal_documents_call_add_named (
    docOrgFreedesktopPortalDocuments *proxy,
    GVariant *arg_o_path_parent_fd,
    const gchar *arg_filename,
    gboolean arg_reuse_existing,
    gboolean arg_persistent,
    GUnixFDList *fd_list,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_portal_documents_call_add_named_finish (
    docOrgFreedesktopPortalDocuments *proxy,
    gchar **out_doc_id,
    GUnixFDList **out_fd_list,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_portal_documents_call_add_named_sync (
    docOrgFreedesktopPortalDocuments *proxy,
    GVariant *arg_o_path_parent_fd,
    const gchar *arg_filename,
    gboolean arg_reuse_existing,
    gboolean arg_persistent,
    GUnixFDList  *fd_list,
    gchar **out_doc_id,
    GUnixFDList **out_fd_list,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_portal_documents_call_add_full (
    docOrgFreedesktopPortalDocuments *proxy,
    GVariant *arg_o_path_fds,
    guint arg_flags,
    const gchar *arg_app_id,
    const gchar *const *arg_permissions,
    GUnixFDList *fd_list,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_portal_documents_call_add_full_finish (
    docOrgFreedesktopPortalDocuments *proxy,
    gchar ***out_doc_ids,
    GVariant **out_extra_out,
    GUnixFDList **out_fd_list,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_portal_documents_call_add_full_sync (
    docOrgFreedesktopPortalDocuments *proxy,
    GVariant *arg_o_path_fds,
    guint arg_flags,
    const gchar *arg_app_id,
    const gchar *const *arg_permissions,
    GUnixFDList  *fd_list,
    gchar ***out_doc_ids,
    GVariant **out_extra_out,
    GUnixFDList **out_fd_list,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_portal_documents_call_add_named_full (
    docOrgFreedesktopPortalDocuments *proxy,
    GVariant *arg_o_path_fd,
    const gchar *arg_filename,
    guint arg_flags,
    const gchar *arg_app_id,
    const gchar *const *arg_permissions,
    GUnixFDList *fd_list,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_portal_documents_call_add_named_full_finish (
    docOrgFreedesktopPortalDocuments *proxy,
    gchar **out_doc_id,
    GVariant **out_extra_out,
    GUnixFDList **out_fd_list,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_portal_documents_call_add_named_full_sync (
    docOrgFreedesktopPortalDocuments *proxy,
    GVariant *arg_o_path_fd,
    const gchar *arg_filename,
    guint arg_flags,
    const gchar *arg_app_id,
    const gchar *const *arg_permissions,
    GUnixFDList  *fd_list,
    gchar **out_doc_id,
    GVariant **out_extra_out,
    GUnixFDList **out_fd_list,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_portal_documents_call_grant_permissions (
    docOrgFreedesktopPortalDocuments *proxy,
    const gchar *arg_doc_id,
    const gchar *arg_app_id,
    const gchar *const *arg_permissions,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_portal_documents_call_grant_permissions_finish (
    docOrgFreedesktopPortalDocuments *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_portal_documents_call_grant_permissions_sync (
    docOrgFreedesktopPortalDocuments *proxy,
    const gchar *arg_doc_id,
    const gchar *arg_app_id,
    const gchar *const *arg_permissions,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_portal_documents_call_revoke_permissions (
    docOrgFreedesktopPortalDocuments *proxy,
    const gchar *arg_doc_id,
    const gchar *arg_app_id,
    const gchar *const *arg_permissions,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_portal_documents_call_revoke_permissions_finish (
    docOrgFreedesktopPortalDocuments *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_portal_documents_call_revoke_permissions_sync (
    docOrgFreedesktopPortalDocuments *proxy,
    const gchar *arg_doc_id,
    const gchar *arg_app_id,
    const gchar *const *arg_permissions,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_portal_documents_call_delete (
    docOrgFreedesktopPortalDocuments *proxy,
    const gchar *arg_doc_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_portal_documents_call_delete_finish (
    docOrgFreedesktopPortalDocuments *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_portal_documents_call_delete_sync (
    docOrgFreedesktopPortalDocuments *proxy,
    const gchar *arg_doc_id,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_portal_documents_call_lookup (
    docOrgFreedesktopPortalDocuments *proxy,
    const gchar *arg_filename,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_portal_documents_call_lookup_finish (
    docOrgFreedesktopPortalDocuments *proxy,
    gchar **out_doc_id,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_portal_documents_call_lookup_sync (
    docOrgFreedesktopPortalDocuments *proxy,
    const gchar *arg_filename,
    gchar **out_doc_id,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_portal_documents_call_info (
    docOrgFreedesktopPortalDocuments *proxy,
    const gchar *arg_doc_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_portal_documents_call_info_finish (
    docOrgFreedesktopPortalDocuments *proxy,
    gchar **out_path,
    GVariant **out_apps,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_portal_documents_call_info_sync (
    docOrgFreedesktopPortalDocuments *proxy,
    const gchar *arg_doc_id,
    gchar **out_path,
    GVariant **out_apps,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_portal_documents_call_list (
    docOrgFreedesktopPortalDocuments *proxy,
    const gchar *arg_app_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_portal_documents_call_list_finish (
    docOrgFreedesktopPortalDocuments *proxy,
    GVariant **out_docs,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_portal_documents_call_list_sync (
    docOrgFreedesktopPortalDocuments *proxy,
    const gchar *arg_app_id,
    GVariant **out_docs,
    GCancellable *cancellable,
    GError **error);



/* D-Bus property accessors: */
guint doc_org_freedesktop_portal_documents_get_version (docOrgFreedesktopPortalDocuments *object);
void doc_org_freedesktop_portal_documents_set_version (docOrgFreedesktopPortalDocuments *object, guint value);


/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_PROXY (doc_org_freedesktop_portal_documents_proxy_get_type ())
#define DOC_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_PROXY, docOrgFreedesktopPortalDocumentsProxy))
#define DOC_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_PROXY, docOrgFreedesktopPortalDocumentsProxyClass))
#define DOC_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_PROXY, docOrgFreedesktopPortalDocumentsProxyClass))
#define DOC_IS_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_PROXY))
#define DOC_IS_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_PROXY))

typedef struct _docOrgFreedesktopPortalDocumentsProxy docOrgFreedesktopPortalDocumentsProxy;
typedef struct _docOrgFreedesktopPortalDocumentsProxyClass docOrgFreedesktopPortalDocumentsProxyClass;
typedef struct _docOrgFreedesktopPortalDocumentsProxyPrivate docOrgFreedesktopPortalDocumentsProxyPrivate;

struct _docOrgFreedesktopPortalDocumentsProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  docOrgFreedesktopPortalDocumentsProxyPrivate *priv;
};

struct _docOrgFreedesktopPortalDocumentsProxyClass
{
  GDBusProxyClass parent_class;
};

GType doc_org_freedesktop_portal_documents_proxy_get_type (void) G_GNUC_CONST;

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

void doc_org_freedesktop_portal_documents_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopPortalDocuments *doc_org_freedesktop_portal_documents_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopPortalDocuments *doc_org_freedesktop_portal_documents_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void doc_org_freedesktop_portal_documents_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopPortalDocuments *doc_org_freedesktop_portal_documents_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopPortalDocuments *doc_org_freedesktop_portal_documents_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_SKELETON (doc_org_freedesktop_portal_documents_skeleton_get_type ())
#define DOC_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_SKELETON, docOrgFreedesktopPortalDocumentsSkeleton))
#define DOC_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_SKELETON, docOrgFreedesktopPortalDocumentsSkeletonClass))
#define DOC_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_SKELETON, docOrgFreedesktopPortalDocumentsSkeletonClass))
#define DOC_IS_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_SKELETON))
#define DOC_IS_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_DOCUMENTS_SKELETON))

typedef struct _docOrgFreedesktopPortalDocumentsSkeleton docOrgFreedesktopPortalDocumentsSkeleton;
typedef struct _docOrgFreedesktopPortalDocumentsSkeletonClass docOrgFreedesktopPortalDocumentsSkeletonClass;
typedef struct _docOrgFreedesktopPortalDocumentsSkeletonPrivate docOrgFreedesktopPortalDocumentsSkeletonPrivate;

struct _docOrgFreedesktopPortalDocumentsSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  docOrgFreedesktopPortalDocumentsSkeletonPrivate *priv;
};

struct _docOrgFreedesktopPortalDocumentsSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType doc_org_freedesktop_portal_documents_skeleton_get_type (void) G_GNUC_CONST;

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

docOrgFreedesktopPortalDocuments *doc_org_freedesktop_portal_documents_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.freedesktop.portal.Flatpak */

#define DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK (doc_org_freedesktop_portal_flatpak_get_type ())
#define DOC_ORG_FREEDESKTOP_PORTAL_FLATPAK(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK, docOrgFreedesktopPortalFlatpak))
#define DOC_IS_ORG_FREEDESKTOP_PORTAL_FLATPAK(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK))
#define DOC_ORG_FREEDESKTOP_PORTAL_FLATPAK_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK, docOrgFreedesktopPortalFlatpakIface))

struct _docOrgFreedesktopPortalFlatpak;
typedef struct _docOrgFreedesktopPortalFlatpak docOrgFreedesktopPortalFlatpak;
typedef struct _docOrgFreedesktopPortalFlatpakIface docOrgFreedesktopPortalFlatpakIface;

struct _docOrgFreedesktopPortalFlatpakIface
{
  GTypeInterface parent_iface;



  gboolean (*handle_create_update_monitor) (
    docOrgFreedesktopPortalFlatpak *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_options);

  gboolean (*handle_spawn) (
    docOrgFreedesktopPortalFlatpak *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    const gchar *arg_cwd_path,
    const gchar *const *arg_argv,
    GVariant *arg_fds,
    GVariant *arg_envs,
    guint arg_flags,
    GVariant *arg_options);

  gboolean (*handle_spawn_signal) (
    docOrgFreedesktopPortalFlatpak *object,
    GDBusMethodInvocation *invocation,
    guint arg_pid,
    guint arg_signal,
    gboolean arg_to_process_group);

  guint  (*get_supports) (docOrgFreedesktopPortalFlatpak *object);

  guint  (*get_version) (docOrgFreedesktopPortalFlatpak *object);

  void (*spawn_exited) (
    docOrgFreedesktopPortalFlatpak *object,
    guint arg_pid,
    guint arg_exit_status);

  void (*spawn_started) (
    docOrgFreedesktopPortalFlatpak *object,
    guint arg_pid,
    guint arg_relpid);

};

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

GType doc_org_freedesktop_portal_flatpak_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *doc_org_freedesktop_portal_flatpak_interface_info (void);
guint doc_org_freedesktop_portal_flatpak_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void doc_org_freedesktop_portal_flatpak_complete_spawn (
    docOrgFreedesktopPortalFlatpak *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    guint pid);

void doc_org_freedesktop_portal_flatpak_complete_spawn_signal (
    docOrgFreedesktopPortalFlatpak *object,
    GDBusMethodInvocation *invocation);

void doc_org_freedesktop_portal_flatpak_complete_create_update_monitor (
    docOrgFreedesktopPortalFlatpak *object,
    GDBusMethodInvocation *invocation,
    const gchar *handle);



/* D-Bus signal emissions functions: */
void doc_org_freedesktop_portal_flatpak_emit_spawn_started (
    docOrgFreedesktopPortalFlatpak *object,
    guint arg_pid,
    guint arg_relpid);

void doc_org_freedesktop_portal_flatpak_emit_spawn_exited (
    docOrgFreedesktopPortalFlatpak *object,
    guint arg_pid,
    guint arg_exit_status);



/* D-Bus method calls: */
void doc_org_freedesktop_portal_flatpak_call_spawn (
    docOrgFreedesktopPortalFlatpak *proxy,
    const gchar *arg_cwd_path,
    const gchar *const *arg_argv,
    GVariant *arg_fds,
    GVariant *arg_envs,
    guint arg_flags,
    GVariant *arg_options,
    GUnixFDList *fd_list,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_portal_flatpak_call_spawn_finish (
    docOrgFreedesktopPortalFlatpak *proxy,
    guint *out_pid,
    GUnixFDList **out_fd_list,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_portal_flatpak_call_spawn_sync (
    docOrgFreedesktopPortalFlatpak *proxy,
    const gchar *arg_cwd_path,
    const gchar *const *arg_argv,
    GVariant *arg_fds,
    GVariant *arg_envs,
    guint arg_flags,
    GVariant *arg_options,
    GUnixFDList  *fd_list,
    guint *out_pid,
    GUnixFDList **out_fd_list,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_portal_flatpak_call_spawn_signal (
    docOrgFreedesktopPortalFlatpak *proxy,
    guint arg_pid,
    guint arg_signal,
    gboolean arg_to_process_group,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_portal_flatpak_call_spawn_signal_finish (
    docOrgFreedesktopPortalFlatpak *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_portal_flatpak_call_spawn_signal_sync (
    docOrgFreedesktopPortalFlatpak *proxy,
    guint arg_pid,
    guint arg_signal,
    gboolean arg_to_process_group,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_portal_flatpak_call_create_update_monitor (
    docOrgFreedesktopPortalFlatpak *proxy,
    GVariant *arg_options,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_portal_flatpak_call_create_update_monitor_finish (
    docOrgFreedesktopPortalFlatpak *proxy,
    gchar **out_handle,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_portal_flatpak_call_create_update_monitor_sync (
    docOrgFreedesktopPortalFlatpak *proxy,
    GVariant *arg_options,
    gchar **out_handle,
    GCancellable *cancellable,
    GError **error);



/* D-Bus property accessors: */
guint doc_org_freedesktop_portal_flatpak_get_version (docOrgFreedesktopPortalFlatpak *object);
void doc_org_freedesktop_portal_flatpak_set_version (docOrgFreedesktopPortalFlatpak *object, guint value);

guint doc_org_freedesktop_portal_flatpak_get_supports (docOrgFreedesktopPortalFlatpak *object);
void doc_org_freedesktop_portal_flatpak_set_supports (docOrgFreedesktopPortalFlatpak *object, guint value);


/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_PROXY (doc_org_freedesktop_portal_flatpak_proxy_get_type ())
#define DOC_ORG_FREEDESKTOP_PORTAL_FLATPAK_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_PROXY, docOrgFreedesktopPortalFlatpakProxy))
#define DOC_ORG_FREEDESKTOP_PORTAL_FLATPAK_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_PROXY, docOrgFreedesktopPortalFlatpakProxyClass))
#define DOC_ORG_FREEDESKTOP_PORTAL_FLATPAK_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_PROXY, docOrgFreedesktopPortalFlatpakProxyClass))
#define DOC_IS_ORG_FREEDESKTOP_PORTAL_FLATPAK_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_PROXY))
#define DOC_IS_ORG_FREEDESKTOP_PORTAL_FLATPAK_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_PROXY))

typedef struct _docOrgFreedesktopPortalFlatpakProxy docOrgFreedesktopPortalFlatpakProxy;
typedef struct _docOrgFreedesktopPortalFlatpakProxyClass docOrgFreedesktopPortalFlatpakProxyClass;
typedef struct _docOrgFreedesktopPortalFlatpakProxyPrivate docOrgFreedesktopPortalFlatpakProxyPrivate;

struct _docOrgFreedesktopPortalFlatpakProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  docOrgFreedesktopPortalFlatpakProxyPrivate *priv;
};

struct _docOrgFreedesktopPortalFlatpakProxyClass
{
  GDBusProxyClass parent_class;
};

GType doc_org_freedesktop_portal_flatpak_proxy_get_type (void) G_GNUC_CONST;

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

void doc_org_freedesktop_portal_flatpak_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopPortalFlatpak *doc_org_freedesktop_portal_flatpak_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopPortalFlatpak *doc_org_freedesktop_portal_flatpak_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void doc_org_freedesktop_portal_flatpak_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopPortalFlatpak *doc_org_freedesktop_portal_flatpak_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopPortalFlatpak *doc_org_freedesktop_portal_flatpak_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_SKELETON (doc_org_freedesktop_portal_flatpak_skeleton_get_type ())
#define DOC_ORG_FREEDESKTOP_PORTAL_FLATPAK_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_SKELETON, docOrgFreedesktopPortalFlatpakSkeleton))
#define DOC_ORG_FREEDESKTOP_PORTAL_FLATPAK_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_SKELETON, docOrgFreedesktopPortalFlatpakSkeletonClass))
#define DOC_ORG_FREEDESKTOP_PORTAL_FLATPAK_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_SKELETON, docOrgFreedesktopPortalFlatpakSkeletonClass))
#define DOC_IS_ORG_FREEDESKTOP_PORTAL_FLATPAK_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_SKELETON))
#define DOC_IS_ORG_FREEDESKTOP_PORTAL_FLATPAK_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_SKELETON))

typedef struct _docOrgFreedesktopPortalFlatpakSkeleton docOrgFreedesktopPortalFlatpakSkeleton;
typedef struct _docOrgFreedesktopPortalFlatpakSkeletonClass docOrgFreedesktopPortalFlatpakSkeletonClass;
typedef struct _docOrgFreedesktopPortalFlatpakSkeletonPrivate docOrgFreedesktopPortalFlatpakSkeletonPrivate;

struct _docOrgFreedesktopPortalFlatpakSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  docOrgFreedesktopPortalFlatpakSkeletonPrivate *priv;
};

struct _docOrgFreedesktopPortalFlatpakSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType doc_org_freedesktop_portal_flatpak_skeleton_get_type (void) G_GNUC_CONST;

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

docOrgFreedesktopPortalFlatpak *doc_org_freedesktop_portal_flatpak_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.freedesktop.portal.Flatpak.UpdateMonitor */

#define DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR (doc_org_freedesktop_portal_flatpak_update_monitor_get_type ())
#define DOC_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR, docOrgFreedesktopPortalFlatpakUpdateMonitor))
#define DOC_IS_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR))
#define DOC_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR, docOrgFreedesktopPortalFlatpakUpdateMonitorIface))

struct _docOrgFreedesktopPortalFlatpakUpdateMonitor;
typedef struct _docOrgFreedesktopPortalFlatpakUpdateMonitor docOrgFreedesktopPortalFlatpakUpdateMonitor;
typedef struct _docOrgFreedesktopPortalFlatpakUpdateMonitorIface docOrgFreedesktopPortalFlatpakUpdateMonitorIface;

struct _docOrgFreedesktopPortalFlatpakUpdateMonitorIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_close) (
    docOrgFreedesktopPortalFlatpakUpdateMonitor *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_update) (
    docOrgFreedesktopPortalFlatpakUpdateMonitor *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_parent_window,
    GVariant *arg_options);

  void (*progress) (
    docOrgFreedesktopPortalFlatpakUpdateMonitor *object,
    GVariant *arg_info);

  void (*update_available) (
    docOrgFreedesktopPortalFlatpakUpdateMonitor *object,
    GVariant *arg_update_info);

};

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

GType doc_org_freedesktop_portal_flatpak_update_monitor_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *doc_org_freedesktop_portal_flatpak_update_monitor_interface_info (void);
guint doc_org_freedesktop_portal_flatpak_update_monitor_override_properties (GObjectClass *klass, guint property_id_begin);


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

void doc_org_freedesktop_portal_flatpak_update_monitor_complete_update (
    docOrgFreedesktopPortalFlatpakUpdateMonitor *object,
    GDBusMethodInvocation *invocation);



/* D-Bus signal emissions functions: */
void doc_org_freedesktop_portal_flatpak_update_monitor_emit_update_available (
    docOrgFreedesktopPortalFlatpakUpdateMonitor *object,
    GVariant *arg_update_info);

void doc_org_freedesktop_portal_flatpak_update_monitor_emit_progress (
    docOrgFreedesktopPortalFlatpakUpdateMonitor *object,
    GVariant *arg_info);



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

gboolean doc_org_freedesktop_portal_flatpak_update_monitor_call_close_finish (
    docOrgFreedesktopPortalFlatpakUpdateMonitor *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_portal_flatpak_update_monitor_call_close_sync (
    docOrgFreedesktopPortalFlatpakUpdateMonitor *proxy,
    GCancellable *cancellable,
    GError **error);

void doc_org_freedesktop_portal_flatpak_update_monitor_call_update (
    docOrgFreedesktopPortalFlatpakUpdateMonitor *proxy,
    const gchar *arg_parent_window,
    GVariant *arg_options,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean doc_org_freedesktop_portal_flatpak_update_monitor_call_update_finish (
    docOrgFreedesktopPortalFlatpakUpdateMonitor *proxy,
    GAsyncResult *res,
    GError **error);

gboolean doc_org_freedesktop_portal_flatpak_update_monitor_call_update_sync (
    docOrgFreedesktopPortalFlatpakUpdateMonitor *proxy,
    const gchar *arg_parent_window,
    GVariant *arg_options,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_PROXY (doc_org_freedesktop_portal_flatpak_update_monitor_proxy_get_type ())
#define DOC_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_PROXY, docOrgFreedesktopPortalFlatpakUpdateMonitorProxy))
#define DOC_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_PROXY, docOrgFreedesktopPortalFlatpakUpdateMonitorProxyClass))
#define DOC_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_PROXY, docOrgFreedesktopPortalFlatpakUpdateMonitorProxyClass))
#define DOC_IS_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_PROXY))
#define DOC_IS_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_PROXY))

typedef struct _docOrgFreedesktopPortalFlatpakUpdateMonitorProxy docOrgFreedesktopPortalFlatpakUpdateMonitorProxy;
typedef struct _docOrgFreedesktopPortalFlatpakUpdateMonitorProxyClass docOrgFreedesktopPortalFlatpakUpdateMonitorProxyClass;
typedef struct _docOrgFreedesktopPortalFlatpakUpdateMonitorProxyPrivate docOrgFreedesktopPortalFlatpakUpdateMonitorProxyPrivate;

struct _docOrgFreedesktopPortalFlatpakUpdateMonitorProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  docOrgFreedesktopPortalFlatpakUpdateMonitorProxyPrivate *priv;
};

struct _docOrgFreedesktopPortalFlatpakUpdateMonitorProxyClass
{
  GDBusProxyClass parent_class;
};

GType doc_org_freedesktop_portal_flatpak_update_monitor_proxy_get_type (void) G_GNUC_CONST;

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

void doc_org_freedesktop_portal_flatpak_update_monitor_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopPortalFlatpakUpdateMonitor *doc_org_freedesktop_portal_flatpak_update_monitor_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopPortalFlatpakUpdateMonitor *doc_org_freedesktop_portal_flatpak_update_monitor_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void doc_org_freedesktop_portal_flatpak_update_monitor_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
docOrgFreedesktopPortalFlatpakUpdateMonitor *doc_org_freedesktop_portal_flatpak_update_monitor_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
docOrgFreedesktopPortalFlatpakUpdateMonitor *doc_org_freedesktop_portal_flatpak_update_monitor_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_SKELETON (doc_org_freedesktop_portal_flatpak_update_monitor_skeleton_get_type ())
#define DOC_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_SKELETON, docOrgFreedesktopPortalFlatpakUpdateMonitorSkeleton))
#define DOC_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_SKELETON, docOrgFreedesktopPortalFlatpakUpdateMonitorSkeletonClass))
#define DOC_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_SKELETON, docOrgFreedesktopPortalFlatpakUpdateMonitorSkeletonClass))
#define DOC_IS_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_SKELETON))
#define DOC_IS_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DOC_TYPE_ORG_FREEDESKTOP_PORTAL_FLATPAK_UPDATE_MONITOR_SKELETON))

typedef struct _docOrgFreedesktopPortalFlatpakUpdateMonitorSkeleton docOrgFreedesktopPortalFlatpakUpdateMonitorSkeleton;
typedef struct _docOrgFreedesktopPortalFlatpakUpdateMonitorSkeletonClass docOrgFreedesktopPortalFlatpakUpdateMonitorSkeletonClass;
typedef struct _docOrgFreedesktopPortalFlatpakUpdateMonitorSkeletonPrivate docOrgFreedesktopPortalFlatpakUpdateMonitorSkeletonPrivate;

struct _docOrgFreedesktopPortalFlatpakUpdateMonitorSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  docOrgFreedesktopPortalFlatpakUpdateMonitorSkeletonPrivate *priv;
};

struct _docOrgFreedesktopPortalFlatpakUpdateMonitorSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType doc_org_freedesktop_portal_flatpak_update_monitor_skeleton_get_type (void) G_GNUC_CONST;

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

docOrgFreedesktopPortalFlatpakUpdateMonitor *doc_org_freedesktop_portal_flatpak_update_monitor_skeleton_new (void);


G_END_DECLS

#endif /* __DOC_DBUS_GENERATED_H__ */
