Mercurial > pidgin.yaz
comparison console/libgnt/gnt-skel.h @ 13850:0e1e59770cb0
[gaim-migrate @ 16308]
This is my first commit here. So don't yell at me if things get borked.
Also, I haven't looked at the auto-thingies yet. So don't puke at the
Makefiles.
Files in console/libgnt/ are for the 'Gaim/GObjectified Ncurses Toolkit'
library. Files in console/ uses libgaim and libgnt. Currently, only the
buddylist-ui is 'functional', ie. the buddy-list updates when someone
logs on or logs off. It still needs a lot of work.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 22 Jun 2006 08:33:54 +0000 |
parents | |
children | 5b288502a382 |
comparison
equal
deleted
inserted
replaced
13849:8d1c55309e3c | 13850:0e1e59770cb0 |
---|---|
1 #ifndef GNT_SKEL_H | |
2 #define GNT_SKEL_H | |
3 | |
4 #include "gnwidget.h" | |
5 #include "gn.h" | |
6 #include "gncolors.h" | |
7 #include "gnkeys.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 */ |