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

/*
 * Copyright (C) 2010-2012 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.

 * This library 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
 * Lesser General Public License for more details.

 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
 *
 */

#include <glib.h>
#include <glib-object.h>
#include <fsobasics.h>
#include <linux/input.h>


#define FSO_DEVICE_TYPE_SIGNALLING_INPUT_DEVICE (fso_device_signalling_input_device_get_type ())
#define FSO_DEVICE_SIGNALLING_INPUT_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FSO_DEVICE_TYPE_SIGNALLING_INPUT_DEVICE, FsoDeviceSignallingInputDevice))
#define FSO_DEVICE_IS_SIGNALLING_INPUT_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FSO_DEVICE_TYPE_SIGNALLING_INPUT_DEVICE))
#define FSO_DEVICE_SIGNALLING_INPUT_DEVICE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), FSO_DEVICE_TYPE_SIGNALLING_INPUT_DEVICE, FsoDeviceSignallingInputDeviceIface))

typedef struct _FsoDeviceSignallingInputDevice FsoDeviceSignallingInputDevice;
typedef struct _FsoDeviceSignallingInputDeviceIface FsoDeviceSignallingInputDeviceIface;

struct _FsoDeviceSignallingInputDeviceIface {
	GTypeInterface parent_iface;
};



GType fso_device_signalling_input_device_get_type (void) G_GNUC_CONST;


static void fso_device_signalling_input_device_base_init (FsoDeviceSignallingInputDeviceIface * iface) {
	static gboolean initialized = FALSE;
	if (!initialized) {
		initialized = TRUE;
		g_signal_new ("received_event", FSO_DEVICE_TYPE_SIGNALLING_INPUT_DEVICE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER);
	}
}


/**
 * SignallingInputDevice: Exports input events over a signal API
 */
GType fso_device_signalling_input_device_get_type (void) {
	static volatile gsize fso_device_signalling_input_device_type_id__volatile = 0;
	if (g_once_init_enter (&fso_device_signalling_input_device_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (FsoDeviceSignallingInputDeviceIface), (GBaseInitFunc) fso_device_signalling_input_device_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType fso_device_signalling_input_device_type_id;
		fso_device_signalling_input_device_type_id = g_type_register_static (G_TYPE_INTERFACE, "FsoDeviceSignallingInputDevice", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (fso_device_signalling_input_device_type_id, FSO_FRAMEWORK_TYPE_ABSTRACT_OBJECT);
		g_once_init_leave (&fso_device_signalling_input_device_type_id__volatile, fso_device_signalling_input_device_type_id);
	}
	return fso_device_signalling_input_device_type_id__volatile;
}



