/* proton.c generated by valac 0.56.19, the Vala compiler
 * generated from proton.vala, do not modify */

#include <gtk/gtk.h>
#include <glib-object.h>
#include <glib.h>
#include <glib/gi18n-lib.h>
#include <stdlib.h>
#include <string.h>
#include "config.h"
#include "protonplus_core.h"

#if !defined(VALA_STRICT_C)
#if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 14)
#pragma GCC diagnostic warning "-Wincompatible-pointer-types"
#elif defined(__clang__) && (__clang_major__ >= 16)
#pragma clang diagnostic ignored "-Wincompatible-function-pointer-types"
#pragma clang diagnostic ignored "-Wincompatible-pointer-types"
#endif
#endif

#define PROTON_PLUS_WIDGETS_INTRODUCTION_TYPE_BASE (proton_plus_widgets_introduction_base_get_type ())
#define PROTON_PLUS_WIDGETS_INTRODUCTION_BASE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_WIDGETS_INTRODUCTION_TYPE_BASE, ProtonPlusWidgetsIntroductionBase))
#define PROTON_PLUS_WIDGETS_INTRODUCTION_BASE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_WIDGETS_INTRODUCTION_TYPE_BASE, ProtonPlusWidgetsIntroductionBaseClass))
#define PROTON_PLUS_WIDGETS_INTRODUCTION_IS_BASE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_WIDGETS_INTRODUCTION_TYPE_BASE))
#define PROTON_PLUS_WIDGETS_INTRODUCTION_IS_BASE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_WIDGETS_INTRODUCTION_TYPE_BASE))
#define PROTON_PLUS_WIDGETS_INTRODUCTION_BASE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_WIDGETS_INTRODUCTION_TYPE_BASE, ProtonPlusWidgetsIntroductionBaseClass))

typedef struct _ProtonPlusWidgetsIntroductionBase ProtonPlusWidgetsIntroductionBase;
typedef struct _ProtonPlusWidgetsIntroductionBaseClass ProtonPlusWidgetsIntroductionBaseClass;
typedef struct _ProtonPlusWidgetsIntroductionBasePrivate ProtonPlusWidgetsIntroductionBasePrivate;

#define PROTON_PLUS_WIDGETS_INTRODUCTION_TYPE_PROTON (proton_plus_widgets_introduction_proton_get_type ())
#define PROTON_PLUS_WIDGETS_INTRODUCTION_PROTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_WIDGETS_INTRODUCTION_TYPE_PROTON, ProtonPlusWidgetsIntroductionProton))
#define PROTON_PLUS_WIDGETS_INTRODUCTION_PROTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_WIDGETS_INTRODUCTION_TYPE_PROTON, ProtonPlusWidgetsIntroductionProtonClass))
#define PROTON_PLUS_WIDGETS_INTRODUCTION_IS_PROTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_WIDGETS_INTRODUCTION_TYPE_PROTON))
#define PROTON_PLUS_WIDGETS_INTRODUCTION_IS_PROTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_WIDGETS_INTRODUCTION_TYPE_PROTON))
#define PROTON_PLUS_WIDGETS_INTRODUCTION_PROTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_WIDGETS_INTRODUCTION_TYPE_PROTON, ProtonPlusWidgetsIntroductionProtonClass))

typedef struct _ProtonPlusWidgetsIntroductionProton ProtonPlusWidgetsIntroductionProton;
typedef struct _ProtonPlusWidgetsIntroductionProtonClass ProtonPlusWidgetsIntroductionProtonClass;
typedef struct _ProtonPlusWidgetsIntroductionProtonPrivate ProtonPlusWidgetsIntroductionProtonPrivate;
enum  {
	PROTON_PLUS_WIDGETS_INTRODUCTION_PROTON_0_PROPERTY,
	PROTON_PLUS_WIDGETS_INTRODUCTION_PROTON_NUM_PROPERTIES
};
static GParamSpec* proton_plus_widgets_introduction_proton_properties[PROTON_PLUS_WIDGETS_INTRODUCTION_PROTON_NUM_PROPERTIES];
#define _g_free0(var) (var = (g_free (var), NULL))

struct _ProtonPlusWidgetsIntroductionBase {
	GtkBox parent_instance;
	ProtonPlusWidgetsIntroductionBasePrivate * priv;
};

