/* unity-extras.h generated by valac 0.56.18-dirty, the Vala compiler, do not modify */

#ifndef __UNITY_EXTRAS_H__
#define __UNITY_EXTRAS_H__

#include <glib-object.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>

G_BEGIN_DECLS

#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif

#define UNITY_EXTRAS_TYPE_PREVIEW_PLAYER (unity_extras_preview_player_get_type ())
#define UNITY_EXTRAS_PREVIEW_PLAYER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_EXTRAS_TYPE_PREVIEW_PLAYER, UnityExtrasPreviewPlayer))
#define UNITY_EXTRAS_PREVIEW_PLAYER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_EXTRAS_TYPE_PREVIEW_PLAYER, UnityExtrasPreviewPlayerClass))
#define UNITY_EXTRAS_IS_PREVIEW_PLAYER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_EXTRAS_TYPE_PREVIEW_PLAYER))
#define UNITY_EXTRAS_IS_PREVIEW_PLAYER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_EXTRAS_TYPE_PREVIEW_PLAYER))
#define UNITY_EXTRAS_PREVIEW_PLAYER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_EXTRAS_TYPE_PREVIEW_PLAYER, UnityExtrasPreviewPlayerClass))

typedef struct _UnityExtrasPreviewPlayer UnityExtrasPreviewPlayer;
typedef struct _UnityExtrasPreviewPlayerClass UnityExtrasPreviewPlayerClass;
typedef struct _UnityExtrasPreviewPlayerPrivate UnityExtrasPreviewPlayerPrivate;
typedef void (*UnityExtrasCreateScopeCallback) (gpointer user_data);

struct _UnityExtrasPreviewPlayer {
	GObject parent_instance;
	UnityExtrasPreviewPlayerPrivate * priv;
};

struct _UnityExtrasPreviewPlayerClass {
	GObjectClass parent_class;
};

VALA_EXTERN GType unity_extras_preview_player_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityExtrasPreviewPlayer, g_object_unref)
VALA_EXTERN void unity_extras_preview_player_play (UnityExtrasPreviewPlayer* self,
                                       const gchar* uri,
                                       GAsyncReadyCallback _callback_,
                                       gpointer _user_data_);
VALA_EXTERN void unity_extras_preview_player_play_finish (UnityExtrasPreviewPlayer* self,
                                              GAsyncResult* _res_,
                                              GError** error);
VALA_EXTERN void unity_extras_preview_player_pause (UnityExtrasPreviewPlayer* self,
                                        GAsyncReadyCallback _callback_,
                                        gpointer _user_data_);
VALA_EXTERN void unity_extras_preview_player_pause_finish (UnityExtrasPreviewPlayer* self,
                                               GAsyncResult* _res_,
                                               GError** error);
VALA_EXTERN void unity_extras_preview_player_pause_resume (UnityExtrasPreviewPlayer* self,
                                               GAsyncReadyCallback _callback_,
                                               gpointer _user_data_);
VALA_EXTERN void unity_extras_preview_player_pause_resume_finish (UnityExtrasPreviewPlayer* self,
                                                      GAsyncResult* _res_,
                                                      GError** error);
VALA_EXTERN void unity_extras_preview_player_resume (UnityExtrasPreviewPlayer* self,
                                         GAsyncReadyCallback _callback_,
                                         gpointer _user_data_);
VALA_EXTERN void unity_extras_preview_player_resume_finish (UnityExtrasPreviewPlayer* self,
                                                GAsyncResult* _res_,
                                                GError** error);
VALA_EXTERN void unity_extras_preview_player_stop (UnityExtrasPreviewPlayer* self,
                                       GAsyncReadyCallback _callback_,
                                       gpointer _user_data_);
VALA_EXTERN void unity_extras_preview_player_stop_finish (UnityExtrasPreviewPlayer* self,
                                              GAsyncResult* _res_,
                                              GError** error);
VALA_EXTERN void unity_extras_preview_player_close (UnityExtrasPreviewPlayer* self,
                                        GAsyncReadyCallback _callback_,
                                        gpointer _user_data_);
VALA_EXTERN void unity_extras_preview_player_close_finish (UnityExtrasPreviewPlayer* self,
                                               GAsyncResult* _res_,
                                               GError** error);
VALA_EXTERN void unity_extras_preview_player_video_properties (UnityExtrasPreviewPlayer* self,
                                                   const gchar* uri,
                                                   GAsyncReadyCallback _callback_,
                                                   gpointer _user_data_);
VALA_EXTERN GHashTable* unity_extras_preview_player_video_properties_finish (UnityExtrasPreviewPlayer* self,
                                                                 GAsyncResult* _res_,
                                                                 GError** error);
VALA_EXTERN UnityExtrasPreviewPlayer* unity_extras_preview_player_new (void);
VALA_EXTERN UnityExtrasPreviewPlayer* unity_extras_preview_player_construct (GType object_type);
VALA_EXTERN void unity_extras_show_in_folder (const gchar* uri,
                                  GAsyncReadyCallback _callback_,
                                  gpointer _user_data_);
VALA_EXTERN void unity_extras_show_in_folder_finish (GAsyncResult* _res_,
                                         GError** error);
VALA_EXTERN gboolean unity_extras_dbus_name_has_owner (const gchar* name,
                                           GError** error);
VALA_EXTERN GApplication* unity_extras_dbus_own_name (const gchar* name,
                                          UnityExtrasCreateScopeCallback scope_creation_cb,
                                          gpointer scope_creation_cb_target,
                                          GError** error);

G_END_DECLS

#endif
