/* ===========================================================================

 MANUALS.H    Global variables and functions for MANUALS 

=============================================================================*/
#ifndef MANUALS_H
#define MANUALS_H

#ifdef MANUALS_ALLOCATE
#define EXTERN
#else
#define EXTERN extern
#endif

/*****************************************
** Global Legacy Variables
** Set these variables in tsswitch.C
****************************************/
EXTERN Widget       UxTopLevel;
EXTERN Display      *UxDisplay;
EXTERN int          UxScreen;
EXTERN XtAppContext UxAppContext;

/****************************************
** Globlal User Created Variables
** Set these variables in tsswitch.C
****************************************/
EXTERN Display      *mainDisplay;
EXTERN int          mainScreen;
EXTERN XtAppContext appContext;

/****************************************
** Global UIL Created Functions
******************************************/
Widget CreatemanMainWinWgt(Widget parent);


/****************************************
** Global USER Created Classes
******************************************/

class Manuals 
{
   private :
      void usage(void);
      void checkManualsEnvVars(void);
   public :
      void init(void);
      void setIrisManuals(UINT2 liris_manuals_a);
      void checkArgs(int argc, char *argv[]);
      void startWVHelp(void);
};
EXTERN Manuals manuals;



#undef EXTERN
#endif