struct _ProtonPlusWidgetsIntroductionBaseClass {
	GtkBoxClass parent_class;
};

struct _ProtonPlusWidgetsIntroductionProton {
	ProtonPlusWidgetsIntroductionBase parent_instance;
	ProtonPlusWidgetsIntroductionProtonPrivate * priv;
};

struct _ProtonPlusWidgetsIntroductionProtonClass {
	ProtonPlusWidgetsIntroductionBaseClass parent_class;
};

static gpointer proton_plus_widgets_introduction_proton_parent_class = NULL;

VALA_EXTERN GType proton_plus_widgets_introduction_base_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType proton_plus_widgets_introduction_proton_get_type (void) G_GNUC_CONST ;
VALA_EXTERN ProtonPlusWidgetsIntroductionProton* proton_plus_widgets_introduction_proton_new (void);
VALA_EXTERN ProtonPlusWidgetsIntroductionProton* proton_plus_widgets_introduction_proton_construct (GType object_type);
VALA_EXTERN ProtonPlusWidgetsIntroductionBase* proton_plus_widgets_introduction_base_new (const gchar* title_text,
                                                                              const gchar* description_text,
                                                                              const gchar* image_source);
VALA_EXTERN ProtonPlusWidgetsIntroductionBase* proton_plus_widgets_introduction_base_construct (GType object_type,
                                                                                    const gchar* title_text,
                                                                                    const gchar* description_text,
                                                                                    const gchar* image_source);
static GType proton_plus_widgets_introduction_proton_get_type_once (void);

ProtonPlusWidgetsIntroductionProton*
proton_plus_widgets_introduction_proton_construct (GType object_type)
{
	ProtonPlusWidgetsIntroductionProton * self = NULL;
	gchar* _tmp0_;
	gchar* _tmp1_;
	_tmp0_ = g_strdup_printf ("%s/icons/scalable/actions/proton-symbolic.svg", RESOURCE_BASE);
	_tmp1_ = _tmp0_;
	self = (ProtonPlusWidgetsIntroductionProton*) proton_plus_widgets_introduction_base_construct (object_type, _ ("What is Proton?"), _ ("Developed by Valve, Proton is a tool based on Wine specifically optimi" \
"zed for gaming, ensuring high performance and Steam Play integration."), _tmp1_);
	_g_free0 (_tmp1_);
	return self;
}

ProtonPlusWidgetsIntroductionProton*
proton_plus_widgets_introduction_proton_new (void)
{
	return proton_plus_widgets_introduction_proton_construct (PROTON_PLUS_WIDGETS_INTRODUCTION_TYPE_PROTON);
}

static void
proton_plus_widgets_introduction_proton_class_init (ProtonPlusWidgetsIntroductionProtonClass * klass,
                                                    gpointer klass_data)
{
	proton_plus_widgets_introduction_proton_parent_class = g_type_class_peek_parent (klass);
}

static void
proton_plus_widgets_introduction_proton_instance_init (ProtonPlusWidgetsIntroductionProton * self,
                                                       gpointer klass)
{
}

static GType
proton_plus_widgets_introduction_proton_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (ProtonPlusWidgetsIntroductionProtonClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) proton_plus_widgets_introduction_proton_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ProtonPlusWidgetsIntroductionProton), 0, (GInstanceInitFunc) proton_plus_widgets_introduction_proton_instance_init, NULL };
	GType proton_plus_widgets_introduction_proton_type_id;
	proton_plus_widgets_introduction_proton_type_id = g_type_register_static (PROTON_PLUS_WIDGETS_INTRODUCTION_TYPE_BASE, "ProtonPlusWidgetsIntroductionProton", &g_define_type_info, 0);
	return proton_plus_widgets_introduction_proton_type_id;
}

GType
proton_plus_widgets_introduction_proton_get_type (void)
{
	static volatile gsize proton_plus_widgets_introduction_proton_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_introduction_proton_type_id__once)) {
		GType proton_plus_widgets_introduction_proton_type_id;
		proton_plus_widgets_introduction_proton_type_id = proton_plus_widgets_introduction_proton_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_introduction_proton_type_id__once, proton_plus_widgets_introduction_proton_type_id);
	}
	return proton_plus_widgets_introduction_proton_type_id__once;
}

