home *** CD-ROM | disk | FTP | other *** search
/ MACD 9 / MACD9.iso / Datatypes / BMPdt / source / classbase.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-05  |  1.3 KB  |  62 lines

  1. #ifndef CLASSBASE_H
  2. #define CLASSBASE_H
  3.  
  4. /*
  5. ** includes + classbase definition for the bmp.datatype!
  6. */
  7.  
  8. #define __NOLIBBASE__
  9. #define __USE_SYSBASE 42
  10.  
  11. #include <dos/dos.h>
  12. #include <exec/memory.h>
  13. #include <exec/execbase.h>
  14. #include <exec/resident.h>
  15. #include <graphics/gfx.h>
  16. #include <intuition/classes.h>
  17. #include <intuition/icclass.h>
  18. #include <datatypes/pictureclass.h>
  19. #include <datatypes/pictureclassext.h>
  20. #include <proto/datatypes.h>
  21. #include <proto/intuition.h>
  22. #include <proto/graphics.h>
  23. #include <proto/utility.h>
  24. #define DoSuperMethodA __stdargs DoSuperMethodA
  25. #include <proto/exec.h>
  26. #undef DoSuperMethodA
  27. #include <proto/dos.h>
  28.  
  29. /*
  30. ** (private!) class structure
  31. */
  32.  
  33. struct ClassBase {
  34.   struct Library          LibNode;
  35.   UWORD                   Pad1;
  36.   struct IClass          *PictureClass;
  37.   BPTR                    SegList;
  38.   struct Library         *SysBase,
  39.                          *DOSBase,
  40.                          *IntuitionBase,
  41.                          *GfxBase,
  42.                          *UtilityBase,
  43.                          *DataTypesBase,
  44.                          *SuperClassBase;
  45.   struct SignalSemaphore  LockSemaphore;
  46.   UWORD                   Pad2;
  47. };
  48.  
  49. /*
  50. ** special definitions for SAS/C + GCC
  51. */
  52.  
  53. #include "compiler.h"
  54.  
  55. /*
  56. **
  57. */
  58.  
  59. enum { FFR_MODE_READ=0,FFR_MODE_WRITE=1 };
  60.  
  61. #endif /* CLASSBASE_H */
  62.