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

#include <gio/gio.h>

G_BEGIN_DECLS


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

#define DLEYNA_RENDERER_TYPE_PUSH_HOST (dleyna_renderer_push_host_get_type ())
#define DLEYNA_RENDERER_PUSH_HOST(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DLEYNA_RENDERER_TYPE_PUSH_HOST, DleynaRendererPushHost))
#define DLEYNA_RENDERER_IS_PUSH_HOST(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DLEYNA_RENDERER_TYPE_PUSH_HOST))
#define DLEYNA_RENDERER_PUSH_HOST_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), DLEYNA_RENDERER_TYPE_PUSH_HOST, DleynaRendererPushHostIface))

struct _DleynaRendererPushHost;
typedef struct _DleynaRendererPushHost DleynaRendererPushHost;
typedef struct _DleynaRendererPushHostIface DleynaRendererPushHostIface;

struct _DleynaRendererPushHostIface
{
  GTypeInterface parent_iface;

  gboolean (*handle_host_file) (
    DleynaRendererPushHost *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_Path);

  gboolean (*handle_remove_file) (
    DleynaRendererPushHost *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_Path);

};

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

GType dleyna_renderer_push_host_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *dleyna_renderer_push_host_interface_info (void);
guint dleyna_renderer_push_host_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void dleyna_renderer_push_host_complete_host_file (
    DleynaRendererPushHost *object,
    GDBusMethodInvocation *invocation,
    const gchar *Uri);

void dleyna_renderer_push_host_complete_remove_file (
    DleynaRendererPushHost *object,
    GDBusMethodInvocation *invocation);



/* D-Bus method calls: */
void dleyna_renderer_push_host_call_host_file (
    DleynaRendererPushHost *proxy,
    const gchar *arg_Path,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean dleyna_renderer_push_host_call_host_file_finish (
    DleynaRendererPushHost *proxy,
    gchar **out_Uri,
    GAsyncResult *res,
    GError **error);

gboolean dleyna_renderer_push_host_call_host_file_sync (
    DleynaRendererPushHost *proxy,
    const gchar *arg_Path,
    gchar **out_Uri,
    GCancellable *cancellable,
    GError **error);

void dleyna_renderer_push_host_call_remove_file (
    DleynaRendererPushHost *proxy,
    const gchar *arg_Path,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean dleyna_renderer_push_host_call_remove_file_finish (
    DleynaRendererPushHost *proxy,
    GAsyncResult *res,
    GError **error);

gboolean dleyna_renderer_push_host_call_remove_file_sync (
    DleynaRendererPushHost *proxy,
    const gchar *arg_Path,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define DLEYNA_RENDERER_TYPE_PUSH_HOST_PROXY (dleyna_renderer_push_host_proxy_get_type ())
#define DLEYNA_RENDERER_PUSH_HOST_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DLEYNA_RENDERER_TYPE_PUSH_HOST_PROXY, DleynaRendererPushHostProxy))
#define DLEYNA_RENDERER_PUSH_HOST_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DLEYNA_RENDERER_TYPE_PUSH_HOST_PROXY, DleynaRendererPushHostProxyClass))
#define DLEYNA_RENDERER_PUSH_HOST_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DLEYNA_RENDERER_TYPE_PUSH_HOST_PROXY, DleynaRendererPushHostProxyClass))
#define DLEYNA_RENDERER_IS_PUSH_HOST_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DLEYNA_RENDERER_TYPE_PUSH_HOST_PROXY))
#define DLEYNA_RENDERER_IS_PUSH_HOST_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DLEYNA_RENDERER_TYPE_PUSH_HOST_PROXY))

typedef struct _DleynaRendererPushHostProxy DleynaRendererPushHostProxy;
typedef struct _DleynaRendererPushHostProxyClass DleynaRendererPushHostProxyClass;
typedef struct _DleynaRendererPushHostProxyPrivate DleynaRendererPushHostProxyPrivate;

struct _DleynaRendererPushHostProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  DleynaRendererPushHostProxyPrivate *priv;
};

struct _DleynaRendererPushHostProxyClass
{
  GDBusProxyClass parent_class;
};

GType dleyna_renderer_push_host_proxy_get_type (void) G_GNUC_CONST;

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

void dleyna_renderer_push_host_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
DleynaRendererPushHost *dleyna_renderer_push_host_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
DleynaRendererPushHost *dleyna_renderer_push_host_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void dleyna_renderer_push_host_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
DleynaRendererPushHost *dleyna_renderer_push_host_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
DleynaRendererPushHost *dleyna_renderer_push_host_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_PUSH_HOST_SKELETON (dleyna_renderer_push_host_skeleton_get_type ())
#define DLEYNA_RENDERER_PUSH_HOST_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DLEYNA_RENDERER_TYPE_PUSH_HOST_SKELETON, DleynaRendererPushHostSkeleton))
#define DLEYNA_RENDERER_PUSH_HOST_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DLEYNA_RENDERER_TYPE_PUSH_HOST_SKELETON, DleynaRendererPushHostSkeletonClass))
#define DLEYNA_RENDERER_PUSH_HOST_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DLEYNA_RENDERER_TYPE_PUSH_HOST_SKELETON, DleynaRendererPushHostSkeletonClass))
#define DLEYNA_RENDERER_IS_PUSH_HOST_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DLEYNA_RENDERER_TYPE_PUSH_HOST_SKELETON))
#define DLEYNA_RENDERER_IS_PUSH_HOST_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DLEYNA_RENDERER_TYPE_PUSH_HOST_SKELETON))

typedef struct _DleynaRendererPushHostSkeleton DleynaRendererPushHostSkeleton;
typedef struct _DleynaRendererPushHostSkeletonClass DleynaRendererPushHostSkeletonClass;
typedef struct _DleynaRendererPushHostSkeletonPrivate DleynaRendererPushHostSkeletonPrivate;

struct _DleynaRendererPushHostSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  DleynaRendererPushHostSkeletonPrivate *priv;
};

struct _DleynaRendererPushHostSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType dleyna_renderer_push_host_skeleton_get_type (void) G_GNUC_CONST;

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

DleynaRendererPushHost *dleyna_renderer_push_host_skeleton_new (void);


G_END_DECLS

#endif /* __PHOTOS_DLEYNA_RENDERER_PUSH_HOST_H__ */
