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

#include <gio/gio.h>

G_BEGIN_DECLS


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

#define FLATPAK_TYPE_AUTHENTICATOR (flatpak_authenticator_get_type ())
#define FLATPAK_AUTHENTICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), FLATPAK_TYPE_AUTHENTICATOR, FlatpakAuthenticator))
#define FLATPAK_IS_AUTHENTICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), FLATPAK_TYPE_AUTHENTICATOR))
#define FLATPAK_AUTHENTICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), FLATPAK_TYPE_AUTHENTICATOR, FlatpakAuthenticatorIface))

struct _FlatpakAuthenticator;
typedef struct _FlatpakAuthenticator FlatpakAuthenticator;
typedef struct _FlatpakAuthenticatorIface FlatpakAuthenticatorIface;

struct _FlatpakAuthenticatorIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_request_ref_tokens) (
    FlatpakAuthenticator *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) (FlatpakAuthenticator *object);

};

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

GType flatpak_authenticator_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *flatpak_authenticator_interface_info (void);
guint flatpak_authenticator_override_properties (GObjectClass *klass, guint property_id_begin);


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



/* D-Bus method calls: */
void flatpak_authenticator_call_request_ref_tokens (
    FlatpakAuthenticator *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 flatpak_authenticator_call_request_ref_tokens_finish (
    FlatpakAuthenticator *proxy,
    gchar **out_handle,
    GAsyncResult *res,
    GError **error);

gboolean flatpak_authenticator_call_request_ref_tokens_sync (
    FlatpakAuthenticator *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 flatpak_authenticator_get_version (FlatpakAuthenticator *object);
void flatpak_authenticator_set_version (FlatpakAuthenticator *object, guint value);


/* ---- */

#define FLATPAK_TYPE_AUTHENTICATOR_PROXY (flatpak_authenticator_proxy_get_type ())
#define FLATPAK_AUTHENTICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), FLATPAK_TYPE_AUTHENTICATOR_PROXY, FlatpakAuthenticatorProxy))
#define FLATPAK_AUTHENTICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), FLATPAK_TYPE_AUTHENTICATOR_PROXY, FlatpakAuthenticatorProxyClass))
#define FLATPAK_AUTHENTICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), FLATPAK_TYPE_AUTHENTICATOR_PROXY, FlatpakAuthenticatorProxyClass))
#define FLATPAK_IS_AUTHENTICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), FLATPAK_TYPE_AUTHENTICATOR_PROXY))
#define FLATPAK_IS_AUTHENTICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), FLATPAK_TYPE_AUTHENTICATOR_PROXY))

typedef struct _FlatpakAuthenticatorProxy FlatpakAuthenticatorProxy;
typedef struct _FlatpakAuthenticatorProxyClass FlatpakAuthenticatorProxyClass;
typedef struct _FlatpakAuthenticatorProxyPrivate FlatpakAuthenticatorProxyPrivate;

struct _FlatpakAuthenticatorProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  FlatpakAuthenticatorProxyPrivate *priv;
};

struct _FlatpakAuthenticatorProxyClass
{
  GDBusProxyClass parent_class;
};

GType flatpak_authenticator_proxy_get_type (void) G_GNUC_CONST;

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

void flatpak_authenticator_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
FlatpakAuthenticator *flatpak_authenticator_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
FlatpakAuthenticator *flatpak_authenticator_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void 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);
FlatpakAuthenticator *flatpak_authenticator_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
FlatpakAuthenticator *flatpak_authenticator_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define FLATPAK_TYPE_AUTHENTICATOR_SKELETON (flatpak_authenticator_skeleton_get_type ())
#define FLATPAK_AUTHENTICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), FLATPAK_TYPE_AUTHENTICATOR_SKELETON, FlatpakAuthenticatorSkeleton))
#define FLATPAK_AUTHENTICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), FLATPAK_TYPE_AUTHENTICATOR_SKELETON, FlatpakAuthenticatorSkeletonClass))
#define FLATPAK_AUTHENTICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), FLATPAK_TYPE_AUTHENTICATOR_SKELETON, FlatpakAuthenticatorSkeletonClass))
#define FLATPAK_IS_AUTHENTICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), FLATPAK_TYPE_AUTHENTICATOR_SKELETON))
#define FLATPAK_IS_AUTHENTICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), FLATPAK_TYPE_AUTHENTICATOR_SKELETON))

