home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #3 / amigamamagazinepolishissue1998.iso / bazy / carcosts / source / demo.h < prev    next >
C/C++ Source or Header  |  1996-11-02  |  1KB  |  65 lines

  1. /*************************************************************/
  2. /* Includes and other common stuff for the MUI demo programs */
  3. /*************************************************************/
  4.  
  5. /* MUI */
  6. #include <libraries/mui.h>
  7.  
  8. /* System */
  9. #include <dos.h>
  10. #include <dos/dos.h>
  11. #include <graphics/gfxmacros.h>
  12. #include <workbench/workbench.h>
  13.  
  14. /* Prototypes */
  15. #include <clib/alib_protos.h>
  16. #include <clib/exec_protos.h>
  17. #include <clib/dos_protos.h>
  18. #include <clib/icon_protos.h>
  19. #include <clib/graphics_protos.h>
  20. #include <clib/intuition_protos.h>
  21. #include <clib/gadtools_protos.h>
  22. #include <clib/muimaster_protos.h>
  23. #include <clib/asl_protos.h>
  24.  
  25. #include <proto/intuition.h>
  26. #include <proto/graphics.h>
  27.  
  28. /* ANSI C */
  29. #include <stdlib.h>
  30. #include <string.h>
  31. #include <stdio.h>
  32.  
  33.  
  34. /* Compiler specific stuff */
  35.  
  36. #ifdef _DCC
  37.  
  38. #define REG(x) __ ## x
  39. #define ASM
  40. #define SAVEDS __geta4
  41.  
  42. #else
  43.  
  44. #define REG(x) register __ ## x
  45. #define ASM    __asm
  46. #define SAVEDS __saveds
  47.  
  48. #include <pragmas/exec_pragmas.h>
  49. #include <pragmas/dos_pragmas.h>
  50. #include <pragmas/icon_pragmas.h>
  51. #include <pragmas/graphics_pragmas.h>
  52. #include <pragmas/intuition_pragmas.h>
  53. #include <pragmas/gadtools_pragmas.h>
  54. #include <pragmas/muimaster_pragmas.h>
  55. #include <pragmas/asl_pragmas.h>
  56.  
  57. extern struct Library *UtilityBase,*DOSBase,*IconBase;
  58. extern struct IntuitionBase *IntuitionBase;
  59. extern struct GfxBase       *GfxBase;
  60.  
  61. //static struct Library *MUIMasterBase;
  62.  
  63. #endif
  64.  
  65.