Subversion Repositories Vertical

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 mjames 1
/* $Id: cmdlog.h,v 1.1.1.1 2003/11/04 23:34:56 mjames Exp $
2
 
3
   $Log: cmdlog.h,v $
4
   Revision 1.1.1.1  2003/11/04 23:34:56  mjames
5
   Imported into local repositrory
6
 
7
   Revision 1.8  2002/01/15 12:32:11  mjames
8
   DLL declarations put in
9
 
10
   Revision 1.7  2001/11/19 10:41:52  mjames
11
   Merged back DTC release
12
 
13
   Revision 1.6.2.1  2001/11/16 15:08:54  mjames
14
   Added a declaration of two exported functions, removed spaces
15
 
16
   Revision 1.6  2001/10/31 22:20:00  mjames
17
   Tidying up problematical comments caused by CVS
18
   'intelligent' comment guessing
19
 
20
   Revision 1.5  2001/07/09 09:41:21  mjames
21
   Tidied up
22
 
23
   Revision 1.4  2001/06/06 12:10:25  mjames
24
   Move from HPUX
25
 
26
   Revision 1.3  2001/01/04 21:26:54  mjames
27
   Modifications to add in the TCL style
28
   argument list to all of the functions
29
   .
30
 
31
   Revision 1.2  2001/01/02 07:53:52  mjames
32
   Made changes to allow for interface with TCL/Tk
33
 
34
   Revision 1.1.1.1  2000/10/19 21:58:35  mjames
35
   Mike put it here
36
 
37
 
38
Removed RCS log messages
39
 
40
 *  */
41
 
42
#pragma once
43
#include "cmdparse.h"
44
 
45
#if !defined _CMDPARSE
46
#error "Need CmdParse defined first"
47
#endif
48
 
49
typedef enum
50
{
51
        LOG_GENERAL,
52
        LOG_SUMMARY,
53
        LOG_ERROR
54
} EnumLogLevel;
55
typedef enum
56
{
57
        TRANSOFF,
58
        TRANSON,
59
        TRANSREAD
60
} EnumTrans;
61
typedef enum
62
{
63
        SETLOG,
64
        LOGNAMEREAD
65
} EnumLogFile;
66
extern void InitErrorLog (void);
67
extern void EndErrorLog (void);
68
 
69
__declspec(dllexport) extern void Log (EnumLogLevel LoggingLevel, char *Format, ...);
70
extern CommandMenu  const LoggingMenu;
71
extern int SetTrans (int x);
72
extern int CloseLog (void);
73
 
74
extern void LogSilent (void);
75
extern void LogVerbose (void);
76
 
77
/* string constant used around the place */
78
 
79
#include "version.h"