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

#include <gio/gio.h>

G_BEGIN_DECLS


/* ------------------------------------------------------------------------ */
/* Declarations for org.ofono.SupplementaryServices */

#define GDBO_TYPE_SUPPLEMENTARY_SERVICES (gdbo_supplementary_services_get_type ())
#define GDBO_SUPPLEMENTARY_SERVICES(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDBO_TYPE_SUPPLEMENTARY_SERVICES, GDBOSupplementaryServices))
#define GDBO_IS_SUPPLEMENTARY_SERVICES(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDBO_TYPE_SUPPLEMENTARY_SERVICES))
#define GDBO_SUPPLEMENTARY_SERVICES_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GDBO_TYPE_SUPPLEMENTARY_SERVICES, GDBOSupplementaryServicesIface))

struct _GDBOSupplementaryServices;
typedef struct _GDBOSupplementaryServices GDBOSupplementaryServices;
typedef struct _GDBOSupplementaryServicesIface GDBOSupplementaryServicesIface;

struct _GDBOSupplementaryServicesIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_cancel) (
    GDBOSupplementaryServices *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_get_properties) (
    GDBOSupplementaryServices *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_initiate) (
    GDBOSupplementaryServices *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_command);

  gboolean (*handle_respond) (
    GDBOSupplementaryServices *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_reply);

  void (*notification_received) (
    GDBOSupplementaryServices *object,
    const gchar *arg_message);

  void (*property_changed) (
    GDBOSupplementaryServices *object,
    const gchar *arg_name,
    GVariant *arg_value);

  void (*request_received) (
    GDBOSupplementaryServices *object,
    const gchar *arg_message);

};

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

GType gdbo_supplementary_services_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *gdbo_supplementary_services_interface_info (void);
guint gdbo_supplementary_services_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void gdbo_supplementary_services_complete_initiate (
    GDBOSupplementaryServices *object,
    GDBusMethodInvocation *invocation,
    const gchar *result_name,
    GVariant *value);

void gdbo_supplementary_services_complete_respond (
    GDBOSupplementaryServices *object,
    GDBusMethodInvocation *invocation,
    const gchar *result);

void gdbo_supplementary_services_complete_cancel (
    GDBOSupplementaryServices *object,
    GDBusMethodInvocation *invocation);

void gdbo_supplementary_services_complete_get_properties (
    GDBOSupplementaryServices *object,
    GDBusMethodInvocation *invocation,
    GVariant *properties);



/* D-Bus signal emissions functions: */
void gdbo_supplementary_services_emit_notification_received (
    GDBOSupplementaryServices *object,
    const gchar *arg_message);

void gdbo_supplementary_services_emit_request_received (
    GDBOSupplementaryServices *object,
    const gchar *arg_message);

void gdbo_supplementary_services_emit_property_changed (
    GDBOSupplementaryServices *object,
    const gchar *arg_name,
    GVariant *arg_value);



