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

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

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


#define GAMES_TYPE_TITLE (games_title_get_type ())
#define GAMES_TITLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAMES_TYPE_TITLE, GamesTitle))
#define GAMES_IS_TITLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAMES_TYPE_TITLE))
#define GAMES_TITLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GAMES_TYPE_TITLE, GamesTitleIface))

typedef struct _GamesTitle GamesTitle;
typedef struct _GamesTitleIface GamesTitleIface;

struct _GamesTitleIface {
	GTypeInterface parent_iface;
	gchar* (*get_title) (GamesTitle* self, GError** error);
};



GType games_title_get_type (void) G_GNUC_CONST;
gchar* games_title_get_title (GamesTitle* self, GError** error);


gchar* games_title_get_title (GamesTitle* self, GError** error) {
	g_return_val_if_fail (self != NULL, NULL);
	return GAMES_TITLE_GET_INTERFACE (self)->get_title (self, error);
}


static void games_title_base_init (GamesTitleIface * iface) {
	static gboolean initialized = FALSE;
	if (!initialized) {
		initialized = TRUE;
	}
}


GType games_title_get_type (void) {
	static volatile gsize games_title_type_id__volatile = 0;
	if (g_once_init_enter (&games_title_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GamesTitleIface), (GBaseInitFunc) games_title_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType games_title_type_id;
		games_title_type_id = g_type_register_static (G_TYPE_INTERFACE, "GamesTitle", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (games_title_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&games_title_type_id__volatile, games_title_type_id);
	}
	return games_title_type_id__volatile;
}



