added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / arch / .unmaintained / amiga / workbench / hidds / graphics / intuition / graphics_intern.h
blobf63f7f9600d156239bc2a9d813ef7bc9ef164d25
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef GRAPHICS_HIDD_INTERN_H
7 #define GRAPHICS_HIDD_INTERN_H
9 /* Include files */
11 #ifndef EXEC_LIBRARIES_H
12 # include <exec/libraries.h>
13 #endif
14 #ifndef OOP_OOP_H
15 # include <oop/oop.h>
16 #endif
17 #ifndef HIDD_GRAPHICS_H
18 # include <hidd/graphics.h>
19 #endif
20 #include <dos/dos.h>
21 #include <intuition/screens.h>
24 struct HIDDGraphicsAmigaIntuiData
26 Class *bitMapClass; /* bitmap class */
27 Class *gcClass; /* graphics context */
31 struct HIDDBitMapAmigaIntuiData
33 struct Screen *screen;
36 struct class_static_data
38 struct ExecBase * sysbase;
39 struct Library * utilitybase;
40 struct Library * oopbase;
41 struct Library * intuitionbase;
42 struct Library * superclassbase; /* graphics hidd superclass */
44 Class *gfxhiddclass; /* graphics hidd class */
45 Class *bitmapclass; /* bitmap class */
46 Class *gcclass; /* graphics context class */
50 /* Library base */
52 struct IntHIDDGraphicsAmigaIntuiBase
54 struct Library hdg_LibNode;
55 struct ExecBase *hdg_SysBase;
56 struct Library *hdg_UtilityBase;
57 BPTR hdg_SegList;
59 struct class_static_data *hdg_csd;
63 #define CSD(x) ((struct class_static_data *)x)
65 #undef SysBase
66 #define SysBase (CSD(cl->UserData)->sysbase)
68 #undef UtilityBase
69 #define UtilityBase (CSD(cl->UserData)->utilitybase)
71 #undef OOPBase
72 #define OOPBase (CSD(cl->UserData)->oopbase)
74 #undef IntuitionBase
75 #define IntuitionBase (CSD(cl->UserData)->intuitionbase)
77 /* pre declarations */
79 Class *init_gfxhiddclass(struct class_static_data *csd);
80 void free_gfxhiddclass(struct class_static_data *csd);
82 Class *init_bitmapclass(struct class_static_data *csd);
83 void free_bitmapclass(struct class_static_data *csd);
85 #endif /* GRAPHICS_HIDD_INTERN_H */