/* D-Bus method calls: */
void gdbo_supplementary_services_call_initiate (
    GDBOSupplementaryServices *proxy,
    const gchar *arg_command,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean gdbo_supplementary_services_call_initiate_finish (
    GDBOSupplementaryServices *proxy,
    gchar ** out_result_name,
    GVariant ** out_value,
    GAsyncResult *res,
    GError **error);

gboolean gdbo_supplementary_services_call_initiate_sync (
    GDBOSupplementaryServices *proxy,
    const gchar *arg_command,
    gchar ** out_result_name,
    GVariant ** out_value,
    GCancellable *cancellable,
    GError **error);

void gdbo_supplementary_services_call_respond (
    GDBOSupplementaryServices *proxy,
    const gchar *arg_reply,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean gdbo_supplementary_services_call_respond_finish (
    GDBOSupplementaryServices *proxy,
    gchar ** out_result,
    GAsyncResult *res,
    GError **error);

gboolean gdbo_supplementary_services_call_respond_sync (
    GDBOSupplementaryServices *proxy,
    const gchar *arg_reply,
    gchar ** out_result,
    GCancellable *cancellable,
    GError **error);

void gdbo_supplementary_services_call_cancel (
    GDBOSupplementaryServices *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean gdbo_supplementary_services_call_cancel_finish (
    GDBOSupplementaryServices *proxy,
    GAsyncResult *res,
    GError **error);

gboolean gdbo_supplementary_services_call_cancel_sync (
    GDBOSupplementaryServices *proxy,
    GCancellable *cancellable,
    GError **error);

void gdbo_supplementary_services_call_get_properties (
    GDBOSupplementaryServices *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean gdbo_supplementary_services_call_get_properties_finish (
    GDBOSupplementaryServices *proxy,
    GVariant ** out_properties,
    GAsyncResult *res,
    GError **error);

gboolean gdbo_supplementary_services_call_get_properties_sync (
    GDBOSupplementaryServices *proxy,
    GVariant ** out_properties,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define GDBO_TYPE_SUPPLEMENTARY_SERVICES_PROXY (gdbo_supplementary_services_proxy_get_type ())
#define GDBO_SUPPLEMENTARY_SERVICES_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDBO_TYPE_SUPPLEMENTARY_SERVICES_PROXY, GDBOSupplementaryServicesProxy))
#define GDBO_SUPPLEMENTARY_SERVICES_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GDBO_TYPE_SUPPLEMENTARY_SERVICES_PROXY, GDBOSupplementaryServicesProxyClass))
#define GDBO_SUPPLEMENTARY_SERVICES_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDBO_TYPE_SUPPLEMENTARY_SERVICES_PROXY, GDBOSupplementaryServicesProxyClass))
#define GDBO_IS_SUPPLEMENTARY_SERVICES_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDBO_TYPE_SUPPLEMENTARY_SERVICES_PROXY))
#define GDBO_IS_SUPPLEMENTARY_SERVICES_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GDBO_TYPE_SUPPLEMENTARY_SERVICES_PROXY))

typedef struct _GDBOSupplementaryServicesProxy GDBOSupplementaryServicesProxy;
typedef struct _GDBOSupplementaryServicesProxyClass GDBOSupplementaryServicesProxyClass;
typedef struct _GDBOSupplementaryServicesProxyPrivate GDBOSupplementaryServicesProxyPrivate;

struct _GDBOSupplementaryServicesProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  GDBOSupplementaryServicesProxyPrivate *priv;
};

struct _GDBOSupplementaryServicesProxyClass
{
  GDBusProxyClass parent_class;
};

GType gdbo_supplementary_services_proxy_get_type (void) G_GNUC_CONST;

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

void gdbo_supplementary_services_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
GDBOSupplementaryServices *gdbo_supplementary_services_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
GDBOSupplementaryServices *gdbo_supplementary_services_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void gdbo_supplementary_services_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
GDBOSupplementaryServices *gdbo_supplementary_services_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
GDBOSupplementaryServices *gdbo_supplementary_services_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define GDBO_TYPE_SUPPLEMENTARY_SERVICES_SKELETON (gdbo_supplementary_services_skeleton_get_type ())
#define GDBO_SUPPLEMENTARY_SERVICES_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDBO_TYPE_SUPPLEMENTARY_SERVICES_SKELETON, GDBOSupplementaryServicesSkeleton))
#define GDBO_SUPPLEMENTARY_SERVICES_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GDBO_TYPE_SUPPLEMENTARY_SERVICES_SKELETON, GDBOSupplementaryServicesSkeletonClass))
#define GDBO_SUPPLEMENTARY_SERVICES_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDBO_TYPE_SUPPLEMENTARY_SERVICES_SKELETON, GDBOSupplementaryServicesSkeletonClass))
#define GDBO_IS_SUPPLEMENTARY_SERVICES_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDBO_TYPE_SUPPLEMENTARY_SERVICES_SKELETON))
#define GDBO_IS_SUPPLEMENTARY_SERVICES_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GDBO_TYPE_SUPPLEMENTARY_SERVICES_SKELETON))

typedef struct _GDBOSupplementaryServicesSkeleton GDBOSupplementaryServicesSkeleton;
typedef struct _GDBOSupplementaryServicesSkeletonClass GDBOSupplementaryServicesSkeletonClass;
typedef struct _GDBOSupplementaryServicesSkeletonPrivate GDBOSupplementaryServicesSkeletonPrivate;

struct _GDBOSupplementaryServicesSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  GDBOSupplementaryServicesSkeletonPrivate *priv;
};

struct _GDBOSupplementaryServicesSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType gdbo_supplementary_services_skeleton_get_type (void) G_GNUC_CONST;

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

GDBOSupplementaryServices *gdbo_supplementary_services_skeleton_new (void);


G_END_DECLS

#endif /* __GDBO_USSD_H__ */
