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


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


#define TYPE_INDICATOR_VIEW (indicator_view_get_type ())
#define INDICATOR_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_INDICATOR_VIEW, IndicatorView))
#define IS_INDICATOR_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_INDICATOR_VIEW))
#define INDICATOR_VIEW_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_INDICATOR_VIEW, IndicatorViewIface))

typedef struct _IndicatorView IndicatorView;
typedef struct _IndicatorViewIface IndicatorViewIface;

struct _IndicatorViewIface {
	GTypeInterface parent_iface;
	void (*set_label) (IndicatorView* self, const gchar* value);
	void (*set_guide) (IndicatorView* self, const gchar* value);
	void (*set_icon) (IndicatorView* self, const gchar* value);
	void (*set_description) (IndicatorView* self, const gchar* value);
};



GType indicator_view_get_type (void) G_GNUC_CONST;
void indicator_view_set_label (IndicatorView* self, const gchar* value);
void indicator_view_set_guide (IndicatorView* self, const gchar* value);
void indicator_view_set_icon (IndicatorView* self, const gchar* value);
void indicator_view_set_description (IndicatorView* self, const gchar* value);
static void g_cclosure_user_marshal_VOID__INT_UINT (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data);


void indicator_view_set_label (IndicatorView* self, const gchar* value) {
	g_return_if_fail (IS_INDICATOR_VIEW (self));
	INDICATOR_VIEW_GET_INTERFACE (self)->set_label (self, value);
}


void indicator_view_set_guide (IndicatorView* self, const gchar* value) {
	g_return_if_fail (IS_INDICATOR_VIEW (self));
	INDICATOR_VIEW_GET_INTERFACE (self)->set_guide (self, value);
}


void indicator_view_set_icon (IndicatorView* self, const gchar* value) {
	g_return_if_fail (IS_INDICATOR_VIEW (self));
	INDICATOR_VIEW_GET_INTERFACE (self)->set_icon (self, value);
}


void indicator_view_set_description (IndicatorView* self, const gchar* value) {
	g_return_if_fail (IS_INDICATOR_VIEW (self));
	INDICATOR_VIEW_GET_INTERFACE (self)->set_description (self, value);
}


static void g_cclosure_user_marshal_VOID__INT_UINT (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data) {
	typedef void (*GMarshalFunc_VOID__INT_UINT) (gpointer data1, gint arg_1, guint arg_2, gpointer data2);
	register GMarshalFunc_VOID__INT_UINT callback;
	register GCClosure * cc;
	register gpointer data1;
	register gpointer data2;
	cc = (GCClosure *) closure;
	g_return_if_fail (n_param_values == 3);
	if (G_CCLOSURE_SWAP_DATA (closure)) {
		data1 = closure->data;
		data2 = param_values->data[0].v_pointer;
	} else {
		data1 = param_values->data[0].v_pointer;
		data2 = closure->data;
	}
	callback = (GMarshalFunc_VOID__INT_UINT) (marshal_data ? marshal_data : cc->callback);
	callback (data1, g_value_get_int (param_values + 1), g_value_get_uint (param_values + 2), data2);
}


static void indicator_view_base_init (IndicatorViewIface * iface) {
	static gboolean initialized = FALSE;
	if (!initialized) {
		initialized = TRUE;
		g_object_interface_install_property (iface, g_param_spec_string ("label", "label", "label", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE));
		g_object_interface_install_property (iface, g_param_spec_string ("guide", "guide", "guide", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE));
		g_object_interface_install_property (iface, g_param_spec_string ("icon", "icon", "icon", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE));
		g_object_interface_install_property (iface, g_param_spec_string ("description", "description", "description", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE));
		g_signal_new ("scroll_event", TYPE_INDICATOR_VIEW, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__INT_UINT, G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_UINT);
	}
}


/******************************************************************************
 * Copyright (C) 2011-2013  Michael Hofmann <mh21@mh21.de>                    *
 *                                                                            *
 * This program is free software; you can redistribute it and/or modify       *
 * it under the terms of the GNU General Public License as published by       *
 * the Free Software Foundation; either version 3 of the License, or          *
 * (at your option) any later version.                                        *
 *                                                                            *
 * This program is distributed in the hope that it will be useful,            *
 * but WITHOUT ANY WARRANTY; without even the implied warranty of             *
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
 * GNU General Public License for more details.                               *
 *                                                                            *
 * You should have received a copy of the GNU General Public License along    *
 * with this program; if not, write to the Free Software Foundation, Inc.,    *
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                *
 ******************************************************************************/
GType indicator_view_get_type (void) {
	static volatile gsize indicator_view_type_id__volatile = 0;
	if (g_once_init_enter (&indicator_view_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (IndicatorViewIface), (GBaseInitFunc) indicator_view_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType indicator_view_type_id;
		indicator_view_type_id = g_type_register_static (G_TYPE_INTERFACE, "IndicatorView", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (indicator_view_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&indicator_view_type_id__volatile, indicator_view_type_id);
	}
	return indicator_view_type_id__volatile;
}



