blob: 3b4f344d4b65f75726571930d3290a36edfcfb40 (
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
|
#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_X_SESSIONS_PATH "/usr/share/xsessions"
#define RUN_VIRT_PATH "/opt/openslx/scripts/vmchooser-run_virt"
#define CONFIG_FILE_GLOBAL "/opt/openslx/vmchooser/config/vmchooser.conf"
#define VMCHOOSER_DEFAULT_WIDTH 800
#define VMCHOOSER_DEFAULT_HEIGHT 600
#include <QString>
class Session;
extern bool g_debugMode;
extern bool g_fullscreen;
extern int g_autoQuitSeconds;
// Script that is run before the xsession/vsession is started
extern const QString SESSION_START_SCRIPT;
extern const QString CONFIG_FILE_XSESSIONS;
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;
#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
|