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

#include <gio/gio.h>

G_BEGIN_DECLS


/* ------------------------------------------------------------------------ */
/* Declarations for com.intel.dLeynaRenderer.RendererDevice */

#define DLEYNA_TYPE_RENDERER_DEVICE (dleyna_renderer_device_get_type ())
#define DLEYNA_RENDERER_DEVICE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DLEYNA_TYPE_RENDERER_DEVICE, DleynaRendererDevice))
#define DLEYNA_IS_RENDERER_DEVICE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DLEYNA_TYPE_RENDERER_DEVICE))
#define DLEYNA_RENDERER_DEVICE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), DLEYNA_TYPE_RENDERER_DEVICE, DleynaRendererDeviceIface))

struct _DleynaRendererDevice;
typedef struct _DleynaRendererDevice DleynaRendererDevice;
typedef struct _DleynaRendererDeviceIface DleynaRendererDeviceIface;

struct _DleynaRendererDeviceIface
{
  GTypeInterface parent_iface;


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

  gboolean (*handle_get_icon) (
    DleynaRendererDevice *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_RequestedMimeType,
    const gchar *arg_Resolution);

  const gchar * (*get_device_type) (DleynaRendererDevice *object);

  const gchar * (*get_friendly_name) (DleynaRendererDevice *object);

  const gchar * (*get_icon_url) (DleynaRendererDevice *object);

  const gchar * (*get_manufacturer) (DleynaRendererDevice *object);

  const gchar * (*get_manufacturer_url) (DleynaRendererDevice *object);

  const gchar * (*get_model_description) (DleynaRendererDevice *object);

  const gchar * (*get_model_name) (DleynaRendererDevice *object);

  const gchar * (*get_model_number) (DleynaRendererDevice *object);

  const gchar * (*get_presentation_url) (DleynaRendererDevice *object);

  const gchar * (*get_protocol_info) (DleynaRendererDevice *object);

  const gchar * (*get_serial_number) (DleynaRendererDevice *object);

  const gchar * (*get_udn) (DleynaRendererDevice *object);

};

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

GType dleyna_renderer_device_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *dleyna_renderer_device_interface_info (void);
guint dleyna_renderer_device_override_properties (GObjectClass *klass, guint property_id_begin);


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

void dleyna_renderer_device_complete_get_icon (
    DleynaRendererDevice *object,
    GDBusMethodInvocation *invocation,
    GVariant *Bytes,
    const gchar *MimeType);



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

gboolean dleyna_renderer_device_call_cancel_finish (
    DleynaRendererDevice *proxy,
    GAsyncResult *res,
    GError **error);

gboolean dleyna_renderer_device_call_cancel_sync (
    DleynaRendererDevice *proxy,
    GCancellable *cancellable,
    GError **error);

