home *** CD-ROM | disk | FTP | other *** search
/ YPA: Your Privacy Assured / YPA.ISO / other_goodies / utilities / amigaguid.lha / AmigaGuide / AG_V39 / Source / HyperBrowser / globaldata.h < prev    next >
C/C++ Source or Header  |  1993-01-08  |  1KB  |  40 lines

  1. /* globaldata.h
  2.  *
  3.  * (c) Copyright 1992 Commodore-Amiga, Inc.  All rights reserved.
  4.  *
  5.  * This software is provided as-is and is subject to change; no warranties
  6.  * are made.  All use is at your own risk.  No liability or responsibility
  7.  * is assumed.
  8.  *
  9.  */
  10.  
  11. struct GlobalData
  12. {
  13.     struct Library        *gd_DOSBase;
  14.     struct Library        *gd_UtilityBase;
  15.     struct GfxBase        *gd_GfxBase;
  16.     struct IntuitionBase    *gd_IntuitionBase;
  17.     struct Library        *gd_AmigaGuideBase;
  18.  
  19.     struct Process        *gd_Process;        /* Our process address */
  20.     struct Screen        *gd_Screen;        /* Screen that our application will open on */
  21.     LONG             gd_NHID;        /* Unique id */
  22.     ULONG             gd_NHFlags;        /* Help related flags */
  23.     UBYTE             gd_NHName[64];        /* Unique name */
  24.     struct Hook             gd_NHHook;        /* Dynamic node host hook */
  25.     struct AmigaGuideHost    *gd_NH;            /* Dynamic node host */
  26.     AMIGAGUIDECONTEXT         gd_AmigaGuide;        /* Pointer to the AmigaGuide context */
  27.     struct NewAmigaGuide     gd_NAG;        /* Used to start AmigaGuide */
  28.     UBYTE             gd_Buffer[1024];    /* Temporary buffer */
  29.     UBYTE             gd_FBuffer[512];    /* Temporary string buffer */
  30.     UBYTE             gd_Node[12288];    /* Node buffer */
  31. };
  32.  
  33. /*****************************************************************************/
  34.  
  35. #define    DOSBase             gd->gd_DOSBase
  36. #define    UtilityBase         gd->gd_UtilityBase
  37. #define    GfxBase             gd->gd_GfxBase
  38. #define    IntuitionBase         gd->gd_IntuitionBase
  39. #define    AmigaGuideBase         gd->gd_AmigaGuideBase
  40.