blob: a2a8805e85f050d2bbca76bb2baf20fae5f7692a (
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
62
63
64
65
66
67
68
69
70
|
#ifndef VMCHOOSER_GLOBALS_H
#define VMCHOOSER_GLOBALS_H
#define VMCHOOSER_VERSION "0.1.0"
#define VMCHOOSER_PLUGIN_PATH "/opt/openslx/plugin-repo/vmchooser"
#define VMCHOOSER_BIN_PATH "/opt/openslx/bin"
#define VMCHOOSER_SCRIPTS_PATH "/opt/openslx/scripts"
#define VMCHOOSER_ETC_BASE_PATH "/opt/openslx/vmchooser/config"
#define VMCHOOSER_VMPATH "/mnt/vmstore"
#define VMCHOOSER_THEME_BASE "/opt/openslx/vmchooser/themes"
#define VMCHOOSER_X_SESSIONS_PATH "/usr/share/xsessions"
#define VMCHOOSER_SESSION_START_SCRIPT "/opt/openslx/vmchooser/sessionstart"
#define VMCHOOSER_DEFAULT_WIDTH 800
#define VMCHOOSER_DEFAULT_HEIGHT 600
#define OPENSLXCONFIG "/opt/openslx/config"
class QString;
class Session;
extern bool debugMode;
extern bool pvsEnabled;
extern int g_autoQuitSeconds;
extern QString binPath;
extern QString etcPath;
extern QString vSessionPath;
extern QString xSessionPath;
extern QString userPath;
extern QString runVmScript;
extern QString printerScript;
extern QString scannerScript;
// Script that is run before the xsession/vsession is started
extern QString sessionStartScript;
extern const QString globalConfFile;
extern const QString userConfFile;
extern const QString previousSessionFile;
extern QString pool;
extern QString theme;
extern QString basePath;
extern const QString iconsTempPath;
extern const QString xml_filename;
extern const QString help_backup_filename;
extern const QString news_backup_filename;
extern QString urlBase;
extern bool _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
|