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

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

#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>


#define GAMES_TYPE_PREFERENCES_PAGE (games_preferences_page_get_type ())
#define GAMES_PREFERENCES_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAMES_TYPE_PREFERENCES_PAGE, GamesPreferencesPage))
#define GAMES_IS_PREFERENCES_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAMES_TYPE_PREFERENCES_PAGE))
#define GAMES_PREFERENCES_PAGE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GAMES_TYPE_PREFERENCES_PAGE, GamesPreferencesPageIface))

typedef struct _GamesPreferencesPage GamesPreferencesPage;
typedef struct _GamesPreferencesPageIface GamesPreferencesPageIface;

struct _GamesPreferencesPageIface {
	GTypeInterface parent_iface;
	void (*visible_page_changed) (GamesPreferencesPage* self);
	GtkHeaderBar* (*get_header_bar) (GamesPreferencesPage* self);
	void (*set_header_bar) (GamesPreferencesPage* self, GtkHeaderBar* value);
	gboolean (*get_immersive_mode) (GamesPreferencesPage* self);
	void (*set_immersive_mode) (GamesPreferencesPage* self, gboolean value);
};



GType games_preferences_page_get_type (void) G_GNUC_CONST;
void games_preferences_page_visible_page_changed (GamesPreferencesPage* self);
static void games_preferences_page_real_visible_page_changed (GamesPreferencesPage* self);
GtkHeaderBar* games_preferences_page_get_header_bar (GamesPreferencesPage* self);
void games_preferences_page_set_header_bar (GamesPreferencesPage* self, GtkHeaderBar* value);
gboolean games_preferences_page_get_immersive_mode (GamesPreferencesPage* self);
void games_preferences_page_set_immersive_mode (GamesPreferencesPage* self, gboolean value);


static void games_preferences_page_real_visible_page_changed (GamesPreferencesPage* self) {
}


void games_preferences_page_visible_page_changed (GamesPreferencesPage* self) {
	g_return_if_fail (self != NULL);
	GAMES_PREFERENCES_PAGE_GET_INTERFACE (self)->visible_page_changed (self);
}


GtkHeaderBar* games_preferences_page_get_header_bar (GamesPreferencesPage* self) {
	g_return_val_if_fail (self != NULL, NULL);
	return GAMES_PREFERENCES_PAGE_GET_INTERFACE (self)->get_header_bar (self);
}


void games_preferences_page_set_header_bar (GamesPreferencesPage* self, GtkHeaderBar* value) {
	g_return_if_fail (self != NULL);
	GAMES_PREFERENCES_PAGE_GET_INTERFACE (self)->set_header_bar (self, value);
}


gboolean games_preferences_page_get_immersive_mode (GamesPreferencesPage* self) {
	g_return_val_if_fail (self != NULL, FALSE);
	return GAMES_PREFERENCES_PAGE_GET_INTERFACE (self)->get_immersive_mode (self);
}


void games_preferences_page_set_immersive_mode (GamesPreferencesPage* self, gboolean value) {
	g_return_if_fail (self != NULL);
	GAMES_PREFERENCES_PAGE_GET_INTERFACE (self)->set_immersive_mode (self, value);
}


static void games_preferences_page_base_init (GamesPreferencesPageIface * iface) {
	static gboolean initialized = FALSE;
	if (!initialized) {
		initialized = TRUE;
		g_object_interface_install_property (iface, g_param_spec_object ("header-bar", "header-bar", "header-bar", gtk_header_bar_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
		g_object_interface_install_property (iface, g_param_spec_boolean ("immersive-mode", "immersive-mode", "immersive-mode", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
		iface->visible_page_changed = games_preferences_page_real_visible_page_changed;
	}
}


GType games_preferences_page_get_type (void) {
	static volatile gsize games_preferences_page_type_id__volatile = 0;
	if (g_once_init_enter (&games_preferences_page_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GamesPreferencesPageIface), (GBaseInitFunc) games_preferences_page_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType games_preferences_page_type_id;
		games_preferences_page_type_id = g_type_register_static (G_TYPE_INTERFACE, "GamesPreferencesPage", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (games_preferences_page_type_id, gtk_widget_get_type ());
		g_once_init_leave (&games_preferences_page_type_id__volatile, games_preferences_page_type_id);
	}
	return games_preferences_page_type_id__volatile;
}



