/*
**      $Filename: Globals.c $
**      $Release: 1.0 $
**      $Revision: 37.1 $
**
**      Global data.
**
**      (C) Copyright 1993 Kai Bolay.
**          Written by Kai Bolay & Jan van den Baard.
**/

#include "GenOberon.h"

/*
**      Make these visible to all modules.
**/
Prototype struct GTXBase        *GTXBase;
Prototype struct IntuitionBase  *IntuitionBase;
Prototype struct Library        *NoFragBase;
Prototype struct Library        *GfxBase;
Prototype struct Library        *GadToolsBase;
Prototype struct Library        *UtilityBase;
Prototype struct Library        *LocaleBase;
Prototype struct Library        *DiskfontBase;
Prototype struct RDArgs         *SArgs;
Prototype struct ShellArgs       Arguments;
Prototype BPTR                   stdOut;
Prototype struct MemoryChain    *Chain;
Prototype GUIDATA                GuiData;
Prototype struct GadToolsConfig  MainConfig;
Prototype struct WindowList      Projects;
Prototype ULONG                  ValidBits;
Prototype struct ObConfig        ObConfig;
Prototype BOOL                   GetFileInWindow, JoinedInWindow, ListViewLists, GetFilePresent;

/*
**      Program libraries.
**/
struct GTXBase                  *GTXBase            =   NULL;
struct IntuitionBase            *IntuitionBase      =   NULL;
struct Library                  *NoFragBase         =   NULL;
struct Library                  *GfxBase            =   NULL;
struct Library                  *GadToolsBase       =   NULL;
struct Library                  *UtilityBase        =   NULL;
struct Library                  *LocaleBase         =   NULL;
struct Library                  *DiskfontBase       =   NULL;

/*
**      Program startup via Shell.
**/
struct RDArgs                   *SArgs              =   NULL;
struct ShellArgs                 Arguments;

/*
**      Shell output stream.
**/
BPTR                             stdOut             =   NULL;

/*
**      NoFrag memory chain.
**/
struct MemoryChain              *Chain              =   NULL;

/*
**      Version string.
**/
Local UBYTE                      VString[] = { "\0$VER: GenOberon 37.9 (10.4.93)" };

/*
**      GUI loader storage.
**/
GUIDATA                          GuiData;
struct GadToolsConfig            MainConfig;
struct WindowList                Projects;
ULONG                            ValidBits;
struct ObConfig                  ObConfig;
BOOL                             GetFileInWindow=FALSE, JoinedInWindow=FALSE, ListViewLists=FALSE, GetFilePresent=FALSE;
