blob: 872836dfb780abd4e6ef754a66c77c2d1b3ef4bf (
plain) (
blame)
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
|
#ifndef CONFIG_H
#define CONFIG_H
#include <QCoreApplication>
#include <QList>
struct ConfigOption;
class Config
{
public:
static const ConfigOption* const ALLOW_VM_EDIT;
static const ConfigOption* const AUTOQUIT;
static const ConfigOption* const BASEDIR;
static const ConfigOption* const CONFIG;
static const ConfigOption* const DEBUG;
static const ConfigOption* const DEFAULT_SESSION;
static const ConfigOption* const EXAM_MODE;
static const ConfigOption* const FULLSCREEN;
static const ConfigOption* const INSECURE;
static const ConfigOption* const LOCATIONS;
static const ConfigOption* const PVS;
static const ConfigOption* const PVS_CHECKED;
static const ConfigOption* const RUNSCRIPT;
static const ConfigOption* const WINDOW_SIZE;
static const ConfigOption* const DEFAULT_TAB;
static const ConfigOption* const THEME;
static const ConfigOption* const URL_BASE;
static const ConfigOption* const URL_LIST;
static const ConfigOption* const URL_NEWS;
static const ConfigOption* const URL_HELP;
static const ConfigOption* const XSESSION_PATH;
static const ConfigOption* const LOCATION_MODE;
static const ConfigOption* const TEMPLATE_MODE;
static const ConfigOption* const AUTOSTART_UUID;
static const ConfigOption* const NO_VTX;
static bool init(const QCoreApplication& app, const ConfigOption* const configFile);
static QString get(const ConfigOption* const option);
static bool isSet(const ConfigOption* const option);
private:
Config() {}
};
#endif // CONFIG_H
|