/* uid.c generated by valac 0.36.6.6-c7bee, the Vala compiler
 * generated from uid.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_UID (games_uid_get_type ())
#define GAMES_UID(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAMES_TYPE_UID, GamesUid))
#define GAMES_IS_UID(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAMES_TYPE_UID))
#define GAMES_UID_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GAMES_TYPE_UID, GamesUidIface))

typedef struct _GamesUid GamesUid;
typedef struct _GamesUidIface GamesUidIface;

struct _GamesUidIface {
	GTypeInterface parent_iface;
	gchar* (*get_uid) (GamesUid* self, GError** error);
};



GType games_uid_get_type (void) G_GNUC_CONST;
gchar* games_uid_get_uid (GamesUid* self, GError** error);


gchar* games_uid_get_uid (GamesUid* self, GError** error) {
	g_return_val_if_fail (self != NULL, NULL);
	return GAMES_UID_GET_INTERFACE (self)->get_uid (self, error);
}


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


GType games_uid_get_type (void) {
	static volatile gsize games_uid_type_id__volatile = 0;
	if (g_once_init_enter (&games_uid_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GamesUidIface), (GBaseInitFunc) games_uid_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType games_uid_type_id;
		games_uid_type_id = g_type_register_static (G_TYPE_INTERFACE, "GamesUid", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (games_uid_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&games_uid_type_id__volatile, games_uid_type_id);
	}
	return games_uid_type_id__volatile;
}



