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

#include <gio/gio.h>

G_BEGIN_DECLS


/* ------------------------------------------------------------------------ */
/* Declarations for com.ubuntu.content.dbus.Handler */

#define CONTENT_HUB_TYPE_HANDLER (content_hub_handler_get_type ())
#define CONTENT_HUB_HANDLER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CONTENT_HUB_TYPE_HANDLER, ContentHubHandler))
#define CONTENT_HUB_IS_HANDLER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CONTENT_HUB_TYPE_HANDLER))
#define CONTENT_HUB_HANDLER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), CONTENT_HUB_TYPE_HANDLER, ContentHubHandlerIface))

struct _ContentHubHandler;
typedef struct _ContentHubHandler ContentHubHandler;
typedef struct _ContentHubHandlerIface ContentHubHandlerIface;

struct _ContentHubHandlerIface
{
  GTypeInterface parent_iface;

  gboolean (*handle_handle_export) (
    ContentHubHandler *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_transfer);

  gboolean (*handle_handle_import) (
    ContentHubHandler *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_transfer);

  gboolean (*handle_handle_share) (
    ContentHubHandler *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_transfer);

};

GType content_hub_handler_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *content_hub_handler_interface_info (void);
guint content_hub_handler_override_properties (GObjectClass *klass, guint property_id_begin);


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

void content_hub_handler_complete_handle_export (
    ContentHubHandler *object,
    GDBusMethodInvocation *invocation);

void content_hub_handler_complete_handle_share (
    ContentHubHandler *object,
    GDBusMethodInvocation *invocation);



