/*
 * Generated by gdbus-codegen 2.53.1. DO NOT EDIT.
 *
 * The license of this code is the same as for the source it was derived from.
 */

#ifndef __UBUNTU_UNITY_LAUNCHER_PROXY_H__
#define __UBUNTU_UNITY_LAUNCHER_PROXY_H__

#include <gio/gio.h>

G_BEGIN_DECLS


/* ------------------------------------------------------------------------ */
/* Declarations for com.canonical.Unity.Launcher */

#define UBUNTU_UNITY_TYPE_LAUNCHER (ubuntu_unity_launcher_get_type ())
#define UBUNTU_UNITY_LAUNCHER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), UBUNTU_UNITY_TYPE_LAUNCHER, UbuntuUnityLauncher))
#define UBUNTU_UNITY_IS_LAUNCHER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), UBUNTU_UNITY_TYPE_LAUNCHER))
#define UBUNTU_UNITY_LAUNCHER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), UBUNTU_UNITY_TYPE_LAUNCHER, UbuntuUnityLauncherIface))

struct _UbuntuUnityLauncher;
typedef struct _UbuntuUnityLauncher UbuntuUnityLauncher;
typedef struct _UbuntuUnityLauncherIface UbuntuUnityLauncherIface;

struct _UbuntuUnityLauncherIface
{
  GTypeInterface parent_iface;

  gboolean (*handle_add_launcher_item) (
    UbuntuUnityLauncher *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_appstream_app_id,
    const gchar *arg_aptdaemon_task);

  gboolean (*handle_update_launcher_icon_favorite_state) (
    UbuntuUnityLauncher *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_icon_uri,
    gboolean arg_is_sticky);

};

GType ubuntu_unity_launcher_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *ubuntu_unity_launcher_interface_info (void);
guint ubuntu_unity_launcher_override_properties (GObjectClass *klass, guint property_id_begin);


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

void ubuntu_unity_launcher_complete_update_launcher_icon_favorite_state (
    UbuntuUnityLauncher *object,
    GDBusMethodInvocation *invocation);



/* D-Bus method calls: */
void ubuntu_unity_launcher_call_add_launcher_item (
    UbuntuUnityLauncher *proxy,
    const gchar *arg_appstream_app_id,
    const gchar *arg_aptdaemon_task,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean ubuntu_unity_launcher_call_add_launcher_item_finish (
    UbuntuUnityLauncher *proxy,
    GAsyncResult *res,
    GError **error);

gboolean ubuntu_unity_launcher_call_add_launcher_item_sync (
    UbuntuUnityLauncher *proxy,
    const gchar *arg_appstream_app_id,
    const gchar *arg_aptdaemon_task,
    GCancellable *cancellable,
    GError **error);

void ubuntu_unity_launcher_call_update_launcher_icon_favorite_state (
    UbuntuUnityLauncher *proxy,
    const gchar *arg_icon_uri,
    gboolean arg_is_sticky,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean ubuntu_unity_launcher_call_update_launcher_icon_favorite_state_finish (
    UbuntuUnityLauncher *proxy,
    GAsyncResult *res,
    GError **error);

gboolean ubuntu_unity_launcher_call_update_launcher_icon_favorite_state_sync (
    UbuntuUnityLauncher *proxy,
    const gchar *arg_icon_uri,
    gboolean arg_is_sticky,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define UBUNTU_UNITY_TYPE_LAUNCHER_PROXY (ubuntu_unity_launcher_proxy_get_type ())
#define UBUNTU_UNITY_LAUNCHER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), UBUNTU_UNITY_TYPE_LAUNCHER_PROXY, UbuntuUnityLauncherProxy))
#define UBUNTU_UNITY_LAUNCHER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), UBUNTU_UNITY_TYPE_LAUNCHER_PROXY, UbuntuUnityLauncherProxyClass))
#define UBUNTU_UNITY_LAUNCHER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), UBUNTU_UNITY_TYPE_LAUNCHER_PROXY, UbuntuUnityLauncherProxyClass))
#define UBUNTU_UNITY_IS_LAUNCHER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), UBUNTU_UNITY_TYPE_LAUNCHER_PROXY))
#define UBUNTU_UNITY_IS_LAUNCHER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), UBUNTU_UNITY_TYPE_LAUNCHER_PROXY))

typedef struct _UbuntuUnityLauncherProxy UbuntuUnityLauncherProxy;
typedef struct _UbuntuUnityLauncherProxyClass UbuntuUnityLauncherProxyClass;
typedef struct _UbuntuUnityLauncherProxyPrivate UbuntuUnityLauncherProxyPrivate;

struct _UbuntuUnityLauncherProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  UbuntuUnityLauncherProxyPrivate *priv;
};

struct _UbuntuUnityLauncherProxyClass
{
  GDBusProxyClass parent_class;
};

GType ubuntu_unity_launcher_proxy_get_type (void) G_GNUC_CONST;

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

void ubuntu_unity_launcher_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
UbuntuUnityLauncher *ubuntu_unity_launcher_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
UbuntuUnityLauncher *ubuntu_unity_launcher_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void ubuntu_unity_launcher_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
UbuntuUnityLauncher *ubuntu_unity_launcher_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
UbuntuUnityLauncher *ubuntu_unity_launcher_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define UBUNTU_UNITY_TYPE_LAUNCHER_SKELETON (ubuntu_unity_launcher_skeleton_get_type ())
#define UBUNTU_UNITY_LAUNCHER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), UBUNTU_UNITY_TYPE_LAUNCHER_SKELETON, UbuntuUnityLauncherSkeleton))
#define UBUNTU_UNITY_LAUNCHER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), UBUNTU_UNITY_TYPE_LAUNCHER_SKELETON, UbuntuUnityLauncherSkeletonClass))
#define UBUNTU_UNITY_LAUNCHER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), UBUNTU_UNITY_TYPE_LAUNCHER_SKELETON, UbuntuUnityLauncherSkeletonClass))
#define UBUNTU_UNITY_IS_LAUNCHER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), UBUNTU_UNITY_TYPE_LAUNCHER_SKELETON))
#define UBUNTU_UNITY_IS_LAUNCHER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), UBUNTU_UNITY_TYPE_LAUNCHER_SKELETON))

typedef struct _UbuntuUnityLauncherSkeleton UbuntuUnityLauncherSkeleton;
typedef struct _UbuntuUnityLauncherSkeletonClass UbuntuUnityLauncherSkeletonClass;
typedef struct _UbuntuUnityLauncherSkeletonPrivate UbuntuUnityLauncherSkeletonPrivate;

struct _UbuntuUnityLauncherSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  UbuntuUnityLauncherSkeletonPrivate *priv;
};

struct _UbuntuUnityLauncherSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType ubuntu_unity_launcher_skeleton_get_type (void) G_GNUC_CONST;

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

UbuntuUnityLauncher *ubuntu_unity_launcher_skeleton_new (void);


G_END_DECLS

#endif /* __UBUNTU_UNITY_LAUNCHER_PROXY_H__ */
