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

#include <gio/gio.h>

G_BEGIN_DECLS


/* ------------------------------------------------------------------------ */
/* Declarations for org.x.StatusIcon */

#define XAPP_TYPE_STATUS_ICON_INTERFACE (xapp_status_icon_interface_get_type ())
#define XAPP_STATUS_ICON_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), XAPP_TYPE_STATUS_ICON_INTERFACE, XAppStatusIconInterface))
#define XAPP_IS_STATUS_ICON_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), XAPP_TYPE_STATUS_ICON_INTERFACE))
#define XAPP_STATUS_ICON_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), XAPP_TYPE_STATUS_ICON_INTERFACE, XAppStatusIconInterfaceIface))

struct _XAppStatusIconInterface;
typedef struct _XAppStatusIconInterface XAppStatusIconInterface;
typedef struct _XAppStatusIconInterfaceIface XAppStatusIconInterfaceIface;

struct _XAppStatusIconInterfaceIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_button_press) (
    XAppStatusIconInterface *object,
    GDBusMethodInvocation *invocation,
    gint arg_x,
    gint arg_y,
    guint arg_button,
    guint arg_time,
    gint arg_panel_position);

  gboolean (*handle_button_release) (
    XAppStatusIconInterface *object,
    GDBusMethodInvocation *invocation,
    gint arg_x,
    gint arg_y,
    guint arg_button,
    guint arg_time,
    gint arg_panel_position);

  gboolean (*handle_scroll) (
    XAppStatusIconInterface *object,
    GDBusMethodInvocation *invocation,
    gint arg_delta,
    gint arg_orientation,
    guint arg_time);

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

  gint  (*get_icon_size) (XAppStatusIconInterface *object);

  const gchar * (*get_label) (XAppStatusIconInterface *object);

  const gchar * (*get_metadata) (XAppStatusIconInterface *object);

  const gchar * (*get_name) (XAppStatusIconInterface *object);

  gboolean  (*get_primary_menu_is_open) (XAppStatusIconInterface *object);

  gboolean  (*get_secondary_menu_is_open) (XAppStatusIconInterface *object);

  const gchar * (*get_tooltip_text) (XAppStatusIconInterface *object);

  gboolean  (*get_visible) (XAppStatusIconInterface *object);

};

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

GType xapp_status_icon_interface_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *xapp_status_icon_interface_interface_info (void);
guint xapp_status_icon_interface_override_properties (GObjectClass *klass, guint property_id_begin);


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

void xapp_status_icon_interface_complete_button_release (
    XAppStatusIconInterface *object,
    GDBusMethodInvocation *invocation);

void xapp_status_icon_interface_complete_scroll (
    XAppStatusIconInterface *object,
    GDBusMethodInvocation *invocation);



