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

#include <gio/gio.h>

G_BEGIN_DECLS


/* ------------------------------------------------------------------------ */
/* Declarations for org.kde.StatusNotifierItem */

#define TYPE_SN_ITEM_INTERFACE (sn_item_interface_get_type ())
#define SN_ITEM_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SN_ITEM_INTERFACE, SnItemInterface))
#define IS_SN_ITEM_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SN_ITEM_INTERFACE))
#define SN_ITEM_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SN_ITEM_INTERFACE, SnItemInterfaceIface))

struct _SnItemInterface;
typedef struct _SnItemInterface SnItemInterface;
typedef struct _SnItemInterfaceIface SnItemInterfaceIface;

struct _SnItemInterfaceIface
{
  GTypeInterface parent_iface;



  gboolean (*handle_activate) (
    SnItemInterface *object,
    GDBusMethodInvocation *invocation,
    gint arg_x,
    gint arg_y);

  gboolean (*handle_context_menu) (
    SnItemInterface *object,
    GDBusMethodInvocation *invocation,
    gint arg_x,
    gint arg_y);

  gboolean (*handle_scroll) (
    SnItemInterface *object,
    GDBusMethodInvocation *invocation,
    gint arg_delta,
    const gchar *arg_dir);

  gboolean (*handle_secondary_activate) (
    SnItemInterface *object,
    GDBusMethodInvocation *invocation,
    gint arg_x,
    gint arg_y);

  const gchar * (*get_attention_icon_name) (SnItemInterface *object);

  GVariant * (*get_attention_icon_pixmap) (SnItemInterface *object);

  const gchar * (*get_category) (SnItemInterface *object);

  const gchar * (*get_icon_name) (SnItemInterface *object);

  GVariant * (*get_icon_pixmap) (SnItemInterface *object);

  const gchar * (*get_icon_theme_path) (SnItemInterface *object);

  const gchar * (*get_id) (SnItemInterface *object);

  const gchar * (*get_menu) (SnItemInterface *object);

  const gchar * (*get_overlay_icon_name) (SnItemInterface *object);

  GVariant * (*get_overlay_icon_pixmap) (SnItemInterface *object);

  const gchar * (*get_status) (SnItemInterface *object);

  const gchar * (*get_title) (SnItemInterface *object);

  GVariant * (*get_tool_tip) (SnItemInterface *object);

  gint  (*get_window_id) (SnItemInterface *object);

  void (*new_attention_icon) (
    SnItemInterface *object);

  void (*new_icon) (
    SnItemInterface *object);

  void (*new_icon_theme_path) (
    SnItemInterface *object,
    const gchar *arg_icon_theme_path);

  void (*new_menu) (
    SnItemInterface *object);

  void (*new_overlay_icon) (
    SnItemInterface *object);

  void (*new_status) (
    SnItemInterface *object,
    const gchar *arg_status);

  void (*new_title) (
    SnItemInterface *object);

  void (*new_tool_tip) (
    SnItemInterface *object);

};

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

GType sn_item_interface_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *sn_item_interface_interface_info (void);
guint sn_item_interface_override_properties (GObjectClass *klass, guint property_id_begin);


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

void sn_item_interface_complete_secondary_activate (
    SnItemInterface *object,
    GDBusMethodInvocation *invocation);

void sn_item_interface_complete_context_menu (
    SnItemInterface *object,
    GDBusMethodInvocation *invocation);

void sn_item_interface_complete_scroll (
    SnItemInterface *object,
    GDBusMethodInvocation *invocation);



/* D-Bus signal emissions functions: */
void sn_item_interface_emit_new_title (
    SnItemInterface *object);

void sn_item_interface_emit_new_icon (
    SnItemInterface *object);

void sn_item_interface_emit_new_icon_theme_path (
    SnItemInterface *object,
    const gchar *arg_icon_theme_path);

void sn_item_interface_emit_new_attention_icon (
    SnItemInterface *object);

void sn_item_interface_emit_new_overlay_icon (
    SnItemInterface *object);

void sn_item_interface_emit_new_menu (
    SnItemInterface *object);

