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

#include <gio/gio.h>

G_BEGIN_DECLS


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

#define DLEYNA_RENDERER_TYPE_MANAGER (dleyna_renderer_manager_get_type ())
#define DLEYNA_RENDERER_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DLEYNA_RENDERER_TYPE_MANAGER, DleynaRendererManager))
#define DLEYNA_RENDERER_IS_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DLEYNA_RENDERER_TYPE_MANAGER))
#define DLEYNA_RENDERER_MANAGER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), DLEYNA_RENDERER_TYPE_MANAGER, DleynaRendererManagerIface))

struct _DleynaRendererManager;
typedef struct _DleynaRendererManager DleynaRendererManager;
typedef struct _DleynaRendererManagerIface DleynaRendererManagerIface;

struct _DleynaRendererManagerIface
{
  GTypeInterface parent_iface;


  gboolean (*handle_get_renderers) (
    DleynaRendererManager *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_get_version) (
    DleynaRendererManager *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_release) (
    DleynaRendererManager *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_rescan) (
    DleynaRendererManager *object,
    GDBusMethodInvocation *invocation);

  void (*found_renderer) (
    DleynaRendererManager *object,
    const gchar *arg_Path);

  void (*lost_renderer) (
    DleynaRendererManager *object,
    const gchar *arg_Path);

};

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

GType dleyna_renderer_manager_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *dleyna_renderer_manager_interface_info (void);
guint dleyna_renderer_manager_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void dleyna_renderer_manager_complete_get_version (
    DleynaRendererManager *object,
    GDBusMethodInvocation *invocation,
    const gchar *Version);

void dleyna_renderer_manager_complete_release (
    DleynaRendererManager *object,
    GDBusMethodInvocation *invocation);

void dleyna_renderer_manager_complete_get_renderers (
    DleynaRendererManager *object,
    GDBusMethodInvocation *invocation,
    const gchar *const *Renderers);

void dleyna_renderer_manager_complete_rescan (
    DleynaRendererManager *object,
    GDBusMethodInvocation *invocation);



/* D-Bus signal emissions functions: */
void dleyna_renderer_manager_emit_found_renderer (
    DleynaRendererManager *object,
    const gchar *arg_Path);

void dleyna_renderer_manager_emit_lost_renderer (
    DleynaRendererManager *object,
    const gchar *arg_Path);



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

gboolean dleyna_renderer_manager_call_get_version_finish (
    DleynaRendererManager *proxy,
    gchar **out_Version,
    GAsyncResult *res,
    GError **error);

gboolean dleyna_renderer_manager_call_get_version_sync (
    DleynaRendererManager *proxy,
    gchar **out_Version,
    GCancellable *cancellable,
    GError **error);

void dleyna_renderer_manager_call_release (
    DleynaRendererManager *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean dleyna_renderer_manager_call_release_finish (
    DleynaRendererManager *proxy,
    GAsyncResult *res,
    GError **error);

gboolean dleyna_renderer_manager_call_release_sync (
    DleynaRendererManager *proxy,
    GCancellable *cancellable,
    GError **error);

void dleyna_renderer_manager_call_get_renderers (
    DleynaRendererManager *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean dleyna_renderer_manager_call_get_renderers_finish (
    DleynaRendererManager *proxy,
    gchar ***out_Renderers,
    GAsyncResult *res,
    GError **error);

gboolean dleyna_renderer_manager_call_get_renderers_sync (
    DleynaRendererManager *proxy,
    gchar ***out_Renderers,
    GCancellable *cancellable,
    GError **error);

void dleyna_renderer_manager_call_rescan (
    DleynaRendererManager *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean dleyna_renderer_manager_call_rescan_finish (
    DleynaRendererManager *proxy,
    GAsyncResult *res,
    GError **error);

gboolean dleyna_renderer_manager_call_rescan_sync (
    DleynaRendererManager *proxy,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define DLEYNA_RENDERER_TYPE_MANAGER_PROXY (dleyna_renderer_manager_proxy_get_type ())
#define DLEYNA_RENDERER_MANAGER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DLEYNA_RENDERER_TYPE_MANAGER_PROXY, DleynaRendererManagerProxy))
#define DLEYNA_RENDERER_MANAGER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DLEYNA_RENDERER_TYPE_MANAGER_PROXY, DleynaRendererManagerProxyClass))
#define DLEYNA_RENDERER_MANAGER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DLEYNA_RENDERER_TYPE_MANAGER_PROXY, DleynaRendererManagerProxyClass))
#define DLEYNA_RENDERER_IS_MANAGER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DLEYNA_RENDERER_TYPE_MANAGER_PROXY))
#define DLEYNA_RENDERER_IS_MANAGER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DLEYNA_RENDERER_TYPE_MANAGER_PROXY))

typedef struct _DleynaRendererManagerProxy DleynaRendererManagerProxy;
typedef struct _DleynaRendererManagerProxyClass DleynaRendererManagerProxyClass;
typedef struct _DleynaRendererManagerProxyPrivate DleynaRendererManagerProxyPrivate;

struct _DleynaRendererManagerProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  DleynaRendererManagerProxyPrivate *priv;
};

struct _DleynaRendererManagerProxyClass
{
  GDBusProxyClass parent_class;
};

GType dleyna_renderer_manager_proxy_get_type (void) G_GNUC_CONST;

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

void dleyna_renderer_manager_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
DleynaRendererManager *dleyna_renderer_manager_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
DleynaRendererManager *dleyna_renderer_manager_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void dleyna_renderer_manager_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
DleynaRendererManager *dleyna_renderer_manager_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
DleynaRendererManager *dleyna_renderer_manager_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define DLEYNA_RENDERER_TYPE_MANAGER_SKELETON (dleyna_renderer_manager_skeleton_get_type ())
#define DLEYNA_RENDERER_MANAGER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DLEYNA_RENDERER_TYPE_MANAGER_SKELETON, DleynaRendererManagerSkeleton))
#define DLEYNA_RENDERER_MANAGER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DLEYNA_RENDERER_TYPE_MANAGER_SKELETON, DleynaRendererManagerSkeletonClass))
#define DLEYNA_RENDERER_MANAGER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DLEYNA_RENDERER_TYPE_MANAGER_SKELETON, DleynaRendererManagerSkeletonClass))
#define DLEYNA_RENDERER_IS_MANAGER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DLEYNA_RENDERER_TYPE_MANAGER_SKELETON))
#define DLEYNA_RENDERER_IS_MANAGER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DLEYNA_RENDERER_TYPE_MANAGER_SKELETON))

typedef struct _DleynaRendererManagerSkeleton DleynaRendererManagerSkeleton;
typedef struct _DleynaRendererManagerSkeletonClass DleynaRendererManagerSkeletonClass;
typedef struct _DleynaRendererManagerSkeletonPrivate DleynaRendererManagerSkeletonPrivate;

struct _DleynaRendererManagerSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  DleynaRendererManagerSkeletonPrivate *priv;
};

struct _DleynaRendererManagerSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType dleyna_renderer_manager_skeleton_get_type (void) G_GNUC_CONST;

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

DleynaRendererManager *dleyna_renderer_manager_skeleton_new (void);


G_END_DECLS

#endif /* __PHOTOS_DLEYNA_RENDERER_MANAGER_H__ */