typedef struct _FlatpakAuthenticatorSkeleton FlatpakAuthenticatorSkeleton;
typedef struct _FlatpakAuthenticatorSkeletonClass FlatpakAuthenticatorSkeletonClass;
typedef struct _FlatpakAuthenticatorSkeletonPrivate FlatpakAuthenticatorSkeletonPrivate;

struct _FlatpakAuthenticatorSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  FlatpakAuthenticatorSkeletonPrivate *priv;
};

struct _FlatpakAuthenticatorSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType flatpak_authenticator_skeleton_get_type (void) G_GNUC_CONST;

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

FlatpakAuthenticator *flatpak_authenticator_skeleton_new (void);


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

#define FLATPAK_TYPE_AUTHENTICATOR_REQUEST (flatpak_authenticator_request_get_type ())
#define FLATPAK_AUTHENTICATOR_REQUEST(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), FLATPAK_TYPE_AUTHENTICATOR_REQUEST, FlatpakAuthenticatorRequest))
#define FLATPAK_IS_AUTHENTICATOR_REQUEST(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), FLATPAK_TYPE_AUTHENTICATOR_REQUEST))
#define FLATPAK_AUTHENTICATOR_REQUEST_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), FLATPAK_TYPE_AUTHENTICATOR_REQUEST, FlatpakAuthenticatorRequestIface))

struct _FlatpakAuthenticatorRequest;
typedef struct _FlatpakAuthenticatorRequest FlatpakAuthenticatorRequest;
typedef struct _FlatpakAuthenticatorRequestIface FlatpakAuthenticatorRequestIface;

struct _FlatpakAuthenticatorRequestIface
{
  GTypeInterface parent_iface;


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

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

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

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

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

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

};

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

GType flatpak_authenticator_request_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *flatpak_authenticator_request_interface_info (void);
guint flatpak_authenticator_request_override_properties (GObjectClass *klass, guint property_id_begin);


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

void flatpak_authenticator_request_complete_basic_auth_reply (
    FlatpakAuthenticatorRequest *object,
    GDBusMethodInvocation *invocation);



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

void flatpak_authenticator_request_emit_webflow_done (
    FlatpakAuthenticatorRequest *object,
    GVariant *arg_options);

void flatpak_authenticator_request_emit_basic_auth (
    FlatpakAuthenticatorRequest *object,
    const gchar *arg_realm,
    GVariant *arg_options);

void flatpak_authenticator_request_emit_response (
    FlatpakAuthenticatorRequest *object,
    guint arg_response,
    GVariant *arg_results);



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

gboolean flatpak_authenticator_request_call_close_finish (
    FlatpakAuthenticatorRequest *proxy,
    GAsyncResult *res,
    GError **error);

gboolean flatpak_authenticator_request_call_close_sync (
    FlatpakAuthenticatorRequest *proxy,
    GCancellable *cancellable,
    GError **error);

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

gboolean flatpak_authenticator_request_call_basic_auth_reply_finish (
    FlatpakAuthenticatorRequest *proxy,
    GAsyncResult *res,
    GError **error);

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



/* ---- */

