4 * An OpenGL based 'interactive canvas' library.
6 * Copyright (C) 2010 Intel Corp.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
21 * Author: Damien Lespiau <damien.lespiau@intel.com>
24 #ifndef __CLUTTER_DEVICE_MANAGER_EVDEV_H__
25 #define __CLUTTER_DEVICE_MANAGER_EVDEV_H__
27 #include <clutter/clutter-device-manager.h>
31 #define CLUTTER_TYPE_DEVICE_MANAGER_EVDEV (clutter_device_manager_evdev_get_type ())
32 #define CLUTTER_DEVICE_MANAGER_EVDEV(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_DEVICE_MANAGER_EVDEV, ClutterDeviceManagerEvdev))
33 #define CLUTTER_IS_DEVICE_MANAGER_EVDEV(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_DEVICE_MANAGER_EVDEV))
34 #define CLUTTER_DEVICE_MANAGER_EVDEV_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_DEVICE_MANAGER_EVDEV, ClutterDeviceManagerEvdevClass))
35 #define CLUTTER_IS_DEVICE_MANAGER_EVDEV_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_DEVICE_MANAGER_EVDEV))
36 #define CLUTTER_DEVICE_MANAGER_EVDEV_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_DEVICE_MANAGER_EVDEV, ClutterDeviceManagerEvdevClass))
38 typedef struct _ClutterDeviceManagerEvdev ClutterDeviceManagerEvdev;
39 typedef struct _ClutterDeviceManagerEvdevClass ClutterDeviceManagerEvdevClass;
40 typedef struct _ClutterDeviceManagerEvdevPrivate ClutterDeviceManagerEvdevPrivate;
42 struct _ClutterDeviceManagerEvdev
44 ClutterDeviceManager parent_instance;
46 ClutterDeviceManagerEvdevPrivate *priv;
49 struct _ClutterDeviceManagerEvdevClass
51 ClutterDeviceManagerClass parent_class;
54 GType clutter_device_manager_evdev_get_type (void) G_GNUC_CONST;
56 void _clutter_events_evdev_init (ClutterBackend *backend);
57 void _clutter_events_evdev_uninit (ClutterBackend *backend);
61 #endif /* __CLUTTER_DEVICE_MANAGER_EVDEV_H__ */