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

#include <gio/gio.h>

G_BEGIN_DECLS


/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.Calls.Call */

#define CALLS_DBUS_TYPE_CALLS_CALL (calls_dbus_calls_call_get_type ())
#define CALLS_DBUS_CALLS_CALL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CALLS_DBUS_TYPE_CALLS_CALL, CallsDBusCallsCall))
#define CALLS_DBUS_IS_CALLS_CALL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CALLS_DBUS_TYPE_CALLS_CALL))
#define CALLS_DBUS_CALLS_CALL_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), CALLS_DBUS_TYPE_CALLS_CALL, CallsDBusCallsCallIface))

struct _CallsDBusCallsCall;
typedef struct _CallsDBusCallsCall CallsDBusCallsCall;
typedef struct _CallsDBusCallsCallIface CallsDBusCallsCallIface;

struct _CallsDBusCallsCallIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_accept) (
    CallsDBusCallsCall *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_hangup) (
    CallsDBusCallsCall *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_send_dtmf) (
    CallsDBusCallsCall *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_tone);

  gboolean (*handle_silence) (
    CallsDBusCallsCall *object,
    GDBusMethodInvocation *invocation);

  gboolean  (*get_can_dtmf) (CallsDBusCallsCall *object);

  const gchar * (*get_display_name) (CallsDBusCallsCall *object);

  gboolean  (*get_encrypted) (CallsDBusCallsCall *object);

  GVariant * (*get_hints) (CallsDBusCallsCall *object);

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

  const gchar * (*get_image_path) (CallsDBusCallsCall *object);

  gboolean  (*get_inbound) (CallsDBusCallsCall *object);

  const gchar * (*get_protocol) (CallsDBusCallsCall *object);

  guint  (*get_state) (CallsDBusCallsCall *object);

};

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

GType calls_dbus_calls_call_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *calls_dbus_calls_call_interface_info (void);
guint calls_dbus_calls_call_override_properties (GObjectClass *klass, guint property_id_begin);


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

void calls_dbus_calls_call_complete_hangup (
    CallsDBusCallsCall *object,
    GDBusMethodInvocation *invocation);

void calls_dbus_calls_call_complete_send_dtmf (
    CallsDBusCallsCall *object,
    GDBusMethodInvocation *invocation);

void calls_dbus_calls_call_complete_silence (
    CallsDBusCallsCall *object,
    GDBusMethodInvocation *invocation);