#define FLATPAK_TYPE_AUTHENTICATOR_REQUEST_PROXY (flatpak_authenticator_request_proxy_get_type ())
#define FLATPAK_AUTHENTICATOR_REQUEST_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), FLATPAK_TYPE_AUTHENTICATOR_REQUEST_PROXY, FlatpakAuthenticatorRequestProxy))
#define FLATPAK_AUTHENTICATOR_REQUEST_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), FLATPAK_TYPE_AUTHENTICATOR_REQUEST_PROXY, FlatpakAuthenticatorRequestProxyClass))
#define FLATPAK_AUTHENTICATOR_REQUEST_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), FLATPAK_TYPE_AUTHENTICATOR_REQUEST_PROXY, FlatpakAuthenticatorRequestProxyClass))
#define FLATPAK_IS_AUTHENTICATOR_REQUEST_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), FLATPAK_TYPE_AUTHENTICATOR_REQUEST_PROXY))
#define FLATPAK_IS_AUTHENTICATOR_REQUEST_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), FLATPAK_TYPE_AUTHENTICATOR_REQUEST_PROXY))

typedef struct _FlatpakAuthenticatorRequestProxy FlatpakAuthenticatorRequestProxy;
typedef struct _FlatpakAuthenticatorRequestProxyClass FlatpakAuthenticatorRequestProxyClass;
typedef struct _FlatpakAuthenticatorRequestProxyPrivate FlatpakAuthenticatorRequestProxyPrivate;

struct _FlatpakAuthenticatorRequestProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  FlatpakAuthenticatorRequestProxyPrivate *priv;
};

struct _FlatpakAuthenticatorRequestProxyClass
{
  GDBusProxyClass parent_class;
};

GType flatpak_authenticator_request_proxy_get_type (void) G_GNUC_CONST;

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

void flatpak_authenticator_request_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
FlatpakAuthenticatorRequest *flatpak_authenticator_request_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
FlatpakAuthenticatorRequest *flatpak_authenticator_request_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void 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);
FlatpakAuthenticatorRequest *flatpak_authenticator_request_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
FlatpakAuthenticatorRequest *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 FLATPAK_TYPE_AUTHENTICATOR_REQUEST_SKELETON (flatpak_authenticator_request_skeleton_get_type ())
#define FLATPAK_AUTHENTICATOR_REQUEST_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), FLATPAK_TYPE_AUTHENTICATOR_REQUEST_SKELETON, FlatpakAuthenticatorRequestSkeleton))
#define FLATPAK_AUTHENTICATOR_REQUEST_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), FLATPAK_TYPE_AUTHENTICATOR_REQUEST_SKELETON, FlatpakAuthenticatorRequestSkeletonClass))
#define FLATPAK_AUTHENTICATOR_REQUEST_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), FLATPAK_TYPE_AUTHENTICATOR_REQUEST_SKELETON, FlatpakAuthenticatorRequestSkeletonClass))
#define FLATPAK_IS_AUTHENTICATOR_REQUEST_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), FLATPAK_TYPE_AUTHENTICATOR_REQUEST_SKELETON))
#define FLATPAK_IS_AUTHENTICATOR_REQUEST_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), FLATPAK_TYPE_AUTHENTICATOR_REQUEST_SKELETON))

typedef struct _FlatpakAuthenticatorRequestSkeleton FlatpakAuthenticatorRequestSkeleton;
typedef struct _FlatpakAuthenticatorRequestSkeletonClass FlatpakAuthenticatorRequestSkeletonClass;
typedef struct _FlatpakAuthenticatorRequestSkeletonPrivate FlatpakAuthenticatorRequestSkeletonPrivate;

struct _FlatpakAuthenticatorRequestSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  FlatpakAuthenticatorRequestSkeletonPrivate *priv;
};

struct _FlatpakAuthenticatorRequestSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType flatpak_authenticator_request_skeleton_get_type (void) G_GNUC_CONST;

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

FlatpakAuthenticatorRequest *flatpak_authenticator_request_skeleton_new (void);


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

