blob: c21598aa207ee444825276cbe94f0f7147a2d795 (
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
|
#include <QDir>
#include <QString>
#include "globals.h"
#include "session.h"
static const QString userPath(QDir::homePath() + "/.config/openslx");
const QString SESSION_START_SCRIPT(VMCHOOSER_SESSION_START_SCRIPT);
const QString CONFIG_FILE_USER(userPath + "/vmchooser.conf");
const QString CONFIG_FILE_XSESSIONS("/opt/openslx/vmchooser/config/xsessions.conf");
const QString PREVIOUS_SESSION_USER(userPath + "/vmchooser2.ini");
bool g_debugMode = false;
bool g_fullscreen = false;
int g_autoQuitSeconds = 0;
const QString TEMP_PATH_ICONS("/tmp/vmchooser2/icons/");
const QString TEMP_PATH_XML_LIST("/tmp/vmchooser2/vmchooser2.xml");
const QString TEMP_PATH_HELP("/tmp/vmchooser2/vmchooser2_help.xml");
const QString TEMP_PATH_NEWS("/tmp/vmchooser2/vmchooser2_news.xml");
int g_templateHandling = TEMPLATES_IGNORE;
int g_forLocationHandling = LOCATION_BUMP;
bool g_noVtx = false;
bool myLessThan(Session* a, Session* b) {
return *a < *b;
}
|