1 /*
2  * Copyright (C) 2013 Tristan Van Berkom.
3  *
4  * This library is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU Lesser General Public License as
6  * published by the Free Software Foundation; either version 2.1 of
7  * the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful, but
10  * WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17  *
18  * Authors:
19  *   Tristan Van Berkom <tvb@gnome.org>
20  */
21 #ifndef _GLADE_BOX_EDITOR_H_
22 #define _GLADE_BOX_EDITOR_H_
23 
24 #include <gtk/gtk.h>
25 
26 G_BEGIN_DECLS
27 
28 #define GLADE_TYPE_BOX_EDITOR	          (glade_box_editor_get_type ())
29 #define GLADE_BOX_EDITOR(obj)	          (G_TYPE_CHECK_INSTANCE_CAST ((obj), GLADE_TYPE_BOX_EDITOR, GladeBoxEditor))
30 #define GLADE_BOX_EDITOR_CLASS(klass)	  (G_TYPE_CHECK_CLASS_CAST ((klass), GLADE_TYPE_BOX_EDITOR, GladeBoxEditorClass))
31 #define GLADE_IS_BOX_EDITOR(obj)	  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GLADE_TYPE_BOX_EDITOR))
32 #define GLADE_IS_BOX_EDITOR_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), GLADE_TYPE_BOX_EDITOR))
33 #define GLADE_BOX_EDITOR_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GLADE_TYPE_BOX_EDITOR, GladeBoxEditorClass))
34 
35 typedef struct _GladeBoxEditor        GladeBoxEditor;
36 typedef struct _GladeBoxEditorClass   GladeBoxEditorClass;
37 typedef struct _GladeBoxEditorPrivate GladeBoxEditorPrivate;
38 
39 struct _GladeBoxEditor
40 {
41   GladeEditorSkeleton  parent;
42 
43   GladeBoxEditorPrivate *priv;
44 };
45 
46 struct _GladeBoxEditorClass
47 {
48   GladeEditorSkeletonClass parent;
49 };
50 
51 GType            glade_box_editor_get_type (void) G_GNUC_CONST;
52 GtkWidget       *glade_box_editor_new      (void);
53 
54 G_END_DECLS
55 
56 #endif  /* _GLADE_BOX_EDITOR_H_ */
57