#define FLATPAK_TYPE_SESSION_HELPER (flatpak_session_helper_get_type ())
#define FLATPAK_SESSION_HELPER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), FLATPAK_TYPE_SESSION_HELPER, FlatpakSessionHelper))
#define FLATPAK_IS_SESSION_HELPER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), FLATPAK_TYPE_SESSION_HELPER))
#define FLATPAK_SESSION_HELPER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), FLATPAK_TYPE_SESSION_HELPER, FlatpakSessionHelperIface))

struct _FlatpakSessionHelper;
typedef struct _FlatpakSessionHelper FlatpakSessionHelper;
typedef struct _FlatpakSessionHelperIface FlatpakSessionHelperIface;

struct _FlatpakSessionHelperIface
{
  GTypeInterface parent_iface;


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

  guint  (*get_version) (FlatpakSessionHelper *object);

};

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

GType flatpak_session_helper_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *flatpak_session_helper_interface_info (void);
guint flatpak_session_helper_override_properties (GObjectClass *klass, guint property_id_begin);


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



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

gboolean flatpak_session_helper_call_request_session_finish (
    FlatpakSessionHelper *proxy,
    GVariant **out_data,
    GAsyncResult *res,
    GError **error);

gboolean flatpak_session_helper_call_request_session_sync (
    FlatpakSessionHelper *proxy,
    GVariant **out_data,
    GCancellable *cancellable,
    GError **error);



/* D-Bus property accessors: */
guint flatpak_session_helper_get_version (FlatpakSessionHelper *object);
void flatpak_session_helper_set_version (FlatpakSessionHelper *object, guint value);


/* ---- */

#define FLATPAK_TYPE_SESSION_HELPER_PROXY (flatpak_session_helper_proxy_get_type ())
#define FLATPAK_SESSION_HELPER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), FLATPAK_TYPE_SESSION_HELPER_PROXY, FlatpakSessionHelperProxy))
#define FLATPAK_SESSION_HELPER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), FLATPAK_TYPE_SESSION_HELPER_PROXY, FlatpakSessionHelperProxyClass))
#define FLATPAK_SESSION_HELPER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), FLATPAK_TYPE_SESSION_HELPER_PROXY, FlatpakSessionHelperProxyClass))
#define FLATPAK_IS_SESSION_HELPER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), FLATPAK_TYPE_SESSION_HELPER_PROXY))
#define FLATPAK_IS_SESSION_HELPER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), FLATPAK_TYPE_SESSION_HELPER_PROXY))

typedef struct _FlatpakSessionHelperProxy FlatpakSessionHelperProxy;
typedef struct _FlatpakSessionHelperProxyClass FlatpakSessionHelperProxyClass;
typedef struct _FlatpakSessionHelperProxyPrivate FlatpakSessionHelperProxyPrivate;

struct _FlatpakSessionHelperProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  FlatpakSessionHelperProxyPrivate *priv;
};

struct _FlatpakSessionHelperProxyClass
{
  GDBusProxyClass parent_class;
};

GType flatpak_session_helper_proxy_get_type (void) G_GNUC_CONST;

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

void flatpak_session_helper_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
FlatpakSessionHelper *flatpak_session_helper_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
FlatpakSessionHelper *flatpak_session_helper_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void 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);
FlatpakSessionHelper *flatpak_session_helper_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
FlatpakSessionHelper *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 FLATPAK_TYPE_SESSION_HELPER_SKELETON (flatpak_session_helper_skeleton_get_type ())
#define FLATPAK_SESSION_HELPER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), FLATPAK_TYPE_SESSION_HELPER_SKELETON, FlatpakSessionHelperSkeleton))
#define FLATPAK_SESSION_HELPER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), FLATPAK_TYPE_SESSION_HELPER_SKELETON, FlatpakSessionHelperSkeletonClass))
#define FLATPAK_SESSION_HELPER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), FLATPAK_TYPE_SESSION_HELPER_SKELETON, FlatpakSessionHelperSkeletonClass))
#define FLATPAK_IS_SESSION_HELPER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), FLATPAK_TYPE_SESSION_HELPER_SKELETON))
#define FLATPAK_IS_SESSION_HELPER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), FLATPAK_TYPE_SESSION_HELPER_SKELETON))

