Debian Codegraph @

gdk/broadway/gdkbroadwayvisual.h

raw
1 /* gdkbroadwayvisual.h
2 *
3 * Copyright (C) 2011 Alexander Larsson <[email protected]>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #ifndef __GDK_BROADWAY_VISUAL_H__
20 #define __GDK_BROADWAY_VISUAL_H__
21
22 #include <gdk/gdk.h>
23
24 G_BEGIN_DECLS
25
26 #define GDK_TYPE_BROADWAY_VISUAL (gdk_broadway_visual_get_type ())
27 #define GDK_BROADWAY_VISUAL(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_BROADWAY_VISUAL, GdkBroadwayVisual))
28 #define GDK_BROADWAY_VISUAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_BROADWAY_VISUAL, GdkBroadwayVisualClass))
29 #define GDK_IS_BROADWAY_VISUAL(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_BROADWAY_VISUAL))
30 #define GDK_IS_BROADWAY_VISUAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_BROADWAY_VISUAL))
31 #define GDK_BROADWAY_VISUAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_BROADWAY_VISUAL, GdkBroadwayVisualClass))
32
33 #ifdef GDK_COMPILATION
34 typedef struct _GdkBroadwayVisual GdkBroadwayVisual;
35 #else
36 typedef GdkVisual GdkBroadwayVisual;
37 #endif
38 typedef struct _GdkBroadwayVisualClass GdkBroadwayVisualClass;
39
40
41 GDK_AVAILABLE_IN_ALL
42 GType gdk_broadway_visual_get_type (void);
43
44 G_END_DECLS
45
46 #endif /* __GDK_BROADWAY_VISUAL_H__ */