Debian Codegraph @

clutter/wayland/clutter-backend-wayland.h

raw
1 /*
2 * Clutter.
3 *
4 * An OpenGL based 'interactive canvas' library.
5 *
6 * Copyright (C) 2010, 2011 Intel Corporation.
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 * Authors:
22 * Matthew Allum
23 * Robert Bragg
24 * Kristian Høgsberg
25 */
26
27 #ifndef __CLUTTER_BACKEND_WAYLAND_H__
28 #define __CLUTTER_BACKEND_WAYLAND_H__
29
30 #include <glib-object.h>
31 #include <clutter/clutter-event.h>
32 #include <clutter/clutter-backend.h>
33 #include <clutter/clutter-device-manager.h>
34
35 #include "clutter-backend-private.h"
36
37 G_BEGIN_DECLS
38
39 #define CLUTTER_TYPE_BACKEND_WAYLAND (clutter_backend_wayland_get_type ())
40 #define CLUTTER_BACKEND_WAYLAND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_BACKEND_WAYLAND, ClutterBackendWayland))
41 #define CLUTTER_IS_BACKEND_WAYLAND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_BACKEND_WAYLAND))
42 #define CLUTTER_BACKEND_WAYLAND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_BACKEND_WAYLAND, ClutterBackendWaylandClass))
43 #define CLUTTER_IS_BACKEND_WAYLAND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_BACKEND_WAYLAND))
44 #define CLUTTER_BACKEND_WAYLAND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_BACKEND_WAYLAND, ClutterBackendWaylandClass))
45
46 typedef struct _ClutterBackendWayland ClutterBackendWayland;
47 typedef struct _ClutterBackendWaylandClass ClutterBackendWaylandClass;
48
49 struct _ClutterBackendWaylandClass
50 {
51 ClutterBackendClass parent_class;
52 };
53
54 GType clutter_backend_wayland_get_type (void) G_GNUC_CONST;
55
56 ClutterBackend *clutter_backend_wayland_new (void);
57
58 G_END_DECLS
59
60 #endif /* __CLUTTER_BACKEND_WAYLAND_H__ */