typedef struct _FlatpakSessionHelperSkeleton FlatpakSessionHelperSkeleton;
typedef struct _FlatpakSessionHelperSkeletonClass FlatpakSessionHelperSkeletonClass;
typedef struct _FlatpakSessionHelperSkeletonPrivate FlatpakSessionHelperSkeletonPrivate;

struct _FlatpakSessionHelperSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  FlatpakSessionHelperSkeletonPrivate *priv;
};

struct _FlatpakSessionHelperSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType flatpak_session_helper_skeleton_get_type (void) G_GNUC_CONST;

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

FlatpakSessionHelper *flatpak_session_helper_skeleton_new (void);


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

#define FLATPAK_TYPE_DEVELOPMENT (flatpak_development_get_type ())
#define FLATPAK_DEVELOPMENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), FLATPAK_TYPE_DEVELOPMENT, FlatpakDevelopment))
#define FLATPAK_IS_DEVELOPMENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), FLATPAK_TYPE_DEVELOPMENT))
#define FLATPAK_DEVELOPMENT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), FLATPAK_TYPE_DEVELOPMENT, FlatpakDevelopmentIface))

struct _FlatpakDevelopment;
typedef struct _FlatpakDevelopment FlatpakDevelopment;
typedef struct _FlatpakDevelopmentIface FlatpakDevelopmentIface;

struct _FlatpakDevelopmentIface
{
  GTypeInterface parent_iface;



  gboolean (*handle_host_command) (
    FlatpakDevelopment *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) (
    FlatpakDevelopment *object,
    GDBusMethodInvocation *invocation,
    guint arg_pid,
    guint arg_signal,
    gboolean arg_to_process_group);

  guint  (*get_version) (FlatpakDevelopment *object);

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

};

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

GType flatpak_development_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *flatpak_development_interface_info (void);
guint flatpak_development_override_properties (GObjectClass *klass, guint property_id_begin);


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

void flatpak_development_complete_host_command_signal (
    FlatpakDevelopment *object,
    GDBusMethodInvocation *invocation);



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



