
/* $Id: cmdlog.h,v 1.1.1.1 2003/11/04 23:34:56 mjames Exp $

   $Log: cmdlog.h,v $
   Revision 1.1.1.1  2003/11/04 23:34:56  mjames
   Imported into local repositrory

   Revision 1.8  2002/01/15 12:32:11  mjames
   DLL declarations put in

   Revision 1.7  2001/11/19 10:41:52  mjames
   Merged back DTC release

   Revision 1.6.2.1  2001/11/16 15:08:54  mjames
   Added a declaration of two exported functions, removed spaces

   Revision 1.6  2001/10/31 22:20:00  mjames
   Tidying up problematical comments caused by CVS
   'intelligent' comment guessing

   Revision 1.5  2001/07/09 09:41:21  mjames
   Tidied up

   Revision 1.4  2001/06/06 12:10:25  mjames
   Move from HPUX

   Revision 1.3  2001/01/04 21:26:54  mjames
   Modifications to add in the TCL style
   argument list to all of the functions
   .

   Revision 1.2  2001/01/02 07:53:52  mjames
   Made changes to allow for interface with TCL/Tk

   Revision 1.1.1.1  2000/10/19 21:58:35  mjames
   Mike put it here


Removed RCS log messages

 *  */

#pragma once
#include "cmdparse.h"
 
#if !defined _CMDPARSE
#error "Need CmdParse defined first"
#endif

typedef enum
{
        LOG_GENERAL,
        LOG_SUMMARY,
        LOG_ERROR
} EnumLogLevel;
typedef enum
{
        TRANSOFF,
        TRANSON,
        TRANSREAD
} EnumTrans;
typedef enum
{
        SETLOG,
        LOGNAMEREAD
} EnumLogFile;
extern void InitErrorLog (void);
extern void EndErrorLog (void);

__declspec(dllexport) extern void Log (EnumLogLevel LoggingLevel, char *Format, ...);
extern CommandMenu  const LoggingMenu;
extern int SetTrans (int x);
extern int CloseLog (void);

extern void LogSilent (void);
extern void LogVerbose (void);

/* string constant used around the place */

#include "version.h"
