Update.
[gnt.git] / gnt-skel.h
blobe409383e6feec0d8331e8df648b62dda5abba4f0
1 /**
2 * @file gnt-skel.h -skel API
3 * @ingroup gnt
4 */
5 /*
6 * GNT - The GLib Ncurses Toolkit
8 * GNT is the legal property of its developers, whose names are too numerous
9 * to list here. Please refer to the COPYRIGHT file distributed with this
10 * source distribution.
12 * This library is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
27 #ifndef GNT_SKEL_H
28 #define GNT_SKEL_H
30 #include "gntwidget.h"
31 #include "gnt.h"
32 #include "gntcolors.h"
33 #include "gntkeys.h"
35 #define GNT_TYPE_SKEL (gnt_skel_get_gtype())
36 #define GNT_SKEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_SKEL, GntSkel))
37 #define GNT_SKEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_SKEL, GntSkelClass))
38 #define GNT_IS_SKEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_SKEL))
39 #define GNT_IS_SKEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_SKEL))
40 #define GNT_SKEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_SKEL, GntSkelClass))
42 typedef struct _GntSkel GntSkel;
43 typedef struct _GntSkelPriv GntSkelPriv;
44 typedef struct _GntSkelClass GntSkelClass;
46 struct _GntSkel
48 GntWidget parent;
51 struct _GntSkelClass
53 GntWidgetClass parent;
55 void (*gnt_reserved1)(void);
56 void (*gnt_reserved2)(void);
57 void (*gnt_reserved3)(void);
58 void (*gnt_reserved4)(void);
61 G_BEGIN_DECLS
63 /**
66 * @return
68 GType gnt_skel_get_gtype(void);
70 /**
73 * @return
75 GntWidget * gnt_skel_new();
77 G_END_DECLS
79 #endif /* GNT_SKEL_H */