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

#include <gio/gio.h>

G_BEGIN_DECLS


/* ------------------------------------------------------------------------ */
/* Declarations for org.kylin.kaiming.interface */

#define TYPE_KAIMING_INTERFACE (kaiming_interface_get_type ())
#define KAIMING_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_KAIMING_INTERFACE, KaimingInterface))
#define IS_KAIMING_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_KAIMING_INTERFACE))
#define KAIMING_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_KAIMING_INTERFACE, KaimingInterfaceIface))

struct _KaimingInterface;
typedef struct _KaimingInterface KaimingInterface;
typedef struct _KaimingInterfaceIface KaimingInterfaceIface;

struct _KaimingInterfaceIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_cancel_install) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_taskId);

  gboolean (*handle_check_and_cleanup_uninstalled_drivers) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_get_all_is_installed) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *const *arg_names);

  gboolean (*handle_get_all_local_info) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_get_all_remote_info) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_get_all_upgradable) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *const *arg_names);

  gboolean (*handle_get_apps_remote_info) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_get_deb_info_from_ok) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_name);

  gboolean (*handle_get_local_deb_info) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_name);

  gboolean (*handle_get_local_info) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_name);

  gboolean (*handle_get_remote_info) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_name);

  gboolean (*handle_get_remote_package_status) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_name,
    const gchar *arg_version,
    const gchar *arg_branch);

  gboolean (*handle_get_remote_summary) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_install) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_name,
    const gchar *arg_branch);

  gboolean (*handle_install_offline_package) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_name,
    const gchar *arg_branch);

  gboolean (*handle_install_with_speed_limit) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_name,
    const gchar *arg_branch,
    guint arg_maxSpeedLimitKilobytes);

  gboolean (*handle_is_installed) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_name);

  gboolean (*handle_is_upgradable) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_name);

  gboolean (*handle_pause_install) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_taskIdOrName);

  gboolean (*handle_resume_install) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_taskIdOrName);

  gboolean (*handle_uninstall) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_name,
    const gchar *arg_branch);

  gboolean (*handle_update) (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_name,
    const gchar *arg_branch);

  void (*finishsignal) (
    KaimingInterface *object,
    const gchar *arg_refId,
    gint arg_operateType,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

  void (*getallisinstalledsignal) (
    KaimingInterface *object,
    const gchar *arg_name,
    GVariant *arg_allisinstallinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

  void (*getalllocalinfosignal) (
    KaimingInterface *object,
    const gchar *arg_name,
    const gchar *const *arg_localinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

  void (*getallremoteinfosignal) (
    KaimingInterface *object,
    const gchar *arg_name,
    const gchar *const *arg_remoteinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

  void (*getallupgradablesignal) (
    KaimingInterface *object,
    const gchar *arg_name,
    GVariant *arg_upgradableinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

  void (*getappsremoteinfosignal) (
    KaimingInterface *object,
    const gchar *arg_name,
    const gchar *const *arg_remoteinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

  void (*getdebinfofromoksignal) (
    KaimingInterface *object,
    const gchar *arg_name,
    const gchar *arg_okdebinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

  void (*getlocaldebinfosignal) (
    KaimingInterface *object,
    const gchar *arg_name,
    const gchar *arg_localinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

  void (*getlocalinfosignal) (
    KaimingInterface *object,
    const gchar *arg_name,
    const gchar *arg_localinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

  void (*getremoteinfosignal) (
    KaimingInterface *object,
    const gchar *arg_name,
    const gchar *arg_remoteinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

  void (*getremotepackagestatussignal) (
    KaimingInterface *object,
    const gchar *arg_name,
    const gchar *arg_remoteinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

  void (*getremotesummarysignal) (
    KaimingInterface *object,
    const gchar *arg_summaryUrl,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

  void (*isinstalledsignal) (
    KaimingInterface *object,
    const gchar *arg_name,
    gboolean arg_isinstalled,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

  void (*isupgradablesignal) (
    KaimingInterface *object,
    const gchar *arg_name,
    gboolean arg_isupgradable,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

  void (*progresschangesignal) (
    KaimingInterface *object,
    const gchar *arg_progressInfo);

  void (*taskstartedsignal) (
    KaimingInterface *object,
    const gchar *arg_taskId,
    const gchar *arg_name);

};

GType kaiming_interface_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *kaiming_interface_interface_info (void);
guint kaiming_interface_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void kaiming_interface_complete_install (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    gboolean unnamed_arg2);

void kaiming_interface_complete_install_with_speed_limit (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    gboolean unnamed_arg3);

void kaiming_interface_complete_install_offline_package (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    gboolean unnamed_arg2);

void kaiming_interface_complete_update (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    gboolean unnamed_arg2);

void kaiming_interface_complete_uninstall (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    gboolean unnamed_arg2);

void kaiming_interface_complete_get_local_info (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *unnamed_arg1);

void kaiming_interface_complete_get_local_deb_info (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *unnamed_arg1);

void kaiming_interface_complete_get_deb_info_from_ok (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *unnamed_arg1);

void kaiming_interface_complete_get_all_local_info (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *const *unnamed_arg0);

void kaiming_interface_complete_get_remote_info (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *unnamed_arg1);

void kaiming_interface_complete_get_remote_package_status (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *unnamed_arg3);

void kaiming_interface_complete_get_all_remote_info (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *const *unnamed_arg0);

void kaiming_interface_complete_get_apps_remote_info (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    const gchar *const *unnamed_arg0);

void kaiming_interface_complete_is_installed (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    gboolean unnamed_arg1);

void kaiming_interface_complete_get_all_is_installed (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    GVariant *unnamed_arg1);

void kaiming_interface_complete_is_upgradable (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    gboolean unnamed_arg1);

void kaiming_interface_complete_get_all_upgradable (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    GVariant *unnamed_arg1);

void kaiming_interface_complete_get_remote_summary (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    gboolean unnamed_arg0);

void kaiming_interface_complete_check_and_cleanup_uninstalled_drivers (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    gint cleanedCount);

void kaiming_interface_complete_cancel_install (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    gboolean unnamed_arg1);

void kaiming_interface_complete_pause_install (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    gboolean unnamed_arg1);

void kaiming_interface_complete_resume_install (
    KaimingInterface *object,
    GDBusMethodInvocation *invocation,
    gboolean unnamed_arg1);



/* D-Bus signal emissions functions: */
void kaiming_interface_emit_taskstartedsignal (
    KaimingInterface *object,
    const gchar *arg_taskId,
    const gchar *arg_name);

void kaiming_interface_emit_progresschangesignal (
    KaimingInterface *object,
    const gchar *arg_progressInfo);

void kaiming_interface_emit_finishsignal (
    KaimingInterface *object,
    const gchar *arg_refId,
    gint arg_operateType,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

void kaiming_interface_emit_getlocalinfosignal (
    KaimingInterface *object,
    const gchar *arg_name,
    const gchar *arg_localinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

void kaiming_interface_emit_getlocaldebinfosignal (
    KaimingInterface *object,
    const gchar *arg_name,
    const gchar *arg_localinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

void kaiming_interface_emit_getdebinfofromoksignal (
    KaimingInterface *object,
    const gchar *arg_name,
    const gchar *arg_okdebinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

void kaiming_interface_emit_getalllocalinfosignal (
    KaimingInterface *object,
    const gchar *arg_name,
    const gchar *const *arg_localinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

void kaiming_interface_emit_getallremoteinfosignal (
    KaimingInterface *object,
    const gchar *arg_name,
    const gchar *const *arg_remoteinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

void kaiming_interface_emit_getappsremoteinfosignal (
    KaimingInterface *object,
    const gchar *arg_name,
    const gchar *const *arg_remoteinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

void kaiming_interface_emit_getremoteinfosignal (
    KaimingInterface *object,
    const gchar *arg_name,
    const gchar *arg_remoteinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

void kaiming_interface_emit_getremotepackagestatussignal (
    KaimingInterface *object,
    const gchar *arg_name,
    const gchar *arg_remoteinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

void kaiming_interface_emit_getremotesummarysignal (
    KaimingInterface *object,
    const gchar *arg_summaryUrl,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

void kaiming_interface_emit_isinstalledsignal (
    KaimingInterface *object,
    const gchar *arg_name,
    gboolean arg_isinstalled,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

void kaiming_interface_emit_getallisinstalledsignal (
    KaimingInterface *object,
    const gchar *arg_name,
    GVariant *arg_allisinstallinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

void kaiming_interface_emit_isupgradablesignal (
    KaimingInterface *object,
    const gchar *arg_name,
    gboolean arg_isupgradable,
    gint arg_errorCode,
    const gchar *arg_errorMessage);

void kaiming_interface_emit_getallupgradablesignal (
    KaimingInterface *object,
    const gchar *arg_name,
    GVariant *arg_upgradableinfo,
    gint arg_errorCode,
    const gchar *arg_errorMessage);



/* D-Bus method calls: */
void kaiming_interface_call_install (
    KaimingInterface *proxy,
    const gchar *arg_name,
    const gchar *arg_branch,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_install_finish (
    KaimingInterface *proxy,
    gboolean *out_unnamed_arg2,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_install_sync (
    KaimingInterface *proxy,
    const gchar *arg_name,
    const gchar *arg_branch,
    gboolean *out_unnamed_arg2,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_install_with_speed_limit (
    KaimingInterface *proxy,
    const gchar *arg_name,
    const gchar *arg_branch,
    guint arg_maxSpeedLimitKilobytes,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_install_with_speed_limit_finish (
    KaimingInterface *proxy,
    gboolean *out_unnamed_arg3,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_install_with_speed_limit_sync (
    KaimingInterface *proxy,
    const gchar *arg_name,
    const gchar *arg_branch,
    guint arg_maxSpeedLimitKilobytes,
    gboolean *out_unnamed_arg3,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_install_offline_package (
    KaimingInterface *proxy,
    const gchar *arg_name,
    const gchar *arg_branch,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_install_offline_package_finish (
    KaimingInterface *proxy,
    gboolean *out_unnamed_arg2,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_install_offline_package_sync (
    KaimingInterface *proxy,
    const gchar *arg_name,
    const gchar *arg_branch,
    gboolean *out_unnamed_arg2,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_update (
    KaimingInterface *proxy,
    const gchar *arg_name,
    const gchar *arg_branch,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_update_finish (
    KaimingInterface *proxy,
    gboolean *out_unnamed_arg2,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_update_sync (
    KaimingInterface *proxy,
    const gchar *arg_name,
    const gchar *arg_branch,
    gboolean *out_unnamed_arg2,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_uninstall (
    KaimingInterface *proxy,
    const gchar *arg_name,
    const gchar *arg_branch,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_uninstall_finish (
    KaimingInterface *proxy,
    gboolean *out_unnamed_arg2,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_uninstall_sync (
    KaimingInterface *proxy,
    const gchar *arg_name,
    const gchar *arg_branch,
    gboolean *out_unnamed_arg2,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_get_local_info (
    KaimingInterface *proxy,
    const gchar *arg_name,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_get_local_info_finish (
    KaimingInterface *proxy,
    gchar **out_unnamed_arg1,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_get_local_info_sync (
    KaimingInterface *proxy,
    const gchar *arg_name,
    gchar **out_unnamed_arg1,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_get_local_deb_info (
    KaimingInterface *proxy,
    const gchar *arg_name,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_get_local_deb_info_finish (
    KaimingInterface *proxy,
    gchar **out_unnamed_arg1,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_get_local_deb_info_sync (
    KaimingInterface *proxy,
    const gchar *arg_name,
    gchar **out_unnamed_arg1,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_get_deb_info_from_ok (
    KaimingInterface *proxy,
    const gchar *arg_name,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_get_deb_info_from_ok_finish (
    KaimingInterface *proxy,
    gchar **out_unnamed_arg1,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_get_deb_info_from_ok_sync (
    KaimingInterface *proxy,
    const gchar *arg_name,
    gchar **out_unnamed_arg1,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_get_all_local_info (
    KaimingInterface *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_get_all_local_info_finish (
    KaimingInterface *proxy,
    gchar ***out_unnamed_arg0,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_get_all_local_info_sync (
    KaimingInterface *proxy,
    gchar ***out_unnamed_arg0,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_get_remote_info (
    KaimingInterface *proxy,
    const gchar *arg_name,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_get_remote_info_finish (
    KaimingInterface *proxy,
    gchar **out_unnamed_arg1,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_get_remote_info_sync (
    KaimingInterface *proxy,
    const gchar *arg_name,
    gchar **out_unnamed_arg1,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_get_remote_package_status (
    KaimingInterface *proxy,
    const gchar *arg_name,
    const gchar *arg_version,
    const gchar *arg_branch,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_get_remote_package_status_finish (
    KaimingInterface *proxy,
    gchar **out_unnamed_arg3,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_get_remote_package_status_sync (
    KaimingInterface *proxy,
    const gchar *arg_name,
    const gchar *arg_version,
    const gchar *arg_branch,
    gchar **out_unnamed_arg3,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_get_all_remote_info (
    KaimingInterface *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_get_all_remote_info_finish (
    KaimingInterface *proxy,
    gchar ***out_unnamed_arg0,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_get_all_remote_info_sync (
    KaimingInterface *proxy,
    gchar ***out_unnamed_arg0,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_get_apps_remote_info (
    KaimingInterface *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_get_apps_remote_info_finish (
    KaimingInterface *proxy,
    gchar ***out_unnamed_arg0,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_get_apps_remote_info_sync (
    KaimingInterface *proxy,
    gchar ***out_unnamed_arg0,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_is_installed (
    KaimingInterface *proxy,
    const gchar *arg_name,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_is_installed_finish (
    KaimingInterface *proxy,
    gboolean *out_unnamed_arg1,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_is_installed_sync (
    KaimingInterface *proxy,
    const gchar *arg_name,
    gboolean *out_unnamed_arg1,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_get_all_is_installed (
    KaimingInterface *proxy,
    const gchar *const *arg_names,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_get_all_is_installed_finish (
    KaimingInterface *proxy,
    GVariant **out_unnamed_arg1,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_get_all_is_installed_sync (
    KaimingInterface *proxy,
    const gchar *const *arg_names,
    GVariant **out_unnamed_arg1,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_is_upgradable (
    KaimingInterface *proxy,
    const gchar *arg_name,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_is_upgradable_finish (
    KaimingInterface *proxy,
    gboolean *out_unnamed_arg1,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_is_upgradable_sync (
    KaimingInterface *proxy,
    const gchar *arg_name,
    gboolean *out_unnamed_arg1,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_get_all_upgradable (
    KaimingInterface *proxy,
    const gchar *const *arg_names,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_get_all_upgradable_finish (
    KaimingInterface *proxy,
    GVariant **out_unnamed_arg1,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_get_all_upgradable_sync (
    KaimingInterface *proxy,
    const gchar *const *arg_names,
    GVariant **out_unnamed_arg1,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_get_remote_summary (
    KaimingInterface *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_get_remote_summary_finish (
    KaimingInterface *proxy,
    gboolean *out_unnamed_arg0,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_get_remote_summary_sync (
    KaimingInterface *proxy,
    gboolean *out_unnamed_arg0,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_check_and_cleanup_uninstalled_drivers (
    KaimingInterface *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_check_and_cleanup_uninstalled_drivers_finish (
    KaimingInterface *proxy,
    gint *out_cleanedCount,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_check_and_cleanup_uninstalled_drivers_sync (
    KaimingInterface *proxy,
    gint *out_cleanedCount,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_cancel_install (
    KaimingInterface *proxy,
    const gchar *arg_taskId,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_cancel_install_finish (
    KaimingInterface *proxy,
    gboolean *out_unnamed_arg1,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_cancel_install_sync (
    KaimingInterface *proxy,
    const gchar *arg_taskId,
    gboolean *out_unnamed_arg1,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_pause_install (
    KaimingInterface *proxy,
    const gchar *arg_taskIdOrName,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_pause_install_finish (
    KaimingInterface *proxy,
    gboolean *out_unnamed_arg1,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_pause_install_sync (
    KaimingInterface *proxy,
    const gchar *arg_taskIdOrName,
    gboolean *out_unnamed_arg1,
    GCancellable *cancellable,
    GError **error);

void kaiming_interface_call_resume_install (
    KaimingInterface *proxy,
    const gchar *arg_taskIdOrName,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean kaiming_interface_call_resume_install_finish (
    KaimingInterface *proxy,
    gboolean *out_unnamed_arg1,
    GAsyncResult *res,
    GError **error);

gboolean kaiming_interface_call_resume_install_sync (
    KaimingInterface *proxy,
    const gchar *arg_taskIdOrName,
    gboolean *out_unnamed_arg1,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define TYPE_KAIMING_INTERFACE_PROXY (kaiming_interface_proxy_get_type ())
#define KAIMING_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_KAIMING_INTERFACE_PROXY, KaimingInterfaceProxy))
#define KAIMING_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_KAIMING_INTERFACE_PROXY, KaimingInterfaceProxyClass))
#define KAIMING_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_KAIMING_INTERFACE_PROXY, KaimingInterfaceProxyClass))
#define IS_KAIMING_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_KAIMING_INTERFACE_PROXY))
#define IS_KAIMING_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_KAIMING_INTERFACE_PROXY))

typedef struct _KaimingInterfaceProxy KaimingInterfaceProxy;
typedef struct _KaimingInterfaceProxyClass KaimingInterfaceProxyClass;
typedef struct _KaimingInterfaceProxyPrivate KaimingInterfaceProxyPrivate;

struct _KaimingInterfaceProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  KaimingInterfaceProxyPrivate *priv;
};

struct _KaimingInterfaceProxyClass
{
  GDBusProxyClass parent_class;
};

GType kaiming_interface_proxy_get_type (void) G_GNUC_CONST;

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

void kaiming_interface_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
KaimingInterface *kaiming_interface_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
KaimingInterface *kaiming_interface_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void kaiming_interface_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
KaimingInterface *kaiming_interface_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
KaimingInterface *kaiming_interface_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define TYPE_KAIMING_INTERFACE_SKELETON (kaiming_interface_skeleton_get_type ())
#define KAIMING_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_KAIMING_INTERFACE_SKELETON, KaimingInterfaceSkeleton))
#define KAIMING_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_KAIMING_INTERFACE_SKELETON, KaimingInterfaceSkeletonClass))
#define KAIMING_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_KAIMING_INTERFACE_SKELETON, KaimingInterfaceSkeletonClass))
#define IS_KAIMING_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_KAIMING_INTERFACE_SKELETON))
#define IS_KAIMING_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_KAIMING_INTERFACE_SKELETON))

typedef struct _KaimingInterfaceSkeleton KaimingInterfaceSkeleton;
typedef struct _KaimingInterfaceSkeletonClass KaimingInterfaceSkeletonClass;
typedef struct _KaimingInterfaceSkeletonPrivate KaimingInterfaceSkeletonPrivate;

struct _KaimingInterfaceSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  KaimingInterfaceSkeletonPrivate *priv;
};

struct _KaimingInterfaceSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType kaiming_interface_skeleton_get_type (void) G_GNUC_CONST;

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

KaimingInterface *kaiming_interface_skeleton_new (void);


G_END_DECLS

#endif /* __DBUS_GDBUS_KMSYSTEMINTERFACE_H__ */