void dleyna_renderer_device_call_get_icon (
    DleynaRendererDevice *proxy,
    const gchar *arg_RequestedMimeType,
    const gchar *arg_Resolution,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean dleyna_renderer_device_call_get_icon_finish (
    DleynaRendererDevice *proxy,
    GVariant **out_Bytes,
    gchar **out_MimeType,
    GAsyncResult *res,
    GError **error);

gboolean dleyna_renderer_device_call_get_icon_sync (
    DleynaRendererDevice *proxy,
    const gchar *arg_RequestedMimeType,
    const gchar *arg_Resolution,
    GVariant **out_Bytes,
    gchar **out_MimeType,
    GCancellable *cancellable,
    GError **error);



/* D-Bus property accessors: */
const gchar *dleyna_renderer_device_get_device_type (DleynaRendererDevice *object);
gchar *dleyna_renderer_device_dup_device_type (DleynaRendererDevice *object);
void dleyna_renderer_device_set_device_type (DleynaRendererDevice *object, const gchar *value);

const gchar *dleyna_renderer_device_get_udn (DleynaRendererDevice *object);
gchar *dleyna_renderer_device_dup_udn (DleynaRendererDevice *object);
void dleyna_renderer_device_set_udn (DleynaRendererDevice *object, const gchar *value);

const gchar *dleyna_renderer_device_get_friendly_name (DleynaRendererDevice *object);
gchar *dleyna_renderer_device_dup_friendly_name (DleynaRendererDevice *object);
void dleyna_renderer_device_set_friendly_name (DleynaRendererDevice *object, const gchar *value);

const gchar *dleyna_renderer_device_get_icon_url (DleynaRendererDevice *object);
gchar *dleyna_renderer_device_dup_icon_url (DleynaRendererDevice *object);
void dleyna_renderer_device_set_icon_url (DleynaRendererDevice *object, const gchar *value);

const gchar *dleyna_renderer_device_get_manufacturer (DleynaRendererDevice *object);
gchar *dleyna_renderer_device_dup_manufacturer (DleynaRendererDevice *object);
void dleyna_renderer_device_set_manufacturer (DleynaRendererDevice *object, const gchar *value);

const gchar *dleyna_renderer_device_get_manufacturer_url (DleynaRendererDevice *object);
gchar *dleyna_renderer_device_dup_manufacturer_url (DleynaRendererDevice *object);
void dleyna_renderer_device_set_manufacturer_url (DleynaRendererDevice *object, const gchar *value);

const gchar *dleyna_renderer_device_get_model_description (DleynaRendererDevice *object);
gchar *dleyna_renderer_device_dup_model_description (DleynaRendererDevice *object);
void dleyna_renderer_device_set_model_description (DleynaRendererDevice *object, const gchar *value);

const gchar *dleyna_renderer_device_get_model_name (DleynaRendererDevice *object);
gchar *dleyna_renderer_device_dup_model_name (DleynaRendererDevice *object);
void dleyna_renderer_device_set_model_name (DleynaRendererDevice *object, const gchar *value);

const gchar *dleyna_renderer_device_get_model_number (DleynaRendererDevice *object);
gchar *dleyna_renderer_device_dup_model_number (DleynaRendererDevice *object);
void dleyna_renderer_device_set_model_number (DleynaRendererDevice *object, const gchar *value);

const gchar *dleyna_renderer_device_get_serial_number (DleynaRendererDevice *object);
gchar *dleyna_renderer_device_dup_serial_number (DleynaRendererDevice *object);
void dleyna_renderer_device_set_serial_number (DleynaRendererDevice *object, const gchar *value);

const gchar *dleyna_renderer_device_get_presentation_url (DleynaRendererDevice *object);
gchar *dleyna_renderer_device_dup_presentation_url (DleynaRendererDevice *object);
void dleyna_renderer_device_set_presentation_url (DleynaRendererDevice *object, const gchar *value);

const gchar *dleyna_renderer_device_get_protocol_info (DleynaRendererDevice *object);
gchar *dleyna_renderer_device_dup_protocol_info (DleynaRendererDevice *object);
void dleyna_renderer_device_set_protocol_info (DleynaRendererDevice *object, const gchar *value);


/* ---- */

#define DLEYNA_TYPE_RENDERER_DEVICE_PROXY (dleyna_renderer_device_proxy_get_type ())
#define DLEYNA_RENDERER_DEVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DLEYNA_TYPE_RENDERER_DEVICE_PROXY, DleynaRendererDeviceProxy))
#define DLEYNA_RENDERER_DEVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DLEYNA_TYPE_RENDERER_DEVICE_PROXY, DleynaRendererDeviceProxyClass))
#define DLEYNA_RENDERER_DEVICE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DLEYNA_TYPE_RENDERER_DEVICE_PROXY, DleynaRendererDeviceProxyClass))
#define DLEYNA_IS_RENDERER_DEVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DLEYNA_TYPE_RENDERER_DEVICE_PROXY))
#define DLEYNA_IS_RENDERER_DEVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DLEYNA_TYPE_RENDERER_DEVICE_PROXY))

typedef struct _DleynaRendererDeviceProxy DleynaRendererDeviceProxy;
typedef struct _DleynaRendererDeviceProxyClass DleynaRendererDeviceProxyClass;
typedef struct _DleynaRendererDeviceProxyPrivate DleynaRendererDeviceProxyPrivate;

struct _DleynaRendererDeviceProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  DleynaRendererDeviceProxyPrivate *priv;
};

struct _DleynaRendererDeviceProxyClass
{
  GDBusProxyClass parent_class;
};

GType dleyna_renderer_device_proxy_get_type (void) G_GNUC_CONST;

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

void dleyna_renderer_device_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
DleynaRendererDevice *dleyna_renderer_device_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
DleynaRendererDevice *dleyna_renderer_device_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void dleyna_renderer_device_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
DleynaRendererDevice *dleyna_renderer_device_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
DleynaRendererDevice *dleyna_renderer_device_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define DLEYNA_TYPE_RENDERER_DEVICE_SKELETON (dleyna_renderer_device_skeleton_get_type ())
#define DLEYNA_RENDERER_DEVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DLEYNA_TYPE_RENDERER_DEVICE_SKELETON, DleynaRendererDeviceSkeleton))
#define DLEYNA_RENDERER_DEVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DLEYNA_TYPE_RENDERER_DEVICE_SKELETON, DleynaRendererDeviceSkeletonClass))
#define DLEYNA_RENDERER_DEVICE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DLEYNA_TYPE_RENDERER_DEVICE_SKELETON, DleynaRendererDeviceSkeletonClass))
#define DLEYNA_IS_RENDERER_DEVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DLEYNA_TYPE_RENDERER_DEVICE_SKELETON))
#define DLEYNA_IS_RENDERER_DEVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DLEYNA_TYPE_RENDERER_DEVICE_SKELETON))

typedef struct _DleynaRendererDeviceSkeleton DleynaRendererDeviceSkeleton;
typedef struct _DleynaRendererDeviceSkeletonClass DleynaRendererDeviceSkeletonClass;
typedef struct _DleynaRendererDeviceSkeletonPrivate DleynaRendererDeviceSkeletonPrivate;

struct _DleynaRendererDeviceSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  DleynaRendererDeviceSkeletonPrivate *priv;
};

struct _DleynaRendererDeviceSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType dleyna_renderer_device_skeleton_get_type (void) G_GNUC_CONST;

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

DleynaRendererDevice *dleyna_renderer_device_skeleton_new (void);


G_END_DECLS

#endif /* __PHOTOS_DLEYNA_RENDERER_DEVICE_H__ */
