/* libretro-uri-source.c generated by valac 0.36.6.6-c7bee, the Vala compiler
 * generated from libretro-uri-source.vala, do not modify */

/* This file is part of GNOME Games. License: GPL-3.0+.*/

#include <glib.h>
#include <glib-object.h>
#include <libgnome-games.h>


#define GAMES_TYPE_LIBRETRO_URI_SOURCE (games_libretro_uri_source_get_type ())
#define GAMES_LIBRETRO_URI_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAMES_TYPE_LIBRETRO_URI_SOURCE, GamesLibretroUriSource))
#define GAMES_LIBRETRO_URI_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAMES_TYPE_LIBRETRO_URI_SOURCE, GamesLibretroUriSourceClass))
#define GAMES_IS_LIBRETRO_URI_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAMES_TYPE_LIBRETRO_URI_SOURCE))
#define GAMES_IS_LIBRETRO_URI_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAMES_TYPE_LIBRETRO_URI_SOURCE))
#define GAMES_LIBRETRO_URI_SOURCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAMES_TYPE_LIBRETRO_URI_SOURCE, GamesLibretroUriSourceClass))

typedef struct _GamesLibretroUriSource GamesLibretroUriSource;
typedef struct _GamesLibretroUriSourceClass GamesLibretroUriSourceClass;
typedef struct _GamesLibretroUriSourcePrivate GamesLibretroUriSourcePrivate;

#define GAMES_TYPE_LIBRETRO_URI_ITERATOR (games_libretro_uri_iterator_get_type ())
#define GAMES_LIBRETRO_URI_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAMES_TYPE_LIBRETRO_URI_ITERATOR, GamesLibretroUriIterator))
#define GAMES_LIBRETRO_URI_ITERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAMES_TYPE_LIBRETRO_URI_ITERATOR, GamesLibretroUriIteratorClass))
#define GAMES_IS_LIBRETRO_URI_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAMES_TYPE_LIBRETRO_URI_ITERATOR))
#define GAMES_IS_LIBRETRO_URI_ITERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAMES_TYPE_LIBRETRO_URI_ITERATOR))
#define GAMES_LIBRETRO_URI_ITERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAMES_TYPE_LIBRETRO_URI_ITERATOR, GamesLibretroUriIteratorClass))

typedef struct _GamesLibretroUriIterator GamesLibretroUriIterator;
typedef struct _GamesLibretroUriIteratorClass GamesLibretroUriIteratorClass;

struct _GamesLibretroUriSource {
	GObject parent_instance;
	GamesLibretroUriSourcePrivate * priv;
};

struct _GamesLibretroUriSourceClass {
	GObjectClass parent_class;
};


static gpointer games_libretro_uri_source_parent_class = NULL;
static GamesUriSourceIface * games_libretro_uri_source_games_uri_source_parent_iface = NULL;
static GType games_libretro_uri_source_type_id = 0;

GType games_libretro_uri_source_get_type (void) G_GNUC_CONST;
enum  {
	GAMES_LIBRETRO_URI_SOURCE_0_PROPERTY
};
static GamesUriIterator* games_libretro_uri_source_real_iterator (GamesUriSource* base);
GamesLibretroUriIterator* games_libretro_uri_iterator_new (void);
GamesLibretroUriIterator* games_libretro_uri_iterator_construct (GType object_type);
GType games_libretro_uri_iterator_get_type (void) G_GNUC_CONST;
GamesLibretroUriSource* games_libretro_uri_source_new (void);
GamesLibretroUriSource* games_libretro_uri_source_construct (GType object_type);


static GamesUriIterator* games_libretro_uri_source_real_iterator (GamesUriSource* base) {
	GamesLibretroUriSource * self;
	GamesUriIterator* result = NULL;
	GamesLibretroUriIterator* _tmp0_;
	self = (GamesLibretroUriSource*) base;
	_tmp0_ = games_libretro_uri_iterator_new ();
	result = (GamesUriIterator*) _tmp0_;
	return result;
}


GamesLibretroUriSource* games_libretro_uri_source_construct (GType object_type) {
	GamesLibretroUriSource * self = NULL;
	self = (GamesLibretroUriSource*) g_object_new (object_type, NULL);
	return self;
}


GamesLibretroUriSource* games_libretro_uri_source_new (void) {
	return games_libretro_uri_source_construct (GAMES_TYPE_LIBRETRO_URI_SOURCE);
}


static void games_libretro_uri_source_class_init (GamesLibretroUriSourceClass * klass) {
	games_libretro_uri_source_parent_class = g_type_class_peek_parent (klass);
}


static void games_libretro_uri_source_games_uri_source_interface_init (GamesUriSourceIface * iface) {
	games_libretro_uri_source_games_uri_source_parent_iface = g_type_interface_peek_parent (iface);
	iface->iterator = (GamesUriIterator* (*) (GamesUriSource *)) games_libretro_uri_source_real_iterator;
}


static void games_libretro_uri_source_instance_init (GamesLibretroUriSource * self) {
}


GType games_libretro_uri_source_get_type (void) {
	return games_libretro_uri_source_type_id;
}


GType games_libretro_uri_source_register_type (GTypeModule * module) {
	static const GTypeInfo g_define_type_info = { sizeof (GamesLibretroUriSourceClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) games_libretro_uri_source_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GamesLibretroUriSource), 0, (GInstanceInitFunc) games_libretro_uri_source_instance_init, NULL };
	static const GInterfaceInfo games_uri_source_info = { (GInterfaceInitFunc) games_libretro_uri_source_games_uri_source_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
	games_libretro_uri_source_type_id = g_type_module_register_type (module, G_TYPE_OBJECT, "GamesLibretroUriSource", &g_define_type_info, 0);
	g_type_module_add_interface (module, games_libretro_uri_source_type_id, GAMES_TYPE_URI_SOURCE, &games_uri_source_info);
	return games_libretro_uri_source_type_id;
}