/* D-Bus method calls: */
void xapp_status_icon_interface_call_button_press (
    XAppStatusIconInterface *proxy,
    gint arg_x,
    gint arg_y,
    guint arg_button,
    guint arg_time,
    gint arg_panel_position,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean xapp_status_icon_interface_call_button_press_finish (
    XAppStatusIconInterface *proxy,
    GAsyncResult *res,
    GError **error);

gboolean xapp_status_icon_interface_call_button_press_sync (
    XAppStatusIconInterface *proxy,
    gint arg_x,
    gint arg_y,
    guint arg_button,
    guint arg_time,
    gint arg_panel_position,
    GCancellable *cancellable,
    GError **error);

void xapp_status_icon_interface_call_button_release (
    XAppStatusIconInterface *proxy,
    gint arg_x,
    gint arg_y,
    guint arg_button,
    guint arg_time,
    gint arg_panel_position,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean xapp_status_icon_interface_call_button_release_finish (
    XAppStatusIconInterface *proxy,
    GAsyncResult *res,
    GError **error);

gboolean xapp_status_icon_interface_call_button_release_sync (
    XAppStatusIconInterface *proxy,
    gint arg_x,
    gint arg_y,
    guint arg_button,
    guint arg_time,
    gint arg_panel_position,
    GCancellable *cancellable,
    GError **error);

void xapp_status_icon_interface_call_scroll (
    XAppStatusIconInterface *proxy,
    gint arg_delta,
    gint arg_orientation,
    guint arg_time,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean xapp_status_icon_interface_call_scroll_finish (
    XAppStatusIconInterface *proxy,
    GAsyncResult *res,
    GError **error);

gboolean xapp_status_icon_interface_call_scroll_sync (
    XAppStatusIconInterface *proxy,
    gint arg_delta,
    gint arg_orientation,
    guint arg_time,
    GCancellable *cancellable,
    GError **error);



/* D-Bus property accessors: */
const gchar *xapp_status_icon_interface_get_name (XAppStatusIconInterface *object);
gchar *xapp_status_icon_interface_dup_name (XAppStatusIconInterface *object);
void xapp_status_icon_interface_set_name (XAppStatusIconInterface *object, const gchar *value);

const gchar *xapp_status_icon_interface_get_icon_name (XAppStatusIconInterface *object);
gchar *xapp_status_icon_interface_dup_icon_name (XAppStatusIconInterface *object);
void xapp_status_icon_interface_set_icon_name (XAppStatusIconInterface *object, const gchar *value);

const gchar *xapp_status_icon_interface_get_tooltip_text (XAppStatusIconInterface *object);
gchar *xapp_status_icon_interface_dup_tooltip_text (XAppStatusIconInterface *object);
void xapp_status_icon_interface_set_tooltip_text (XAppStatusIconInterface *object, const gchar *value);

const gchar *xapp_status_icon_interface_get_label (XAppStatusIconInterface *object);
gchar *xapp_status_icon_interface_dup_label (XAppStatusIconInterface *object);
void xapp_status_icon_interface_set_label (XAppStatusIconInterface *object, const gchar *value);

gboolean xapp_status_icon_interface_get_visible (XAppStatusIconInterface *object);
void xapp_status_icon_interface_set_visible (XAppStatusIconInterface *object, gboolean value);

gint xapp_status_icon_interface_get_icon_size (XAppStatusIconInterface *object);
void xapp_status_icon_interface_set_icon_size (XAppStatusIconInterface *object, gint value);

gboolean xapp_status_icon_interface_get_primary_menu_is_open (XAppStatusIconInterface *object);
void xapp_status_icon_interface_set_primary_menu_is_open (XAppStatusIconInterface *object, gboolean value);

gboolean xapp_status_icon_interface_get_secondary_menu_is_open (XAppStatusIconInterface *object);
void xapp_status_icon_interface_set_secondary_menu_is_open (XAppStatusIconInterface *object, gboolean value);

const gchar *xapp_status_icon_interface_get_metadata (XAppStatusIconInterface *object);
gchar *xapp_status_icon_interface_dup_metadata (XAppStatusIconInterface *object);
void xapp_status_icon_interface_set_metadata (XAppStatusIconInterface *object, const gchar *value);


/* ---- */

#define XAPP_TYPE_STATUS_ICON_INTERFACE_PROXY (xapp_status_icon_interface_proxy_get_type ())
#define XAPP_STATUS_ICON_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), XAPP_TYPE_STATUS_ICON_INTERFACE_PROXY, XAppStatusIconInterfaceProxy))
#define XAPP_STATUS_ICON_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), XAPP_TYPE_STATUS_ICON_INTERFACE_PROXY, XAppStatusIconInterfaceProxyClass))
#define XAPP_STATUS_ICON_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), XAPP_TYPE_STATUS_ICON_INTERFACE_PROXY, XAppStatusIconInterfaceProxyClass))
#define XAPP_IS_STATUS_ICON_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), XAPP_TYPE_STATUS_ICON_INTERFACE_PROXY))
#define XAPP_IS_STATUS_ICON_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), XAPP_TYPE_STATUS_ICON_INTERFACE_PROXY))

typedef struct _XAppStatusIconInterfaceProxy XAppStatusIconInterfaceProxy;
typedef struct _XAppStatusIconInterfaceProxyClass XAppStatusIconInterfaceProxyClass;
typedef struct _XAppStatusIconInterfaceProxyPrivate XAppStatusIconInterfaceProxyPrivate;

struct _XAppStatusIconInterfaceProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  XAppStatusIconInterfaceProxyPrivate *priv;
};

struct _XAppStatusIconInterfaceProxyClass
{
  GDBusProxyClass parent_class;
};

GType xapp_status_icon_interface_proxy_get_type (void) G_GNUC_CONST;

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

void xapp_status_icon_interface_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
XAppStatusIconInterface *xapp_status_icon_interface_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
XAppStatusIconInterface *xapp_status_icon_interface_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void xapp_status_icon_interface_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
XAppStatusIconInterface *xapp_status_icon_interface_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
XAppStatusIconInterface *xapp_status_icon_interface_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define XAPP_TYPE_STATUS_ICON_INTERFACE_SKELETON (xapp_status_icon_interface_skeleton_get_type ())
#define XAPP_STATUS_ICON_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), XAPP_TYPE_STATUS_ICON_INTERFACE_SKELETON, XAppStatusIconInterfaceSkeleton))
#define XAPP_STATUS_ICON_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), XAPP_TYPE_STATUS_ICON_INTERFACE_SKELETON, XAppStatusIconInterfaceSkeletonClass))
#define XAPP_STATUS_ICON_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), XAPP_TYPE_STATUS_ICON_INTERFACE_SKELETON, XAppStatusIconInterfaceSkeletonClass))
#define XAPP_IS_STATUS_ICON_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), XAPP_TYPE_STATUS_ICON_INTERFACE_SKELETON))
#define XAPP_IS_STATUS_ICON_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), XAPP_TYPE_STATUS_ICON_INTERFACE_SKELETON))

typedef struct _XAppStatusIconInterfaceSkeleton XAppStatusIconInterfaceSkeleton;
typedef struct _XAppStatusIconInterfaceSkeletonClass XAppStatusIconInterfaceSkeletonClass;
typedef struct _XAppStatusIconInterfaceSkeletonPrivate XAppStatusIconInterfaceSkeletonPrivate;

struct _XAppStatusIconInterfaceSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  XAppStatusIconInterfaceSkeletonPrivate *priv;
};

struct _XAppStatusIconInterfaceSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType xapp_status_icon_interface_skeleton_get_type (void) G_GNUC_CONST;

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

XAppStatusIconInterface *xapp_status_icon_interface_skeleton_new (void);


/* ---- */

#define XAPP_TYPE_OBJECT (xapp_object_get_type ())
#define XAPP_OBJECT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), XAPP_TYPE_OBJECT, XAppObject))
#define XAPP_IS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), XAPP_TYPE_OBJECT))
#define XAPP_OBJECT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), XAPP_TYPE_OBJECT, XAppObject))

struct _XAppObject;
typedef struct _XAppObject XAppObject;
typedef struct _XAppObjectIface XAppObjectIface;

struct _XAppObjectIface
{
  GTypeInterface parent_iface;
};

GType xapp_object_get_type (void) G_GNUC_CONST;

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

XAppStatusIconInterface *xapp_object_get_status_icon_interface (XAppObject *object);
XAppStatusIconInterface *xapp_object_peek_status_icon_interface (XAppObject *object);

#define XAPP_TYPE_OBJECT_PROXY (xapp_object_proxy_get_type ())
#define XAPP_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), XAPP_TYPE_OBJECT_PROXY, XAppObjectProxy))
#define XAPP_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), XAPP_TYPE_OBJECT_PROXY, XAppObjectProxyClass))
#define XAPP_OBJECT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), XAPP_TYPE_OBJECT_PROXY, XAppObjectProxyClass))
#define XAPP_IS_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), XAPP_TYPE_OBJECT_PROXY))
#define XAPP_IS_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), XAPP_TYPE_OBJECT_PROXY))

typedef struct _XAppObjectProxy XAppObjectProxy;
typedef struct _XAppObjectProxyClass XAppObjectProxyClass;
typedef struct _XAppObjectProxyPrivate XAppObjectProxyPrivate;

struct _XAppObjectProxy
{
  /*< private >*/
  GDBusObjectProxy parent_instance;
  XAppObjectProxyPrivate *priv;
};

struct _XAppObjectProxyClass
{
  GDBusObjectProxyClass parent_class;
};

GType xapp_object_proxy_get_type (void) G_GNUC_CONST;

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

XAppObjectProxy *xapp_object_proxy_new (GDBusConnection *connection, const gchar *object_path);

#define XAPP_TYPE_OBJECT_SKELETON (xapp_object_skeleton_get_type ())
#define XAPP_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), XAPP_TYPE_OBJECT_SKELETON, XAppObjectSkeleton))
#define XAPP_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), XAPP_TYPE_OBJECT_SKELETON, XAppObjectSkeletonClass))
#define XAPP_OBJECT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), XAPP_TYPE_OBJECT_SKELETON, XAppObjectSkeletonClass))
#define XAPP_IS_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), XAPP_TYPE_OBJECT_SKELETON))
#define XAPP_IS_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), XAPP_TYPE_OBJECT_SKELETON))

typedef struct _XAppObjectSkeleton XAppObjectSkeleton;
typedef struct _XAppObjectSkeletonClass XAppObjectSkeletonClass;
typedef struct _XAppObjectSkeletonPrivate XAppObjectSkeletonPrivate;

struct _XAppObjectSkeleton
{
  /*< private >*/
  GDBusObjectSkeleton parent_instance;
  XAppObjectSkeletonPrivate *priv;
};

struct _XAppObjectSkeletonClass
{
  GDBusObjectSkeletonClass parent_class;
};

GType xapp_object_skeleton_get_type (void) G_GNUC_CONST;

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

XAppObjectSkeleton *xapp_object_skeleton_new (const gchar *object_path);
void xapp_object_skeleton_set_status_icon_interface (XAppObjectSkeleton *object, XAppStatusIconInterface *interface_);

/* ---- */

#define XAPP_TYPE_OBJECT_MANAGER_CLIENT (xapp_object_manager_client_get_type ())
#define XAPP_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), XAPP_TYPE_OBJECT_MANAGER_CLIENT, XAppObjectManagerClient))
#define XAPP_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), XAPP_TYPE_OBJECT_MANAGER_CLIENT, XAppObjectManagerClientClass))
#define XAPP_OBJECT_MANAGER_CLIENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), XAPP_TYPE_OBJECT_MANAGER_CLIENT, XAppObjectManagerClientClass))
#define XAPP_IS_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), XAPP_TYPE_OBJECT_MANAGER_CLIENT))
#define XAPP_IS_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), XAPP_TYPE_OBJECT_MANAGER_CLIENT))

typedef struct _XAppObjectManagerClient XAppObjectManagerClient;
typedef struct _XAppObjectManagerClientClass XAppObjectManagerClientClass;
typedef struct _XAppObjectManagerClientPrivate XAppObjectManagerClientPrivate;

struct _XAppObjectManagerClient
{
  /*< private >*/
  GDBusObjectManagerClient parent_instance;
  XAppObjectManagerClientPrivate *priv;
};

struct _XAppObjectManagerClientClass
{
  GDBusObjectManagerClientClass parent_class;
};

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

GType xapp_object_manager_client_get_type (void) G_GNUC_CONST;

GType xapp_object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager, const gchar *object_path, const gchar *interface_name, gpointer user_data);