/* D-Bus method calls: */
void flatpak_development_call_host_command (
    FlatpakDevelopment *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 flatpak_development_call_host_command_finish (
    FlatpakDevelopment *proxy,
    guint *out_pid,
    GUnixFDList **out_fd_list,
    GAsyncResult *res,
    GError **error);

gboolean flatpak_development_call_host_command_sync (
    FlatpakDevelopment *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 flatpak_development_call_host_command_signal (
    FlatpakDevelopment *proxy,
    guint arg_pid,
    guint arg_signal,
    gboolean arg_to_process_group,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean flatpak_development_call_host_command_signal_finish (
    FlatpakDevelopment *proxy,
    GAsyncResult *res,
    GError **error);

gboolean flatpak_development_call_host_command_signal_sync (
    FlatpakDevelopment *proxy,
    guint arg_pid,
    guint arg_signal,
    gboolean arg_to_process_group,
    GCancellable *cancellable,
    GError **error);



/* D-Bus property accessors: */
guint flatpak_development_get_version (FlatpakDevelopment *object);
void flatpak_development_set_version (FlatpakDevelopment *object, guint value);


/* ---- */

#define FLATPAK_TYPE_DEVELOPMENT_PROXY (flatpak_development_proxy_get_type ())
#define FLATPAK_DEVELOPMENT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), FLATPAK_TYPE_DEVELOPMENT_PROXY, FlatpakDevelopmentProxy))
#define FLATPAK_DEVELOPMENT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), FLATPAK_TYPE_DEVELOPMENT_PROXY, FlatpakDevelopmentProxyClass))
#define FLATPAK_DEVELOPMENT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), FLATPAK_TYPE_DEVELOPMENT_PROXY, FlatpakDevelopmentProxyClass))
#define FLATPAK_IS_DEVELOPMENT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), FLATPAK_TYPE_DEVELOPMENT_PROXY))
#define FLATPAK_IS_DEVELOPMENT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), FLATPAK_TYPE_DEVELOPMENT_PROXY))

typedef struct _FlatpakDevelopmentProxy FlatpakDevelopmentProxy;
typedef struct _FlatpakDevelopmentProxyClass FlatpakDevelopmentProxyClass;
typedef struct _FlatpakDevelopmentProxyPrivate FlatpakDevelopmentProxyPrivate;

struct _FlatpakDevelopmentProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  FlatpakDevelopmentProxyPrivate *priv;
};

struct _FlatpakDevelopmentProxyClass
{
  GDBusProxyClass parent_class;
};

GType flatpak_development_proxy_get_type (void) G_GNUC_CONST;

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

void flatpak_development_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
FlatpakDevelopment *flatpak_development_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
FlatpakDevelopment *flatpak_development_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void 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);
FlatpakDevelopment *flatpak_development_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
FlatpakDevelopment *flatpak_development_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define FLATPAK_TYPE_DEVELOPMENT_SKELETON (flatpak_development_skeleton_get_type ())
#define FLATPAK_DEVELOPMENT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), FLATPAK_TYPE_DEVELOPMENT_SKELETON, FlatpakDevelopmentSkeleton))
#define FLATPAK_DEVELOPMENT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), FLATPAK_TYPE_DEVELOPMENT_SKELETON, FlatpakDevelopmentSkeletonClass))
#define FLATPAK_DEVELOPMENT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), FLATPAK_TYPE_DEVELOPMENT_SKELETON, FlatpakDevelopmentSkeletonClass))
#define FLATPAK_IS_DEVELOPMENT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), FLATPAK_TYPE_DEVELOPMENT_SKELETON))
#define FLATPAK_IS_DEVELOPMENT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), FLATPAK_TYPE_DEVELOPMENT_SKELETON))

typedef struct _FlatpakDevelopmentSkeleton FlatpakDevelopmentSkeleton;
typedef struct _FlatpakDevelopmentSkeletonClass FlatpakDevelopmentSkeletonClass;
typedef struct _FlatpakDevelopmentSkeletonPrivate FlatpakDevelopmentSkeletonPrivate;

struct _FlatpakDevelopmentSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  FlatpakDevelopmentSkeletonPrivate *priv;
};

struct _FlatpakDevelopmentSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType flatpak_development_skeleton_get_type (void) G_GNUC_CONST;

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

FlatpakDevelopment *flatpak_development_skeleton_new (void);


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

#define FLATPAK_TYPE_SYSTEM_HELPER (flatpak_system_helper_get_type ())
#define FLATPAK_SYSTEM_HELPER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), FLATPAK_TYPE_SYSTEM_HELPER, FlatpakSystemHelper))
#define FLATPAK_IS_SYSTEM_HELPER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), FLATPAK_TYPE_SYSTEM_HELPER))
#define FLATPAK_SYSTEM_HELPER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), FLATPAK_TYPE_SYSTEM_HELPER, FlatpakSystemHelperIface))

struct _FlatpakSystemHelper;
typedef struct _FlatpakSystemHelper FlatpakSystemHelper;
typedef struct _FlatpakSystemHelperIface FlatpakSystemHelperIface;

struct _FlatpakSystemHelperIface
{
  GTypeInterface parent_iface;


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

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

  gboolean (*handle_configure_remote) (
    FlatpakSystemHelper *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) (
    FlatpakSystemHelper *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) (
    FlatpakSystemHelper *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) (
    FlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    guint arg_flags,
    const gchar *arg_installation);

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

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

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

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

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

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

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

