Mercurial > pidgin
annotate finch/libgnt/gnt-skel.h @ 17518:eb018a3bfa56
merge of '6100ad71830416445898c91d595780f606c951cd'
and '664fd5981f910fa504153d2f8690764183f9a3e5'
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Wed, 06 Jun 2007 01:37:11 +0000 |
parents | f00f2e283ffb |
children | 8410511f4dbb |
rev | line source |
---|---|
15817 | 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 | |
15928
f00f2e283ffb
Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15817
diff
changeset
|
20 typedef struct _GntSkel GntSkel; |
f00f2e283ffb
Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15817
diff
changeset
|
21 typedef struct _GntSkelPriv GntSkelPriv; |
f00f2e283ffb
Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15817
diff
changeset
|
22 typedef struct _GntSkelClass GntSkelClass; |
15817 | 23 |
15928
f00f2e283ffb
Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15817
diff
changeset
|
24 struct _GntSkel |
15817 | 25 { |
26 GntWidget parent; | |
27 }; | |
28 | |
15928
f00f2e283ffb
Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15817
diff
changeset
|
29 struct _GntSkelClass |
15817 | 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 */ |