home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / gblanker36_src.lha / GSource.lha / GSource / libraries.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-06  |  593 b   |  22 lines

  1. #ifndef LIBRARIES_H
  2. #define LIBRARIES_H
  3.  
  4. #include <intuition/intuitionbase.h>
  5. #include <graphics/gfxbase.h>
  6.  
  7. extern struct Library *Libraries[];
  8. extern struct Library *SysBase;
  9.  
  10. #define DOSBase         ( Libraries[0] )
  11. #define IntuitionBase   (( struct IntuitionBase * )Libraries[1] )
  12. #define GfxBase         (( struct GfxBase * )Libraries[2] )
  13. #define IconBase        ( Libraries[3] )
  14. #define CxBase          ( Libraries[4] )
  15. #define GarshnelibBase  ( Libraries[5] )
  16. #define UtilityBase     ( Libraries[6] )
  17.  
  18. LONG OpenLibraries( VOID );
  19. VOID CloseLibraries( VOID );
  20.  
  21. #endif /* LIBRARIES_H */
  22.