blob: 4b383770b0b856c43ccaae1d827f87dff55f5e03 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
#ifndef VMCHOOSER_GLOBALS_H
#define VMCHOOSER_GLOBALS_H
#define VMCHOOSER_VERSION "2.1.0"
#define VMCHOOSER_SESSION_START_SCRIPT "/opt/openslx/vmchooser/sessionstart"
#define VMCHOOSER_THEME_BASE "/opt/openslx/vmchooser/themes"
#define VMCHOOSER_DEFAULT_WIDTH 800
#define VMCHOOSER_DEFAULT_HEIGHT 600
#include <QString>
class Session;
extern bool g_debugMode;
extern bool g_pvsEnabled;
extern bool g_pvsChecked;
extern int g_autoQuitSeconds;
extern bool g_allowVmEdit;
extern QString g_xSessionPath;
extern QString g_runVmScript;
extern QString printerScript;
extern QString scannerScript;
// Script that is run before the xsession/vsession is started
extern const QString SESSION_START_SCRIPT;
extern const QString CONFIG_FILE_GLOBAL;
extern const QString CONFIG_FILE_USER;
extern const QString CONFIG_FILE_XSESSIONS;
extern const QString PREVIOUS_SESSION_USER;
extern QString g_currentPoolName;
extern QString g_themeName;
extern QString g_vmBasePath;
extern const QString TEMP_PATH_ICONS;
extern const QString TEMP_PATH_XML_LIST;
extern const QString TEMP_PATH_HELP;
extern const QString TEMP_PATH_NEWS;
extern QString g_urlBase;
extern bool g_fullscreen;
#define TEMPLATES_IGNORE (0)
#define TEMPLATES_BUMP (1)
extern int g_templateHandling;
#define LOCATION_IGNORE (0)
#define LOCATION_BUMP (1)
#define LOCATION_EXCLUSIVE (2)
extern int g_forLocationHandling;
extern bool g_noVtx;
bool myLessThan(Session* a, Session* b);
#endif
|