Debian Codegraph @

clutter/win32/clutter-device-manager-win32.h

raw
1 /*
2 * Clutter.
3 *
4 * An OpenGL based 'interactive canvas' library.
5 *
6 * Copyright (C) 2010 Intel Corp.
7 *
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.
12 *
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.
17 *
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/>.
20 *
21 * Author: Emmanuele Bassi <[email protected]>
22 */
23
24 #ifndef __CLUTTER_DEVICE_MANAGER_WIN32_H__
25 #define __CLUTTER_DEVICE_MANAGER_WIN32_H__
26
27 #include <clutter/clutter-device-manager.h>
28
29 G_BEGIN_DECLS
30
31 #define CLUTTER_TYPE_DEVICE_MANAGER_WIN32 (clutter_device_manager_win32_get_type ())
32 #define CLUTTER_DEVICE_MANAGER_WIN32(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_DEVICE_MANAGER_WIN32, ClutterDeviceManagerWin32))
33 #define CLUTTER_IS_DEVICE_MANAGER_WIN32(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_DEVICE_MANAGER_WIN32))
34 #define CLUTTER_DEVICE_MANAGER_WIN32_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_DEVICE_MANAGER_WIN32, ClutterDeviceManagerWin32Class))
35 #define CLUTTER_IS_DEVICE_MANAGER_WIN32_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_DEVICE_MANAGER_WIN32))
36 #define CLUTTER_DEVICE_MANAGER_WIN32_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_DEVICE_MANAGER_WIN32, ClutterDeviceManagerWin32Class))
37
38 typedef struct _ClutterDeviceManagerWin32 ClutterDeviceManagerWin32;
39 typedef struct _ClutterDeviceManagerWin32Class ClutterDeviceManagerWin32Class;
40
41 struct _ClutterDeviceManagerWin32
42 {
43 ClutterDeviceManager parent_instance;
44
45 GSList *devices;
46
47 ClutterInputDevice *core_pointer;
48 ClutterInputDevice *core_keyboard;
49 };
50
51 struct _ClutterDeviceManagerWin32Class
52 {
53 ClutterDeviceManagerClass parent_class;
54 };
55
56 GType clutter_device_manager_win32_get_type (void) G_GNUC_CONST;
57
58 G_END_DECLS
59
60 #endif /* __CLUTTER_DEVICE_MANAGER_WIN32_H__ */