home *** CD-ROM | disk | FTP | other *** search
/ World of A1200 / World_Of_A1200.iso / programs / develop / gadtoolsbox / gengtxsource / source / globals.c < prev    next >
C/C++ Source or Header  |  1995-02-27  |  3KB  |  94 lines

  1. /*
  2. **      $Filename: Globals.c $
  3. **      $Release: 1.0 $
  4. **      $Revision: 38.4 $
  5. **
  6. **      Global data.
  7. **
  8. **      (C) Copyright 1992 Jaba Development.
  9. **          Written by Jan van den Baard.
  10. **/
  11.  
  12. #include "GenGTXSource.h"
  13.  
  14. /*
  15.  *      Make these visible to all modules.
  16.  */
  17. Prototype struct GTXBase        *GTXBase;
  18. Prototype struct IntuitionBase  *IntuitionBase;
  19. Prototype struct Library        *NoFragBase;
  20. Prototype struct Library        *GfxBase;
  21. Prototype struct Library        *GadToolsBase;
  22. Prototype struct Library        *UtilityBase;
  23. Prototype struct Library        *LocaleBase;
  24. Prototype struct RDArgs         *SArgs;
  25. Prototype struct ShellArgs       Arguments;
  26. Prototype BPTR                   MainSource, Header, Protos, Templates, Locale, stdOut;
  27. Prototype struct GadToolsConfig  MainConfig;
  28. Prototype struct GenC            SourceConfig;
  29. Prototype struct WindowList      Windows;
  30. Prototype GUIDATA                GuiInfo;
  31. Prototype ULONG                  ValidBits;
  32. Prototype struct MemoryChain    *Chain;
  33. Prototype UBYTE                 *Template;
  34. Prototype struct StringList      Strings;
  35. Prototype struct ArrayList       Arrays;
  36. Prototype struct Catalog        *Catalog;
  37.  
  38. /*
  39.  *      Program libraries.
  40.  */
  41. struct GTXBase                  *GTXBase            =   NULL;
  42. struct IntuitionBase            *IntuitionBase      =   NULL;
  43. struct Library                  *NoFragBase         =   NULL;
  44. struct Library                  *GfxBase            =   NULL;
  45. struct Library                  *GadToolsBase       =   NULL;
  46. struct Library                  *UtilityBase        =   NULL;
  47. struct Library                  *LocaleBase         =   NULL;
  48.  
  49. /*
  50.  *      Locale stuff.
  51.  */
  52. struct Catalog                  *Catalog            =   NULL;
  53.  
  54. /*
  55.  *      Program startup via Shell.
  56.  */
  57. struct RDArgs                   *SArgs              =   NULL;
  58. struct ShellArgs                 Arguments;
  59.  
  60. /*
  61.  *      Source output streams.
  62.  */
  63. BPTR                             MainSource         =   NULL;
  64. BPTR                             Header             =   NULL;
  65. BPTR                             Protos             =   NULL;
  66. BPTR                             Locale             =   NULL;
  67. BPTR                             stdOut             =   NULL;
  68.  
  69. /*
  70.  *      GUI file storage space.
  71.  */
  72. struct GadToolsConfig            MainConfig;
  73. struct GenC                      SourceConfig;
  74. struct WindowList                Windows;
  75. GUIDATA                          GuiInfo;
  76. ULONG                            ValidBits;
  77.  
  78. /*
  79.  *      NoFrag memory chains.
  80.  */
  81. struct MemoryChain              *Chain              =   NULL;
  82.  
  83. /*
  84.  *      Version string and ReadArgs() template.
  85.  */
  86. Local UBYTE                      VString[] = { "\0$VER: GenGTXSource 38.183 (18.1.93)" };
  87. UBYTE                           *Template = "NAME/A,TO/A,BUILTIN/K,CATALOG/K/A,PREPEND/K,VERSION/K/N,QUIET/S";
  88.  
  89. /*
  90.  *      For the "smart-string" system.
  91.  */
  92. struct StringList                Strings;
  93. struct ArrayList                 Arrays;
  94.