Mercurial > pidgin
comparison finch/libgnt/gnt-skel.h @ 15817:0e3a8505ebbe
renamed gaim-text to finch
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 18 Mar 2007 19:38:15 +0000 |
parents | |
children | f00f2e283ffb |
comparison
equal
deleted
inserted
replaced
15816:317e7613e581 | 15817:0e3a8505ebbe |
---|---|
1 #ifndef GNT_SKEL_H | |
2 #define GNT_SKEL_H | |
3 | |
4 #include "gntwidget.h" | |
5 #include "gnt.h" | |
6 #include "gntcolors.h" | |
7 #include "gntkeys.h" | |
8 | |
9 #define GNT_TYPE_SKEL (gnt_skel_get_gtype()) | |
10 #define GNT_SKEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_SKEL, GntSkel)) | |
11 #define GNT_SKEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_SKEL, GntSkelClass)) | |
12 #define GNT_IS_SKEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_SKEL)) | |
13 #define GNT_IS_SKEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_SKEL)) | |
14 #define GNT_SKEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_SKEL, GntSkelClass)) | |
15 | |
16 #define GNT_SKEL_FLAGS(obj) (GNT_SKEL(obj)->priv.flags) | |
17 #define GNT_SKEL_SET_FLAGS(obj, flags) (GNT_SKEL_FLAGS(obj) |= flags) | |
18 #define GNT_SKEL_UNSET_FLAGS(obj, flags) (GNT_SKEL_FLAGS(obj) &= ~(flags)) | |
19 | |
20 typedef struct _GnSkel GntSkel; | |
21 typedef struct _GnSkelPriv GntSkelPriv; | |
22 typedef struct _GnSkelClass GntSkelClass; | |
23 | |
24 struct _GnSkel | |
25 { | |
26 GntWidget parent; | |
27 }; | |
28 | |
29 struct _GnSkelClass | |
30 { | |
31 GntWidgetClass parent; | |
32 | |
33 void (*gnt_reserved1)(void); | |
34 void (*gnt_reserved2)(void); | |
35 void (*gnt_reserved3)(void); | |
36 void (*gnt_reserved4)(void); | |
37 }; | |
38 | |
39 G_BEGIN_DECLS | |
40 | |
41 GType gnt_skel_get_gtype(void); | |
42 | |
43 GntWidget *gnt_skel_new(); | |
44 | |
45 G_END_DECLS | |
46 | |
47 #endif /* GNT_SKEL_H */ |