  gboolean (*handle_update_remote) (
    FlatpakSystemHelper *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) (
    FlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    guint arg_flags,
    const gchar *arg_installation);

  guint  (*get_version) (FlatpakSystemHelper *object);

};

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

GType flatpak_system_helper_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *flatpak_system_helper_interface_info (void);
guint flatpak_system_helper_override_properties (GObjectClass *klass, guint property_id_begin);


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

void flatpak_system_helper_complete_deploy_appstream (
    FlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void flatpak_system_helper_complete_uninstall (
    FlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void flatpak_system_helper_complete_install_bundle (
    FlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation,
    const gchar *ref);

void flatpak_system_helper_complete_configure_remote (
    FlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void flatpak_system_helper_complete_configure (
    FlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void flatpak_system_helper_complete_update_remote (
    FlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void flatpak_system_helper_complete_remove_local_ref (
    FlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void flatpak_system_helper_complete_prune_local_repo (
    FlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void flatpak_system_helper_complete_run_triggers (
    FlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void flatpak_system_helper_complete_ensure_repo (
    FlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void flatpak_system_helper_complete_update_summary (
    FlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void flatpak_system_helper_complete_generate_oci_summary (
    FlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

void flatpak_system_helper_complete_cancel_pull (
    FlatpakSystemHelper *object,
    GDBusMethodInvocation *invocation);

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



/* D-Bus method calls: */
void flatpak_system_helper_call_deploy (
    FlatpakSystemHelper *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 flatpak_system_helper_call_deploy_finish (
    FlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean flatpak_system_helper_call_deploy_sync (
    FlatpakSystemHelper *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 flatpak_system_helper_call_deploy_appstream (
    FlatpakSystemHelper *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 flatpak_system_helper_call_deploy_appstream_finish (
    FlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean flatpak_system_helper_call_deploy_appstream_sync (
    FlatpakSystemHelper *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 flatpak_system_helper_call_uninstall (
    FlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_ref,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean flatpak_system_helper_call_uninstall_finish (
    FlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

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

void flatpak_system_helper_call_install_bundle (
    FlatpakSystemHelper *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 flatpak_system_helper_call_install_bundle_finish (
    FlatpakSystemHelper *proxy,
    gchar **out_ref,
    GAsyncResult *res,
    GError **error);

gboolean flatpak_system_helper_call_install_bundle_sync (
    FlatpakSystemHelper *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 flatpak_system_helper_call_configure_remote (
    FlatpakSystemHelper *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 flatpak_system_helper_call_configure_remote_finish (
    FlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean flatpak_system_helper_call_configure_remote_sync (
    FlatpakSystemHelper *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 flatpak_system_helper_call_configure (
    FlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_key,
    const gchar *arg_value,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean flatpak_system_helper_call_configure_finish (
    FlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

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

void flatpak_system_helper_call_update_remote (
    FlatpakSystemHelper *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 flatpak_system_helper_call_update_remote_finish (
    FlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

gboolean flatpak_system_helper_call_update_remote_sync (
    FlatpakSystemHelper *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 flatpak_system_helper_call_remove_local_ref (
    FlatpakSystemHelper *proxy,
    guint arg_flags,
    const gchar *arg_remote,
    const gchar *arg_ref,
    const gchar *arg_installation,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean flatpak_system_helper_call_remove_local_ref_finish (
    FlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

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

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

gboolean flatpak_system_helper_call_prune_local_repo_finish (
    FlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

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

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

gboolean flatpak_system_helper_call_run_triggers_finish (
    FlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

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

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

gboolean flatpak_system_helper_call_ensure_repo_finish (
    FlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

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

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

gboolean flatpak_system_helper_call_update_summary_finish (
    FlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

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

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

gboolean flatpak_system_helper_call_generate_oci_summary_finish (
    FlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

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

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

gboolean flatpak_system_helper_call_cancel_pull_finish (
    FlatpakSystemHelper *proxy,
    GAsyncResult *res,
    GError **error);

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

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

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

gboolean flatpak_system_helper_call_get_revokefs_fd_sync (
    FlatpakSystemHelper *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 flatpak_system_helper_get_version (FlatpakSystemHelper *object);
void flatpak_system_helper_set_version (FlatpakSystemHelper *object, guint value);


/* ---- */

#define FLATPAK_TYPE_SYSTEM_HELPER_PROXY (flatpak_system_helper_proxy_get_type ())
#define FLATPAK_SYSTEM_HELPER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), FLATPAK_TYPE_SYSTEM_HELPER_PROXY, FlatpakSystemHelperProxy))
#define FLATPAK_SYSTEM_HELPER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), FLATPAK_TYPE_SYSTEM_HELPER_PROXY, FlatpakSystemHelperProxyClass))
#define FLATPAK_SYSTEM_HELPER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), FLATPAK_TYPE_SYSTEM_HELPER_PROXY, FlatpakSystemHelperProxyClass))
#define FLATPAK_IS_SYSTEM_HELPER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), FLATPAK_TYPE_SYSTEM_HELPER_PROXY))
#define FLATPAK_IS_SYSTEM_HELPER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), FLATPAK_TYPE_SYSTEM_HELPER_PROXY))

typedef struct _FlatpakSystemHelperProxy FlatpakSystemHelperProxy;
typedef struct _FlatpakSystemHelperProxyClass FlatpakSystemHelperProxyClass;
typedef struct _FlatpakSystemHelperProxyPrivate FlatpakSystemHelperProxyPrivate;

struct _FlatpakSystemHelperProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  FlatpakSystemHelperProxyPrivate *priv;
};

struct _FlatpakSystemHelperProxyClass
{
  GDBusProxyClass parent_class;
};

GType flatpak_system_helper_proxy_get_type (void) G_GNUC_CONST;

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

void flatpak_system_helper_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
FlatpakSystemHelper *flatpak_system_helper_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
FlatpakSystemHelper *flatpak_system_helper_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void 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);
FlatpakSystemHelper *flatpak_system_helper_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
FlatpakSystemHelper *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 FLATPAK_TYPE_SYSTEM_HELPER_SKELETON (flatpak_system_helper_skeleton_get_type ())
#define FLATPAK_SYSTEM_HELPER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), FLATPAK_TYPE_SYSTEM_HELPER_SKELETON, FlatpakSystemHelperSkeleton))
#define FLATPAK_SYSTEM_HELPER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), FLATPAK_TYPE_SYSTEM_HELPER_SKELETON, FlatpakSystemHelperSkeletonClass))
#define FLATPAK_SYSTEM_HELPER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), FLATPAK_TYPE_SYSTEM_HELPER_SKELETON, FlatpakSystemHelperSkeletonClass))
#define FLATPAK_IS_SYSTEM_HELPER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), FLATPAK_TYPE_SYSTEM_HELPER_SKELETON))
#define FLATPAK_IS_SYSTEM_HELPER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), FLATPAK_TYPE_SYSTEM_HELPER_SKELETON))

typedef struct _FlatpakSystemHelperSkeleton FlatpakSystemHelperSkeleton;
typedef struct _FlatpakSystemHelperSkeletonClass FlatpakSystemHelperSkeletonClass;
typedef struct _FlatpakSystemHelperSkeletonPrivate FlatpakSystemHelperSkeletonPrivate;

struct _FlatpakSystemHelperSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  FlatpakSystemHelperSkeletonPrivate *priv;
};

struct _FlatpakSystemHelperSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType flatpak_system_helper_skeleton_get_type (void) G_GNUC_CONST;

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

FlatpakSystemHelper *flatpak_system_helper_skeleton_new (void);


G_END_DECLS

#endif /* __FLATPAK_DBUS_GENERATED_H__ */
