Debian Codegraph @

clutter/egl/clutter-stage-eglnative.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 * Adel Gadllah
23 */
24
25 #ifndef __CLUTTER_STAGE_EGL_NATIVE_H__
26 #define __CLUTTER_STAGE_EGL_NATIVE_H__
27
28 #ifdef HAVE_CONFIG_H
29 #include "config.h"
30 #endif
31
32 #include <glib-object.h>
33 #include <clutter/clutter-stage.h>
34
35 #include "cogl/clutter-stage-cogl.h"
36
37 #define CLUTTER_TYPE_STAGE_EGL_NATIVE (_clutter_stage_eglnative_get_type ())
38 #define CLUTTER_STAGE_EGL_NATIVE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_STAGE_EGL_NATIVE, ClutterStageEglNative))
39 #define CLUTTER_IS_STAGE_EGL_NATIVE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_STAGE_EGL_NATIVE))
40 #define CLUTTER_STAGE_EGL_NATIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_STAGE_EGL_NATIVE, ClutterStageEglNativeClass))
41 #define CLUTTER_IS_STAGE_EGL_NATIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_STAGE_EGL_NATIVE))
42 #define CLUTTER_STAGE_EGL_NATIVE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_STAGE_EGL_NATIVE, ClutterStageEglNativeClass))
43
44 typedef struct _ClutterStageEglNative ClutterStageEglNative;
45 typedef struct _ClutterStageEglNativeClass ClutterStageEglNativeClass;
46
47 struct _ClutterStageEglNative
48 {
49 ClutterStageCogl parent_instance;
50 };
51
52 struct _ClutterStageEglNativeClass
53 {
54 ClutterStageCoglClass parent_class;
55 };
56
57 GType _clutter_stage_eglnative_get_type (void) G_GNUC_CONST;
58
59 #endif /* __CLUTTER_STAGE_EGL_NATIVE_H__ */