#ifndef LIBRARIES_H
#define LIBRARIES_H

#include <intuition/intuitionbase.h>

extern STRPTR LibNames[];
extern LONG LibVersions[];
extern struct Library *Libraries[];

#define DOSBase         ( Libraries[0] )
#define IntuitionBase   (( struct IntuitionBase * )Libraries[1] )
#define GfxBase         ( Libraries[2] )
#define CxBase          ( Libraries[3] )
#define GarshnelibBase  ( Libraries[4] )
#define GadToolsBase    ( Libraries[5] )
#define UtilityBase     ( Libraries[6] )
#define IconBase        ( Libraries[7] )

LONG OpenLibraries( VOID );
VOID CloseLibraries( VOID );

#endif /* LIBRARIES_H */
