1 | /* |
2 | * Copyright (c) 2013 Intel Corporation |
3 | * |
4 | * Permission is hereby granted, free of charge, to any person obtaining a |
5 | * copy of this software and associated documentation files (the "Software"), |
6 | * to deal in the Software without restriction, including without limitation |
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
8 | * and/or sell copies of the Software, and to permit persons to whom the |
9 | * Software is furnished to do so, subject to the following conditions: |
10 | * |
11 | * The above copyright notice and this permission notice shall be included |
12 | * in all copies or substantial portions of the Software. |
13 | * |
14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
17 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
20 | * THE SOFTWARE. |
21 | */ |
22 | |
23 | #ifndef _GTK_INSPECTOR_CSS_EDITOR_H_ |
24 | #define _GTK_INSPECTOR_CSS_EDITOR_H_ |
25 | |
26 | #include <gtk/gtkbox.h> |
27 | |
28 | #define GTK_TYPE_INSPECTOR_CSS_EDITOR (gtk_inspector_css_editor_get_type()) |
29 | #define GTK_INSPECTOR_CSS_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_CSS_EDITOR, GtkInspectorCssEditor)) |
30 | #define GTK_INSPECTOR_CSS_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_CSS_EDITOR, GtkInspectorCssEditorClass)) |
31 | #define GTK_INSPECTOR_IS_CSS_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_CSS_EDITOR)) |
32 | #define GTK_INSPECTOR_IS_CSS_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_CSS_EDITOR)) |
33 | #define GTK_INSPECTOR_CSS_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_CSS_EDITOR, GtkInspectorCssEditorClass)) |
34 | |
35 | |
36 | typedef struct _GtkInspectorCssEditorPrivate GtkInspectorCssEditorPrivate; |
37 | |
38 | typedef struct _GtkInspectorCssEditor |
39 | { |
40 | GtkBox parent; |
41 | GtkInspectorCssEditorPrivate *priv; |
42 | } GtkInspectorCssEditor; |
43 | |
44 | typedef struct _GtkInspectorCssEditorClass |
45 | { |
46 | GtkBoxClass parent; |
47 | } GtkInspectorCssEditorClass; |
48 | |
49 | G_BEGIN_DECLS |
50 | |
51 | GType gtk_inspector_css_editor_get_type (void); |
52 | void gtk_inspector_css_editor_set_display (GtkInspectorCssEditor *ce, |
53 | GdkDisplay *display); |
54 | |
55 | G_END_DECLS |
56 | |
57 | #endif // _GTK_INSPECTOR_CSS_EDITOR_H_ |
58 | |
59 | // vim: set et sw=2 ts=2: |
60 | |