-
Notifications
You must be signed in to change notification settings - Fork 0
/
shared.h
executable file
·83 lines (59 loc) · 1.71 KB
/
shared.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/*
* shared.h
*
* Created on: 31.07.2008
*/
#ifndef SHARED_H_
#define SHARED_H_
#include "options.h"
////////////////////////////////////////////////////////////////////////////////
#define ToolOptionID 100
enum ToolState
{
TOS_UNKNOWN,
TOS_FOUND,
TOS_NOTFOUND,
TOS_SEVERAL
};
class ToolSettings : public Options
{
public:
ToolSettings();
Option doxPath, perlPath, latexPath, makeindexPath,
dotPath, mscgenPath, hhcPath, qhpPath;
Option defaultsForNewTools, defaultsForOpenTools;
QString getDoxygenVersion();
protected:
void setupPathFind(Option &op, const QString &_id, const QString &_path, const QString &_def, int _numId);
};
extern ToolSettings toolSettings;
////////////////////////////////////////////////////////////////////////////////
class MsgSettings : public Options
{
public:
MsgSettings();
Option defaultsForNewMsg, defaultsForOpenMsg;
Option quiet, warnings, warnUndocMember, warnError, warnUndocParam,
warnFormat, warnLogFile;
};
extern MsgSettings msgSettings;
////////////////////////////////////////////////////////////////////////////////
struct OutOption
{
QString PATH_DIR, PATH_FILE;
bool PATH_DIR_EXISTS, PATH_FILE_EXISTS;
};
class OutputFormats
{
public:
OutputFormats();
void checkPath();
OutOption commonOutput;
OutOption htmlOutput, chmOutput, latexOutput, rtfOutput, defOutput, perlOutput,
manOutput, xmlOutput, qhpOutput;
protected:
QList<OutOption*> myOptions;
};
extern OutputFormats outputs;
////////////////////////////////////////////////////////////////////////////////
#endif /* SHARED_H_ */