/* D-Bus method calls: */
void content_hub_handler_call_handle_import (
    ContentHubHandler *proxy,
    const gchar *arg_transfer,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_handler_call_handle_import_finish (
    ContentHubHandler *proxy,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_handler_call_handle_import_sync (
    ContentHubHandler *proxy,
    const gchar *arg_transfer,
    GCancellable *cancellable,
    GError **error);

void content_hub_handler_call_handle_export (
    ContentHubHandler *proxy,
    const gchar *arg_transfer,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_handler_call_handle_export_finish (
    ContentHubHandler *proxy,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_handler_call_handle_export_sync (
    ContentHubHandler *proxy,
    const gchar *arg_transfer,
    GCancellable *cancellable,
    GError **error);

void content_hub_handler_call_handle_share (
    ContentHubHandler *proxy,
    const gchar *arg_transfer,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_handler_call_handle_share_finish (
    ContentHubHandler *proxy,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_handler_call_handle_share_sync (
    ContentHubHandler *proxy,
    const gchar *arg_transfer,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define CONTENT_HUB_TYPE_HANDLER_PROXY (content_hub_handler_proxy_get_type ())
#define CONTENT_HUB_HANDLER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CONTENT_HUB_TYPE_HANDLER_PROXY, ContentHubHandlerProxy))
#define CONTENT_HUB_HANDLER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CONTENT_HUB_TYPE_HANDLER_PROXY, ContentHubHandlerProxyClass))
#define CONTENT_HUB_HANDLER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CONTENT_HUB_TYPE_HANDLER_PROXY, ContentHubHandlerProxyClass))
#define CONTENT_HUB_IS_HANDLER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CONTENT_HUB_TYPE_HANDLER_PROXY))
#define CONTENT_HUB_IS_HANDLER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CONTENT_HUB_TYPE_HANDLER_PROXY))

typedef struct _ContentHubHandlerProxy ContentHubHandlerProxy;
typedef struct _ContentHubHandlerProxyClass ContentHubHandlerProxyClass;
typedef struct _ContentHubHandlerProxyPrivate ContentHubHandlerProxyPrivate;

struct _ContentHubHandlerProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  ContentHubHandlerProxyPrivate *priv;
};

struct _ContentHubHandlerProxyClass
{
  GDBusProxyClass parent_class;
};

GType content_hub_handler_proxy_get_type (void) G_GNUC_CONST;

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

void content_hub_handler_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
ContentHubHandler *content_hub_handler_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
ContentHubHandler *content_hub_handler_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void content_hub_handler_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
ContentHubHandler *content_hub_handler_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
ContentHubHandler *content_hub_handler_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define CONTENT_HUB_TYPE_HANDLER_SKELETON (content_hub_handler_skeleton_get_type ())
#define CONTENT_HUB_HANDLER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CONTENT_HUB_TYPE_HANDLER_SKELETON, ContentHubHandlerSkeleton))
#define CONTENT_HUB_HANDLER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CONTENT_HUB_TYPE_HANDLER_SKELETON, ContentHubHandlerSkeletonClass))
#define CONTENT_HUB_HANDLER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CONTENT_HUB_TYPE_HANDLER_SKELETON, ContentHubHandlerSkeletonClass))
#define CONTENT_HUB_IS_HANDLER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CONTENT_HUB_TYPE_HANDLER_SKELETON))
#define CONTENT_HUB_IS_HANDLER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CONTENT_HUB_TYPE_HANDLER_SKELETON))

typedef struct _ContentHubHandlerSkeleton ContentHubHandlerSkeleton;
typedef struct _ContentHubHandlerSkeletonClass ContentHubHandlerSkeletonClass;
typedef struct _ContentHubHandlerSkeletonPrivate ContentHubHandlerSkeletonPrivate;

struct _ContentHubHandlerSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  ContentHubHandlerSkeletonPrivate *priv;
};

struct _ContentHubHandlerSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType content_hub_handler_skeleton_get_type (void) G_GNUC_CONST;

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

ContentHubHandler *content_hub_handler_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for com.ubuntu.content.dbus.Paste */

#define CONTENT_HUB_TYPE_PASTE (content_hub_paste_get_type ())
#define CONTENT_HUB_PASTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CONTENT_HUB_TYPE_PASTE, ContentHubPaste))
#define CONTENT_HUB_IS_PASTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CONTENT_HUB_TYPE_PASTE))
#define CONTENT_HUB_PASTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), CONTENT_HUB_TYPE_PASTE, ContentHubPasteIface))

struct _ContentHubPaste;
typedef struct _ContentHubPaste ContentHubPaste;
typedef struct _ContentHubPasteIface ContentHubPasteIface;

struct _ContentHubPasteIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_charge) (
    ContentHubPaste *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_mimeData);

  gboolean (*handle_id) (
    ContentHubPaste *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_mime_data) (
    ContentHubPaste *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_source) (
    ContentHubPaste *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_state) (
    ContentHubPaste *object,
    GDBusMethodInvocation *invocation);

  void (*state_changed) (
    ContentHubPaste *object,
    gint arg_state);

};

GType content_hub_paste_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *content_hub_paste_interface_info (void);
guint content_hub_paste_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void content_hub_paste_complete_id (
    ContentHubPaste *object,
    GDBusMethodInvocation *invocation,
    gint id);

void content_hub_paste_complete_state (
    ContentHubPaste *object,
    GDBusMethodInvocation *invocation,
    gint state);

void content_hub_paste_complete_charge (
    ContentHubPaste *object,
    GDBusMethodInvocation *invocation);

void content_hub_paste_complete_mime_data (
    ContentHubPaste *object,
    GDBusMethodInvocation *invocation,
    GVariant *mimeData);

void content_hub_paste_complete_source (
    ContentHubPaste *object,
    GDBusMethodInvocation *invocation,
    const gchar *source);



/* D-Bus signal emissions functions: */
void content_hub_paste_emit_state_changed (
    ContentHubPaste *object,
    gint arg_state);



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

gboolean content_hub_paste_call_id_finish (
    ContentHubPaste *proxy,
    gint *out_id,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_paste_call_id_sync (
    ContentHubPaste *proxy,
    gint *out_id,
    GCancellable *cancellable,
    GError **error);

void content_hub_paste_call_state (
    ContentHubPaste *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_paste_call_state_finish (
    ContentHubPaste *proxy,
    gint *out_state,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_paste_call_state_sync (
    ContentHubPaste *proxy,
    gint *out_state,
    GCancellable *cancellable,
    GError **error);

void content_hub_paste_call_charge (
    ContentHubPaste *proxy,
    GVariant *arg_mimeData,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_paste_call_charge_finish (
    ContentHubPaste *proxy,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_paste_call_charge_sync (
    ContentHubPaste *proxy,
    GVariant *arg_mimeData,
    GCancellable *cancellable,
    GError **error);

void content_hub_paste_call_mime_data (
    ContentHubPaste *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_paste_call_mime_data_finish (
    ContentHubPaste *proxy,
    GVariant **out_mimeData,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_paste_call_mime_data_sync (
    ContentHubPaste *proxy,
    GVariant **out_mimeData,
    GCancellable *cancellable,
    GError **error);

void content_hub_paste_call_source (
    ContentHubPaste *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_paste_call_source_finish (
    ContentHubPaste *proxy,
    gchar **out_source,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_paste_call_source_sync (
    ContentHubPaste *proxy,
    gchar **out_source,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define CONTENT_HUB_TYPE_PASTE_PROXY (content_hub_paste_proxy_get_type ())
#define CONTENT_HUB_PASTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CONTENT_HUB_TYPE_PASTE_PROXY, ContentHubPasteProxy))
#define CONTENT_HUB_PASTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CONTENT_HUB_TYPE_PASTE_PROXY, ContentHubPasteProxyClass))
#define CONTENT_HUB_PASTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CONTENT_HUB_TYPE_PASTE_PROXY, ContentHubPasteProxyClass))
#define CONTENT_HUB_IS_PASTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CONTENT_HUB_TYPE_PASTE_PROXY))
#define CONTENT_HUB_IS_PASTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CONTENT_HUB_TYPE_PASTE_PROXY))

typedef struct _ContentHubPasteProxy ContentHubPasteProxy;
typedef struct _ContentHubPasteProxyClass ContentHubPasteProxyClass;
typedef struct _ContentHubPasteProxyPrivate ContentHubPasteProxyPrivate;

struct _ContentHubPasteProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  ContentHubPasteProxyPrivate *priv;
};

struct _ContentHubPasteProxyClass
{
  GDBusProxyClass parent_class;
};

GType content_hub_paste_proxy_get_type (void) G_GNUC_CONST;

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

void content_hub_paste_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
ContentHubPaste *content_hub_paste_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
ContentHubPaste *content_hub_paste_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void content_hub_paste_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
ContentHubPaste *content_hub_paste_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
ContentHubPaste *content_hub_paste_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define CONTENT_HUB_TYPE_PASTE_SKELETON (content_hub_paste_skeleton_get_type ())
#define CONTENT_HUB_PASTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CONTENT_HUB_TYPE_PASTE_SKELETON, ContentHubPasteSkeleton))
#define CONTENT_HUB_PASTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CONTENT_HUB_TYPE_PASTE_SKELETON, ContentHubPasteSkeletonClass))
#define CONTENT_HUB_PASTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CONTENT_HUB_TYPE_PASTE_SKELETON, ContentHubPasteSkeletonClass))
#define CONTENT_HUB_IS_PASTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CONTENT_HUB_TYPE_PASTE_SKELETON))
#define CONTENT_HUB_IS_PASTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CONTENT_HUB_TYPE_PASTE_SKELETON))

typedef struct _ContentHubPasteSkeleton ContentHubPasteSkeleton;
typedef struct _ContentHubPasteSkeletonClass ContentHubPasteSkeletonClass;
typedef struct _ContentHubPasteSkeletonPrivate ContentHubPasteSkeletonPrivate;

struct _ContentHubPasteSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  ContentHubPasteSkeletonPrivate *priv;
};

struct _ContentHubPasteSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType content_hub_paste_skeleton_get_type (void) G_GNUC_CONST;

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

ContentHubPaste *content_hub_paste_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for com.ubuntu.content.dbus.Service */

#define CONTENT_HUB_TYPE_SERVICE (content_hub_service_get_type ())
#define CONTENT_HUB_SERVICE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CONTENT_HUB_TYPE_SERVICE, ContentHubService))
#define CONTENT_HUB_IS_SERVICE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CONTENT_HUB_TYPE_SERVICE))
#define CONTENT_HUB_SERVICE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), CONTENT_HUB_TYPE_SERVICE, ContentHubServiceIface))

struct _ContentHubService;
typedef struct _ContentHubService ContentHubService;
typedef struct _ContentHubServiceIface ContentHubServiceIface;

struct _ContentHubServiceIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_create_export_to_peer) (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_peer_id,
    const gchar *arg_app_id,
    const gchar *arg_type_id);

  gboolean (*handle_create_import_from_peer) (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_peer_id,
    const gchar *arg_app_id,
    const gchar *arg_type_id);

  gboolean (*handle_create_paste) (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_app_id,
    const gchar *arg_surfaceId,
    GVariant *arg_mimeData,
    const gchar *const *arg_types);

  gboolean (*handle_create_share_to_peer) (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_peer_id,
    const gchar *arg_app_id,
    const gchar *arg_type_id);

  gboolean (*handle_default_source_for_type) (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_type_id);

  gboolean (*handle_get_latest_paste_data) (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_surfaceId);

  gboolean (*handle_get_paste_data) (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_surfaceId,
    const gchar *arg_pasteid);

  gboolean (*handle_handler_active) (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_peer_id);

  gboolean (*handle_has_pending) (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_peer_id);

  gboolean (*handle_known_destinations_for_type) (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_type_id);

  gboolean (*handle_known_shares_for_type) (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_type_id);

  gboolean (*handle_known_sources_for_type) (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_type_id);

  gboolean (*handle_paste_formats) (
    ContentHubService *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_peer_for_id) (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_app_id);

  gboolean (*handle_quit) (
    ContentHubService *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_register_import_export_handler) (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_peer_id,
    const gchar *arg_handler_object);

  void (*paste_formats_changed) (
    ContentHubService *object,
    const gchar *const *arg_formats);

  void (*pasteboard_changed) (
    ContentHubService *object);

};

GType content_hub_service_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *content_hub_service_interface_info (void);
guint content_hub_service_override_properties (GObjectClass *klass, guint property_id_begin);


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

void content_hub_service_complete_default_source_for_type (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    GVariant *peer);

void content_hub_service_complete_known_sources_for_type (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    GVariant *peers);

void content_hub_service_complete_known_destinations_for_type (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    GVariant *peers);

void content_hub_service_complete_known_shares_for_type (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    GVariant *peers);

void content_hub_service_complete_create_import_from_peer (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *transfer_object);

void content_hub_service_complete_create_export_to_peer (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *transfer_object);

void content_hub_service_complete_create_share_to_peer (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *transfer_object);

void content_hub_service_complete_create_paste (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    gboolean success);

void content_hub_service_complete_get_latest_paste_data (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    GVariant *mimeData);

void content_hub_service_complete_get_paste_data (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    GVariant *mimeData);

void content_hub_service_complete_register_import_export_handler (
    ContentHubService *object,
    GDBusMethodInvocation *invocation);

void content_hub_service_complete_handler_active (
    ContentHubService *object,
    GDBusMethodInvocation *invocation);

void content_hub_service_complete_has_pending (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    gboolean pending);

void content_hub_service_complete_peer_for_id (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    GVariant *peer);

void content_hub_service_complete_paste_formats (
    ContentHubService *object,
    GDBusMethodInvocation *invocation,
    const gchar *const *formats);



/* D-Bus signal emissions functions: */
void content_hub_service_emit_paste_formats_changed (
    ContentHubService *object,
    const gchar *const *arg_formats);

void content_hub_service_emit_pasteboard_changed (
    ContentHubService *object);



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

gboolean content_hub_service_call_quit_finish (
    ContentHubService *proxy,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_service_call_quit_sync (
    ContentHubService *proxy,
    GCancellable *cancellable,
    GError **error);

void content_hub_service_call_default_source_for_type (
    ContentHubService *proxy,
    const gchar *arg_type_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_service_call_default_source_for_type_finish (
    ContentHubService *proxy,
    GVariant **out_peer,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_service_call_default_source_for_type_sync (
    ContentHubService *proxy,
    const gchar *arg_type_id,
    GVariant **out_peer,
    GCancellable *cancellable,
    GError **error);

void content_hub_service_call_known_sources_for_type (
    ContentHubService *proxy,
    const gchar *arg_type_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_service_call_known_sources_for_type_finish (
    ContentHubService *proxy,
    GVariant **out_peers,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_service_call_known_sources_for_type_sync (
    ContentHubService *proxy,
    const gchar *arg_type_id,
    GVariant **out_peers,
    GCancellable *cancellable,
    GError **error);

void content_hub_service_call_known_destinations_for_type (
    ContentHubService *proxy,
    const gchar *arg_type_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_service_call_known_destinations_for_type_finish (
    ContentHubService *proxy,
    GVariant **out_peers,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_service_call_known_destinations_for_type_sync (
    ContentHubService *proxy,
    const gchar *arg_type_id,
    GVariant **out_peers,
    GCancellable *cancellable,
    GError **error);

void content_hub_service_call_known_shares_for_type (
    ContentHubService *proxy,
    const gchar *arg_type_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_service_call_known_shares_for_type_finish (
    ContentHubService *proxy,
    GVariant **out_peers,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_service_call_known_shares_for_type_sync (
    ContentHubService *proxy,
    const gchar *arg_type_id,
    GVariant **out_peers,
    GCancellable *cancellable,
    GError **error);

void content_hub_service_call_create_import_from_peer (
    ContentHubService *proxy,
    const gchar *arg_peer_id,
    const gchar *arg_app_id,
    const gchar *arg_type_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_service_call_create_import_from_peer_finish (
    ContentHubService *proxy,
    gchar **out_transfer_object,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_service_call_create_import_from_peer_sync (
    ContentHubService *proxy,
    const gchar *arg_peer_id,
    const gchar *arg_app_id,
    const gchar *arg_type_id,
    gchar **out_transfer_object,
    GCancellable *cancellable,
    GError **error);

void content_hub_service_call_create_export_to_peer (
    ContentHubService *proxy,
    const gchar *arg_peer_id,
    const gchar *arg_app_id,
    const gchar *arg_type_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_service_call_create_export_to_peer_finish (
    ContentHubService *proxy,
    gchar **out_transfer_object,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_service_call_create_export_to_peer_sync (
    ContentHubService *proxy,
    const gchar *arg_peer_id,
    const gchar *arg_app_id,
    const gchar *arg_type_id,
    gchar **out_transfer_object,
    GCancellable *cancellable,
    GError **error);

void content_hub_service_call_create_share_to_peer (
    ContentHubService *proxy,
    const gchar *arg_peer_id,
    const gchar *arg_app_id,
    const gchar *arg_type_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_service_call_create_share_to_peer_finish (
    ContentHubService *proxy,
    gchar **out_transfer_object,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_service_call_create_share_to_peer_sync (
    ContentHubService *proxy,
    const gchar *arg_peer_id,
    const gchar *arg_app_id,
    const gchar *arg_type_id,
    gchar **out_transfer_object,
    GCancellable *cancellable,
    GError **error);

void content_hub_service_call_create_paste (
    ContentHubService *proxy,
    const gchar *arg_app_id,
    const gchar *arg_surfaceId,
    GVariant *arg_mimeData,
    const gchar *const *arg_types,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_service_call_create_paste_finish (
    ContentHubService *proxy,
    gboolean *out_success,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_service_call_create_paste_sync (
    ContentHubService *proxy,
    const gchar *arg_app_id,
    const gchar *arg_surfaceId,
    GVariant *arg_mimeData,
    const gchar *const *arg_types,
    gboolean *out_success,
    GCancellable *cancellable,
    GError **error);

void content_hub_service_call_get_latest_paste_data (
    ContentHubService *proxy,
    const gchar *arg_surfaceId,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_service_call_get_latest_paste_data_finish (
    ContentHubService *proxy,
    GVariant **out_mimeData,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_service_call_get_latest_paste_data_sync (
    ContentHubService *proxy,
    const gchar *arg_surfaceId,
    GVariant **out_mimeData,
    GCancellable *cancellable,
    GError **error);

void content_hub_service_call_get_paste_data (
    ContentHubService *proxy,
    const gchar *arg_surfaceId,
    const gchar *arg_pasteid,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_service_call_get_paste_data_finish (
    ContentHubService *proxy,
    GVariant **out_mimeData,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_service_call_get_paste_data_sync (
    ContentHubService *proxy,
    const gchar *arg_surfaceId,
    const gchar *arg_pasteid,
    GVariant **out_mimeData,
    GCancellable *cancellable,
    GError **error);

void content_hub_service_call_register_import_export_handler (
    ContentHubService *proxy,
    const gchar *arg_peer_id,
    const gchar *arg_handler_object,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_service_call_register_import_export_handler_finish (
    ContentHubService *proxy,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_service_call_register_import_export_handler_sync (
    ContentHubService *proxy,
    const gchar *arg_peer_id,
    const gchar *arg_handler_object,
    GCancellable *cancellable,
    GError **error);

void content_hub_service_call_handler_active (
    ContentHubService *proxy,
    const gchar *arg_peer_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_service_call_handler_active_finish (
    ContentHubService *proxy,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_service_call_handler_active_sync (
    ContentHubService *proxy,
    const gchar *arg_peer_id,
    GCancellable *cancellable,
    GError **error);

void content_hub_service_call_has_pending (
    ContentHubService *proxy,
    const gchar *arg_peer_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_service_call_has_pending_finish (
    ContentHubService *proxy,
    gboolean *out_pending,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_service_call_has_pending_sync (
    ContentHubService *proxy,
    const gchar *arg_peer_id,
    gboolean *out_pending,
    GCancellable *cancellable,
    GError **error);

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

gboolean content_hub_service_call_peer_for_id_finish (
    ContentHubService *proxy,
    GVariant **out_peer,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_service_call_peer_for_id_sync (
    ContentHubService *proxy,
    const gchar *arg_app_id,
    GVariant **out_peer,
    GCancellable *cancellable,
    GError **error);

void content_hub_service_call_paste_formats (
    ContentHubService *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_service_call_paste_formats_finish (
    ContentHubService *proxy,
    gchar ***out_formats,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_service_call_paste_formats_sync (
    ContentHubService *proxy,
    gchar ***out_formats,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define CONTENT_HUB_TYPE_SERVICE_PROXY (content_hub_service_proxy_get_type ())
#define CONTENT_HUB_SERVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CONTENT_HUB_TYPE_SERVICE_PROXY, ContentHubServiceProxy))
#define CONTENT_HUB_SERVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CONTENT_HUB_TYPE_SERVICE_PROXY, ContentHubServiceProxyClass))
#define CONTENT_HUB_SERVICE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CONTENT_HUB_TYPE_SERVICE_PROXY, ContentHubServiceProxyClass))
#define CONTENT_HUB_IS_SERVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CONTENT_HUB_TYPE_SERVICE_PROXY))
#define CONTENT_HUB_IS_SERVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CONTENT_HUB_TYPE_SERVICE_PROXY))

typedef struct _ContentHubServiceProxy ContentHubServiceProxy;
typedef struct _ContentHubServiceProxyClass ContentHubServiceProxyClass;
typedef struct _ContentHubServiceProxyPrivate ContentHubServiceProxyPrivate;

struct _ContentHubServiceProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  ContentHubServiceProxyPrivate *priv;
};

struct _ContentHubServiceProxyClass
{
  GDBusProxyClass parent_class;
};

GType content_hub_service_proxy_get_type (void) G_GNUC_CONST;

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

void content_hub_service_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
ContentHubService *content_hub_service_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
ContentHubService *content_hub_service_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void content_hub_service_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
ContentHubService *content_hub_service_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
ContentHubService *content_hub_service_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define CONTENT_HUB_TYPE_SERVICE_SKELETON (content_hub_service_skeleton_get_type ())
#define CONTENT_HUB_SERVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CONTENT_HUB_TYPE_SERVICE_SKELETON, ContentHubServiceSkeleton))
#define CONTENT_HUB_SERVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CONTENT_HUB_TYPE_SERVICE_SKELETON, ContentHubServiceSkeletonClass))
#define CONTENT_HUB_SERVICE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CONTENT_HUB_TYPE_SERVICE_SKELETON, ContentHubServiceSkeletonClass))
#define CONTENT_HUB_IS_SERVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CONTENT_HUB_TYPE_SERVICE_SKELETON))
#define CONTENT_HUB_IS_SERVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CONTENT_HUB_TYPE_SERVICE_SKELETON))

typedef struct _ContentHubServiceSkeleton ContentHubServiceSkeleton;
typedef struct _ContentHubServiceSkeletonClass ContentHubServiceSkeletonClass;
typedef struct _ContentHubServiceSkeletonPrivate ContentHubServiceSkeletonPrivate;

struct _ContentHubServiceSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  ContentHubServiceSkeletonPrivate *priv;
};

struct _ContentHubServiceSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType content_hub_service_skeleton_get_type (void) G_GNUC_CONST;

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

ContentHubService *content_hub_service_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for com.ubuntu.content.dbus.Transfer */

#define CONTENT_HUB_TYPE_TRANSFER (content_hub_transfer_get_type ())
#define CONTENT_HUB_TRANSFER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CONTENT_HUB_TYPE_TRANSFER, ContentHubTransfer))
#define CONTENT_HUB_IS_TRANSFER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CONTENT_HUB_TYPE_TRANSFER))
#define CONTENT_HUB_TRANSFER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), CONTENT_HUB_TYPE_TRANSFER, ContentHubTransferIface))

struct _ContentHubTransfer;
typedef struct _ContentHubTransfer ContentHubTransfer;
typedef struct _ContentHubTransferIface ContentHubTransferIface;

struct _ContentHubTransferIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_abort) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_charge) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_items);

  gboolean (*handle_collect) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_content_type) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_destination) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_direction) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_download) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_download_id) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_finalize) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_handled) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_id) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_selection_type) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_set_download_id) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_download_id);

  gboolean (*handle_set_selection_type) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation,
    gint arg_selection_type);

  gboolean (*handle_set_store) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_uri);

  gboolean (*handle_source) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_start) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_state) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_store) (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

  void (*download_id_changed) (
    ContentHubTransfer *object,
    const gchar *arg_download_id);

  void (*selection_type_changed) (
    ContentHubTransfer *object,
    gint arg_selection_type);

  void (*state_changed) (
    ContentHubTransfer *object,
    gint arg_state);

  void (*store_changed) (
    ContentHubTransfer *object,
    const gchar *arg_uri);

};

GType content_hub_transfer_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *content_hub_transfer_interface_info (void);
guint content_hub_transfer_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void content_hub_transfer_complete_id (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation,
    gint id);

void content_hub_transfer_complete_state (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation,
    gint state);

void content_hub_transfer_complete_start (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

void content_hub_transfer_complete_handled (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

void content_hub_transfer_complete_abort (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

void content_hub_transfer_complete_finalize (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

void content_hub_transfer_complete_download (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

void content_hub_transfer_complete_charge (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

void content_hub_transfer_complete_collect (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation,
    GVariant *items);

void content_hub_transfer_complete_store (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation,
    const gchar *uri);

void content_hub_transfer_complete_set_store (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

void content_hub_transfer_complete_selection_type (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation,
    gint selection_type);

void content_hub_transfer_complete_set_selection_type (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

void content_hub_transfer_complete_download_id (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation,
    const gchar *download_id);

void content_hub_transfer_complete_set_download_id (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation);

void content_hub_transfer_complete_direction (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation,
    gint direction);

void content_hub_transfer_complete_content_type (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation,
    const gchar *content_type);

void content_hub_transfer_complete_source (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation,
    const gchar *source);

void content_hub_transfer_complete_destination (
    ContentHubTransfer *object,
    GDBusMethodInvocation *invocation,
    const gchar *destination);



/* D-Bus signal emissions functions: */
void content_hub_transfer_emit_state_changed (
    ContentHubTransfer *object,
    gint arg_state);

void content_hub_transfer_emit_store_changed (
    ContentHubTransfer *object,
    const gchar *arg_uri);

void content_hub_transfer_emit_selection_type_changed (
    ContentHubTransfer *object,
    gint arg_selection_type);

void content_hub_transfer_emit_download_id_changed (
    ContentHubTransfer *object,
    const gchar *arg_download_id);



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

gboolean content_hub_transfer_call_id_finish (
    ContentHubTransfer *proxy,
    gint *out_id,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_id_sync (
    ContentHubTransfer *proxy,
    gint *out_id,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_state (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_state_finish (
    ContentHubTransfer *proxy,
    gint *out_state,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_state_sync (
    ContentHubTransfer *proxy,
    gint *out_state,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_start (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_start_finish (
    ContentHubTransfer *proxy,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_start_sync (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_handled (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_handled_finish (
    ContentHubTransfer *proxy,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_handled_sync (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_abort (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_abort_finish (
    ContentHubTransfer *proxy,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_abort_sync (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_finalize (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_finalize_finish (
    ContentHubTransfer *proxy,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_finalize_sync (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_download (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_download_finish (
    ContentHubTransfer *proxy,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_download_sync (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_charge (
    ContentHubTransfer *proxy,
    GVariant *arg_items,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_charge_finish (
    ContentHubTransfer *proxy,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_charge_sync (
    ContentHubTransfer *proxy,
    GVariant *arg_items,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_collect (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_collect_finish (
    ContentHubTransfer *proxy,
    GVariant **out_items,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_collect_sync (
    ContentHubTransfer *proxy,
    GVariant **out_items,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_store (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_store_finish (
    ContentHubTransfer *proxy,
    gchar **out_uri,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_store_sync (
    ContentHubTransfer *proxy,
    gchar **out_uri,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_set_store (
    ContentHubTransfer *proxy,
    const gchar *arg_uri,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_set_store_finish (
    ContentHubTransfer *proxy,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_set_store_sync (
    ContentHubTransfer *proxy,
    const gchar *arg_uri,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_selection_type (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_selection_type_finish (
    ContentHubTransfer *proxy,
    gint *out_selection_type,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_selection_type_sync (
    ContentHubTransfer *proxy,
    gint *out_selection_type,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_set_selection_type (
    ContentHubTransfer *proxy,
    gint arg_selection_type,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_set_selection_type_finish (
    ContentHubTransfer *proxy,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_set_selection_type_sync (
    ContentHubTransfer *proxy,
    gint arg_selection_type,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_download_id (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_download_id_finish (
    ContentHubTransfer *proxy,
    gchar **out_download_id,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_download_id_sync (
    ContentHubTransfer *proxy,
    gchar **out_download_id,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_set_download_id (
    ContentHubTransfer *proxy,
    const gchar *arg_download_id,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_set_download_id_finish (
    ContentHubTransfer *proxy,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_set_download_id_sync (
    ContentHubTransfer *proxy,
    const gchar *arg_download_id,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_direction (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_direction_finish (
    ContentHubTransfer *proxy,
    gint *out_direction,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_direction_sync (
    ContentHubTransfer *proxy,
    gint *out_direction,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_content_type (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_content_type_finish (
    ContentHubTransfer *proxy,
    gchar **out_content_type,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_content_type_sync (
    ContentHubTransfer *proxy,
    gchar **out_content_type,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_source (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_source_finish (
    ContentHubTransfer *proxy,
    gchar **out_source,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_source_sync (
    ContentHubTransfer *proxy,
    gchar **out_source,
    GCancellable *cancellable,
    GError **error);

void content_hub_transfer_call_destination (
    ContentHubTransfer *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean content_hub_transfer_call_destination_finish (
    ContentHubTransfer *proxy,
    gchar **out_destination,
    GAsyncResult *res,
    GError **error);

gboolean content_hub_transfer_call_destination_sync (
    ContentHubTransfer *proxy,
    gchar **out_destination,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define CONTENT_HUB_TYPE_TRANSFER_PROXY (content_hub_transfer_proxy_get_type ())
#define CONTENT_HUB_TRANSFER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CONTENT_HUB_TYPE_TRANSFER_PROXY, ContentHubTransferProxy))
#define CONTENT_HUB_TRANSFER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CONTENT_HUB_TYPE_TRANSFER_PROXY, ContentHubTransferProxyClass))
#define CONTENT_HUB_TRANSFER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CONTENT_HUB_TYPE_TRANSFER_PROXY, ContentHubTransferProxyClass))
#define CONTENT_HUB_IS_TRANSFER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CONTENT_HUB_TYPE_TRANSFER_PROXY))
#define CONTENT_HUB_IS_TRANSFER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CONTENT_HUB_TYPE_TRANSFER_PROXY))

typedef struct _ContentHubTransferProxy ContentHubTransferProxy;
typedef struct _ContentHubTransferProxyClass ContentHubTransferProxyClass;
typedef struct _ContentHubTransferProxyPrivate ContentHubTransferProxyPrivate;

struct _ContentHubTransferProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  ContentHubTransferProxyPrivate *priv;
};

struct _ContentHubTransferProxyClass
{
  GDBusProxyClass parent_class;
};

GType content_hub_transfer_proxy_get_type (void) G_GNUC_CONST;

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

void content_hub_transfer_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
ContentHubTransfer *content_hub_transfer_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
ContentHubTransfer *content_hub_transfer_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void content_hub_transfer_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
ContentHubTransfer *content_hub_transfer_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
ContentHubTransfer *content_hub_transfer_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define CONTENT_HUB_TYPE_TRANSFER_SKELETON (content_hub_transfer_skeleton_get_type ())
#define CONTENT_HUB_TRANSFER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CONTENT_HUB_TYPE_TRANSFER_SKELETON, ContentHubTransferSkeleton))
#define CONTENT_HUB_TRANSFER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CONTENT_HUB_TYPE_TRANSFER_SKELETON, ContentHubTransferSkeletonClass))
#define CONTENT_HUB_TRANSFER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CONTENT_HUB_TYPE_TRANSFER_SKELETON, ContentHubTransferSkeletonClass))
#define CONTENT_HUB_IS_TRANSFER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CONTENT_HUB_TYPE_TRANSFER_SKELETON))
#define CONTENT_HUB_IS_TRANSFER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CONTENT_HUB_TYPE_TRANSFER_SKELETON))

typedef struct _ContentHubTransferSkeleton ContentHubTransferSkeleton;
typedef struct _ContentHubTransferSkeletonClass ContentHubTransferSkeletonClass;
typedef struct _ContentHubTransferSkeletonPrivate ContentHubTransferSkeletonPrivate;

struct _ContentHubTransferSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  ContentHubTransferSkeletonPrivate *priv;
};

struct _ContentHubTransferSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType content_hub_transfer_skeleton_get_type (void) G_GNUC_CONST;

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

ContentHubTransfer *content_hub_transfer_skeleton_new (void);


G_END_DECLS

#endif /* __GLIB_CONTENT_HUB_GLIB_H__ */