/* D-Bus method calls: */
void calls_dbus_calls_call_call_accept (
    CallsDBusCallsCall *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean calls_dbus_calls_call_call_accept_finish (
    CallsDBusCallsCall *proxy,
    GAsyncResult *res,
    GError **error);

gboolean calls_dbus_calls_call_call_accept_sync (
    CallsDBusCallsCall *proxy,
    GCancellable *cancellable,
    GError **error);

void calls_dbus_calls_call_call_hangup (
    CallsDBusCallsCall *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean calls_dbus_calls_call_call_hangup_finish (
    CallsDBusCallsCall *proxy,
    GAsyncResult *res,
    GError **error);

gboolean calls_dbus_calls_call_call_hangup_sync (
    CallsDBusCallsCall *proxy,
    GCancellable *cancellable,
    GError **error);

void calls_dbus_calls_call_call_send_dtmf (
    CallsDBusCallsCall *proxy,
    const gchar *arg_tone,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean calls_dbus_calls_call_call_send_dtmf_finish (
    CallsDBusCallsCall *proxy,
    GAsyncResult *res,
    GError **error);

gboolean calls_dbus_calls_call_call_send_dtmf_sync (
    CallsDBusCallsCall *proxy,
    const gchar *arg_tone,
    GCancellable *cancellable,
    GError **error);

void calls_dbus_calls_call_call_silence (
    CallsDBusCallsCall *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean calls_dbus_calls_call_call_silence_finish (
    CallsDBusCallsCall *proxy,
    GAsyncResult *res,
    GError **error);

gboolean calls_dbus_calls_call_call_silence_sync (
    CallsDBusCallsCall *proxy,
    GCancellable *cancellable,
    GError **error);



/* D-Bus property accessors: */
gboolean calls_dbus_calls_call_get_inbound (CallsDBusCallsCall *object);
void calls_dbus_calls_call_set_inbound (CallsDBusCallsCall *object, gboolean value);

guint calls_dbus_calls_call_get_state (CallsDBusCallsCall *object);
void calls_dbus_calls_call_set_state (CallsDBusCallsCall *object, guint value);

const gchar *calls_dbus_calls_call_get_id (CallsDBusCallsCall *object);
gchar *calls_dbus_calls_call_dup_id (CallsDBusCallsCall *object);
void calls_dbus_calls_call_set_id (CallsDBusCallsCall *object, const gchar *value);

const gchar *calls_dbus_calls_call_get_display_name (CallsDBusCallsCall *object);
gchar *calls_dbus_calls_call_dup_display_name (CallsDBusCallsCall *object);
void calls_dbus_calls_call_set_display_name (CallsDBusCallsCall *object, const gchar *value);

const gchar *calls_dbus_calls_call_get_image_path (CallsDBusCallsCall *object);
gchar *calls_dbus_calls_call_dup_image_path (CallsDBusCallsCall *object);
void calls_dbus_calls_call_set_image_path (CallsDBusCallsCall *object, const gchar *value);

const gchar *calls_dbus_calls_call_get_protocol (CallsDBusCallsCall *object);
gchar *calls_dbus_calls_call_dup_protocol (CallsDBusCallsCall *object);
void calls_dbus_calls_call_set_protocol (CallsDBusCallsCall *object, const gchar *value);

gboolean calls_dbus_calls_call_get_encrypted (CallsDBusCallsCall *object);
void calls_dbus_calls_call_set_encrypted (CallsDBusCallsCall *object, gboolean value);

gboolean calls_dbus_calls_call_get_can_dtmf (CallsDBusCallsCall *object);
void calls_dbus_calls_call_set_can_dtmf (CallsDBusCallsCall *object, gboolean value);

GVariant *calls_dbus_calls_call_get_hints (CallsDBusCallsCall *object);
GVariant *calls_dbus_calls_call_dup_hints (CallsDBusCallsCall *object);
void calls_dbus_calls_call_set_hints (CallsDBusCallsCall *object, GVariant *value);


/* ---- */

#define CALLS_DBUS_TYPE_CALLS_CALL_PROXY (calls_dbus_calls_call_proxy_get_type ())
#define CALLS_DBUS_CALLS_CALL_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CALLS_DBUS_TYPE_CALLS_CALL_PROXY, CallsDBusCallsCallProxy))
#define CALLS_DBUS_CALLS_CALL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CALLS_DBUS_TYPE_CALLS_CALL_PROXY, CallsDBusCallsCallProxyClass))
#define CALLS_DBUS_CALLS_CALL_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CALLS_DBUS_TYPE_CALLS_CALL_PROXY, CallsDBusCallsCallProxyClass))
#define CALLS_DBUS_IS_CALLS_CALL_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CALLS_DBUS_TYPE_CALLS_CALL_PROXY))
#define CALLS_DBUS_IS_CALLS_CALL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CALLS_DBUS_TYPE_CALLS_CALL_PROXY))

typedef struct _CallsDBusCallsCallProxy CallsDBusCallsCallProxy;
typedef struct _CallsDBusCallsCallProxyClass CallsDBusCallsCallProxyClass;
typedef struct _CallsDBusCallsCallProxyPrivate CallsDBusCallsCallProxyPrivate;

struct _CallsDBusCallsCallProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  CallsDBusCallsCallProxyPrivate *priv;
};

struct _CallsDBusCallsCallProxyClass
{
  GDBusProxyClass parent_class;
};

GType calls_dbus_calls_call_proxy_get_type (void) G_GNUC_CONST;

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

void calls_dbus_calls_call_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
CallsDBusCallsCall *calls_dbus_calls_call_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
CallsDBusCallsCall *calls_dbus_calls_call_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void calls_dbus_calls_call_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
CallsDBusCallsCall *calls_dbus_calls_call_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
CallsDBusCallsCall *calls_dbus_calls_call_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define CALLS_DBUS_TYPE_CALLS_CALL_SKELETON (calls_dbus_calls_call_skeleton_get_type ())
#define CALLS_DBUS_CALLS_CALL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CALLS_DBUS_TYPE_CALLS_CALL_SKELETON, CallsDBusCallsCallSkeleton))
#define CALLS_DBUS_CALLS_CALL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CALLS_DBUS_TYPE_CALLS_CALL_SKELETON, CallsDBusCallsCallSkeletonClass))
#define CALLS_DBUS_CALLS_CALL_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CALLS_DBUS_TYPE_CALLS_CALL_SKELETON, CallsDBusCallsCallSkeletonClass))
#define CALLS_DBUS_IS_CALLS_CALL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CALLS_DBUS_TYPE_CALLS_CALL_SKELETON))
#define CALLS_DBUS_IS_CALLS_CALL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CALLS_DBUS_TYPE_CALLS_CALL_SKELETON))

typedef struct _CallsDBusCallsCallSkeleton CallsDBusCallsCallSkeleton;
typedef struct _CallsDBusCallsCallSkeletonClass CallsDBusCallsCallSkeletonClass;
typedef struct _CallsDBusCallsCallSkeletonPrivate CallsDBusCallsCallSkeletonPrivate;

struct _CallsDBusCallsCallSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  CallsDBusCallsCallSkeletonPrivate *priv;
};

struct _CallsDBusCallsCallSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType calls_dbus_calls_call_skeleton_get_type (void) G_GNUC_CONST;

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

CallsDBusCallsCall *calls_dbus_calls_call_skeleton_new (void);


/* ---- */

#define CALLS_DBUS_TYPE_OBJECT (calls_dbus_object_get_type ())
#define CALLS_DBUS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CALLS_DBUS_TYPE_OBJECT, CallsDBusObject))
#define CALLS_DBUS_IS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CALLS_DBUS_TYPE_OBJECT))
#define CALLS_DBUS_OBJECT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), CALLS_DBUS_TYPE_OBJECT, CallsDBusObject))

struct _CallsDBusObject;
typedef struct _CallsDBusObject CallsDBusObject;
typedef struct _CallsDBusObjectIface CallsDBusObjectIface;

struct _CallsDBusObjectIface
{
  GTypeInterface parent_iface;
};

GType calls_dbus_object_get_type (void) G_GNUC_CONST;

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

CallsDBusCallsCall *calls_dbus_object_get_calls_call (CallsDBusObject *object);
CallsDBusCallsCall *calls_dbus_object_peek_calls_call (CallsDBusObject *object);

#define CALLS_DBUS_TYPE_OBJECT_PROXY (calls_dbus_object_proxy_get_type ())
#define CALLS_DBUS_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CALLS_DBUS_TYPE_OBJECT_PROXY, CallsDBusObjectProxy))
#define CALLS_DBUS_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CALLS_DBUS_TYPE_OBJECT_PROXY, CallsDBusObjectProxyClass))
#define CALLS_DBUS_OBJECT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CALLS_DBUS_TYPE_OBJECT_PROXY, CallsDBusObjectProxyClass))
#define CALLS_DBUS_IS_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CALLS_DBUS_TYPE_OBJECT_PROXY))
#define CALLS_DBUS_IS_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CALLS_DBUS_TYPE_OBJECT_PROXY))

typedef struct _CallsDBusObjectProxy CallsDBusObjectProxy;
typedef struct _CallsDBusObjectProxyClass CallsDBusObjectProxyClass;
typedef struct _CallsDBusObjectProxyPrivate CallsDBusObjectProxyPrivate;

struct _CallsDBusObjectProxy
{
  /*< private >*/
  GDBusObjectProxy parent_instance;
  CallsDBusObjectProxyPrivate *priv;
};

struct _CallsDBusObjectProxyClass
{
  GDBusObjectProxyClass parent_class;
};

GType calls_dbus_object_proxy_get_type (void) G_GNUC_CONST;

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

CallsDBusObjectProxy *calls_dbus_object_proxy_new (GDBusConnection *connection, const gchar *object_path);

#define CALLS_DBUS_TYPE_OBJECT_SKELETON (calls_dbus_object_skeleton_get_type ())
#define CALLS_DBUS_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CALLS_DBUS_TYPE_OBJECT_SKELETON, CallsDBusObjectSkeleton))
#define CALLS_DBUS_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CALLS_DBUS_TYPE_OBJECT_SKELETON, CallsDBusObjectSkeletonClass))
#define CALLS_DBUS_OBJECT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CALLS_DBUS_TYPE_OBJECT_SKELETON, CallsDBusObjectSkeletonClass))
#define CALLS_DBUS_IS_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CALLS_DBUS_TYPE_OBJECT_SKELETON))
#define CALLS_DBUS_IS_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CALLS_DBUS_TYPE_OBJECT_SKELETON))

typedef struct _CallsDBusObjectSkeleton CallsDBusObjectSkeleton;
typedef struct _CallsDBusObjectSkeletonClass CallsDBusObjectSkeletonClass;
typedef struct _CallsDBusObjectSkeletonPrivate CallsDBusObjectSkeletonPrivate;

struct _CallsDBusObjectSkeleton
{
  /*< private >*/
  GDBusObjectSkeleton parent_instance;
  CallsDBusObjectSkeletonPrivate *priv;
};

struct _CallsDBusObjectSkeletonClass
{
  GDBusObjectSkeletonClass parent_class;
};

GType calls_dbus_object_skeleton_get_type (void) G_GNUC_CONST;

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

CallsDBusObjectSkeleton *calls_dbus_object_skeleton_new (const gchar *object_path);
void calls_dbus_object_skeleton_set_calls_call (CallsDBusObjectSkeleton *object, CallsDBusCallsCall *interface_);

/* ---- */

#define CALLS_DBUS_TYPE_OBJECT_MANAGER_CLIENT (calls_dbus_object_manager_client_get_type ())
#define CALLS_DBUS_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CALLS_DBUS_TYPE_OBJECT_MANAGER_CLIENT, CallsDBusObjectManagerClient))
#define CALLS_DBUS_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CALLS_DBUS_TYPE_OBJECT_MANAGER_CLIENT, CallsDBusObjectManagerClientClass))
#define CALLS_DBUS_OBJECT_MANAGER_CLIENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CALLS_DBUS_TYPE_OBJECT_MANAGER_CLIENT, CallsDBusObjectManagerClientClass))
#define CALLS_DBUS_IS_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CALLS_DBUS_TYPE_OBJECT_MANAGER_CLIENT))
#define CALLS_DBUS_IS_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CALLS_DBUS_TYPE_OBJECT_MANAGER_CLIENT))

typedef struct _CallsDBusObjectManagerClient CallsDBusObjectManagerClient;
typedef struct _CallsDBusObjectManagerClientClass CallsDBusObjectManagerClientClass;
typedef struct _CallsDBusObjectManagerClientPrivate CallsDBusObjectManagerClientPrivate;

struct _CallsDBusObjectManagerClient
{
  /*< private >*/
  GDBusObjectManagerClient parent_instance;
  CallsDBusObjectManagerClientPrivate *priv;
};

struct _CallsDBusObjectManagerClientClass
{
  GDBusObjectManagerClientClass parent_class;
};

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

GType calls_dbus_object_manager_client_get_type (void) G_GNUC_CONST;

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

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

void calls_dbus_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 *calls_dbus_object_manager_client_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
GDBusObjectManager *calls_dbus_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 /* __CALLS_CALL_DBUS_H__ */