void xapp_object_manager_client_new (
    GDBusConnection        *connection,
    GDBusObjectManagerClientFlags  flags,
    const gchar            *name,
    const gchar            *object_path,
    GCancellable           *cancellable,
    GAsyncReadyCallback     callback,
    gpointer                user_data);
GDBusObjectManager *xapp_object_manager_client_new_finish (
    GAsyncResult        *res,
    GError             **error);
GDBusObjectManager *xapp_object_manager_client_new_sync (
    GDBusConnection        *connection,
    GDBusObjectManagerClientFlags  flags,
    const gchar            *name,
    const gchar            *object_path,
    GCancellable           *cancellable,
    GError                **error);

void xapp_object_manager_client_new_for_bus (
    GBusType                bus_type,
    GDBusObjectManagerClientFlags  flags,
    const gchar            *name,
    const gchar            *object_path,
    GCancellable           *cancellable,
    GAsyncReadyCallback     callback,
    gpointer                user_data);
GDBusObjectManager *xapp_object_manager_client_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
GDBusObjectManager *xapp_object_manager_client_new_for_bus_sync (
    GBusType                bus_type,
    GDBusObjectManagerClientFlags  flags,
    const gchar            *name,
    const gchar            *object_path,
    GCancellable           *cancellable,
    GError                **error);


G_END_DECLS

#endif /* __XAPP_STATUSICON_INTERFACE_H__ */