void sn_item_interface_emit_new_tool_tip (
    SnItemInterface *object);

void sn_item_interface_emit_new_status (
    SnItemInterface *object,
    const gchar *arg_status);



/* D-Bus method calls: */
void sn_item_interface_call_activate (
    SnItemInterface *proxy,
    gint arg_x,
    gint arg_y,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean sn_item_interface_call_activate_finish (
    SnItemInterface *proxy,
    GAsyncResult *res,
    GError **error);

gboolean sn_item_interface_call_activate_sync (
    SnItemInterface *proxy,
    gint arg_x,
    gint arg_y,
    GCancellable *cancellable,
    GError **error);

void sn_item_interface_call_secondary_activate (
    SnItemInterface *proxy,
    gint arg_x,
    gint arg_y,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean sn_item_interface_call_secondary_activate_finish (
    SnItemInterface *proxy,
    GAsyncResult *res,
    GError **error);

gboolean sn_item_interface_call_secondary_activate_sync (
    SnItemInterface *proxy,
    gint arg_x,
    gint arg_y,
    GCancellable *cancellable,
    GError **error);

void sn_item_interface_call_context_menu (
    SnItemInterface *proxy,
    gint arg_x,
    gint arg_y,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean sn_item_interface_call_context_menu_finish (
    SnItemInterface *proxy,
    GAsyncResult *res,
    GError **error);

gboolean sn_item_interface_call_context_menu_sync (
    SnItemInterface *proxy,
    gint arg_x,
    gint arg_y,
    GCancellable *cancellable,
    GError **error);

void sn_item_interface_call_scroll (
    SnItemInterface *proxy,
    gint arg_delta,
    const gchar *arg_dir,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean sn_item_interface_call_scroll_finish (
    SnItemInterface *proxy,
    GAsyncResult *res,
    GError **error);

gboolean sn_item_interface_call_scroll_sync (
    SnItemInterface *proxy,
    gint arg_delta,
    const gchar *arg_dir,
    GCancellable *cancellable,
    GError **error);



/* D-Bus property accessors: */
const gchar *sn_item_interface_get_category (SnItemInterface *object);
gchar *sn_item_interface_dup_category (SnItemInterface *object);
void sn_item_interface_set_category (SnItemInterface *object, const gchar *value);

const gchar *sn_item_interface_get_id (SnItemInterface *object);
gchar *sn_item_interface_dup_id (SnItemInterface *object);
void sn_item_interface_set_id (SnItemInterface *object, const gchar *value);

const gchar *sn_item_interface_get_title (SnItemInterface *object);
gchar *sn_item_interface_dup_title (SnItemInterface *object);
void sn_item_interface_set_title (SnItemInterface *object, const gchar *value);

const gchar *sn_item_interface_get_status (SnItemInterface *object);
gchar *sn_item_interface_dup_status (SnItemInterface *object);
void sn_item_interface_set_status (SnItemInterface *object, const gchar *value);

gint sn_item_interface_get_window_id (SnItemInterface *object);
void sn_item_interface_set_window_id (SnItemInterface *object, gint value);

const gchar *sn_item_interface_get_menu (SnItemInterface *object);
gchar *sn_item_interface_dup_menu (SnItemInterface *object);
void sn_item_interface_set_menu (SnItemInterface *object, const gchar *value);

const gchar *sn_item_interface_get_icon_name (SnItemInterface *object);
gchar *sn_item_interface_dup_icon_name (SnItemInterface *object);
void sn_item_interface_set_icon_name (SnItemInterface *object, const gchar *value);

const gchar *sn_item_interface_get_icon_theme_path (SnItemInterface *object);
gchar *sn_item_interface_dup_icon_theme_path (SnItemInterface *object);
void sn_item_interface_set_icon_theme_path (SnItemInterface *object, const gchar *value);

GVariant *sn_item_interface_get_icon_pixmap (SnItemInterface *object);
GVariant *sn_item_interface_dup_icon_pixmap (SnItemInterface *object);
void sn_item_interface_set_icon_pixmap (SnItemInterface *object, GVariant *value);

const gchar *sn_item_interface_get_overlay_icon_name (SnItemInterface *object);
gchar *sn_item_interface_dup_overlay_icon_name (SnItemInterface *object);
void sn_item_interface_set_overlay_icon_name (SnItemInterface *object, const gchar *value);

GVariant *sn_item_interface_get_overlay_icon_pixmap (SnItemInterface *object);
GVariant *sn_item_interface_dup_overlay_icon_pixmap (SnItemInterface *object);
void sn_item_interface_set_overlay_icon_pixmap (SnItemInterface *object, GVariant *value);

const gchar *sn_item_interface_get_attention_icon_name (SnItemInterface *object);
gchar *sn_item_interface_dup_attention_icon_name (SnItemInterface *object);
void sn_item_interface_set_attention_icon_name (SnItemInterface *object, const gchar *value);

GVariant *sn_item_interface_get_attention_icon_pixmap (SnItemInterface *object);
GVariant *sn_item_interface_dup_attention_icon_pixmap (SnItemInterface *object);
void sn_item_interface_set_attention_icon_pixmap (SnItemInterface *object, GVariant *value);

GVariant *sn_item_interface_get_tool_tip (SnItemInterface *object);
GVariant *sn_item_interface_dup_tool_tip (SnItemInterface *object);
void sn_item_interface_set_tool_tip (SnItemInterface *object, GVariant *value);


/* ---- */

#define TYPE_SN_ITEM_INTERFACE_PROXY (sn_item_interface_proxy_get_type ())
#define SN_ITEM_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SN_ITEM_INTERFACE_PROXY, SnItemInterfaceProxy))
#define SN_ITEM_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SN_ITEM_INTERFACE_PROXY, SnItemInterfaceProxyClass))
#define SN_ITEM_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SN_ITEM_INTERFACE_PROXY, SnItemInterfaceProxyClass))
#define IS_SN_ITEM_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SN_ITEM_INTERFACE_PROXY))
#define IS_SN_ITEM_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SN_ITEM_INTERFACE_PROXY))

typedef struct _SnItemInterfaceProxy SnItemInterfaceProxy;
typedef struct _SnItemInterfaceProxyClass SnItemInterfaceProxyClass;
typedef struct _SnItemInterfaceProxyPrivate SnItemInterfaceProxyPrivate;

struct _SnItemInterfaceProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  SnItemInterfaceProxyPrivate *priv;
};

struct _SnItemInterfaceProxyClass
{
  GDBusProxyClass parent_class;
};

GType sn_item_interface_proxy_get_type (void) G_GNUC_CONST;

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

void sn_item_interface_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
SnItemInterface *sn_item_interface_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
SnItemInterface *sn_item_interface_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void sn_item_interface_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
SnItemInterface *sn_item_interface_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
SnItemInterface *sn_item_interface_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define TYPE_SN_ITEM_INTERFACE_SKELETON (sn_item_interface_skeleton_get_type ())
#define SN_ITEM_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SN_ITEM_INTERFACE_SKELETON, SnItemInterfaceSkeleton))
#define SN_ITEM_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SN_ITEM_INTERFACE_SKELETON, SnItemInterfaceSkeletonClass))
#define SN_ITEM_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SN_ITEM_INTERFACE_SKELETON, SnItemInterfaceSkeletonClass))
#define IS_SN_ITEM_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SN_ITEM_INTERFACE_SKELETON))
#define IS_SN_ITEM_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SN_ITEM_INTERFACE_SKELETON))

typedef struct _SnItemInterfaceSkeleton SnItemInterfaceSkeleton;
typedef struct _SnItemInterfaceSkeletonClass SnItemInterfaceSkeletonClass;
typedef struct _SnItemInterfaceSkeletonPrivate SnItemInterfaceSkeletonPrivate;

struct _SnItemInterfaceSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  SnItemInterfaceSkeletonPrivate *priv;
};

struct _SnItemInterfaceSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType sn_item_interface_skeleton_get_type (void) G_GNUC_CONST;

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

SnItemInterface *sn_item_interface_skeleton_new (void);


G_END_DECLS

#endif /* __SN_ITEM_INTERFACE_H__ */
