diff options
Diffstat (limited to 'src/Globals.cpp')
-rw-r--r-- | src/Globals.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/Globals.cpp b/src/Globals.cpp new file mode 100644 index 0000000..9100ebb --- /dev/null +++ b/src/Globals.cpp @@ -0,0 +1,40 @@ +/* + * Copyright (c) 2010,2011 - RZ Uni Freiburg + * Copyright (c) 2010,2011 - OpenSLX Project + * + * This program/file is free software distributed under the GPL version 2. + * See http://gpl.openslx.org/ + * + * If you have any feedback please consult http://feedback.openslx.org/ and + * send your feedback to feedback@openslx.org + * + * General information about OpenSLX - libChooser can be found under + * http://openslx.org + * + */ + +#include <QDir> +#include <QString> +#include "Globals.h" + +//QString binPath(QApplication::applicationDirPath()); +QString binPath(EMUCHOOSER_BIN_PATH); +QString etcPath(EMUCHOOSER_ETC_BASE_PATH); +QString vSessionPath(EMUCHOOSER_VMPATH); +QString xSessionPath(EMUCHOOSER_X_SESSIONS_PATH); +QString userPath(QDir::homePath() + "/.openslx"); + +QString runVmScript(binPath + "/run-virt.sh"); +QString filterScript(binPath + "/xmlfilter.sh"); +QString printerScript(etcPath + "/printer.sh"); +QString scannerScript(etcPath + "/scanner.sh"); + +const QString globalConfFile(etcPath + "/emuchooser.conf"); +const QString userConfFile(userPath + "/emuchooser.conf"); +const QString previousSessionFile(userPath + "/emuchooser_prev_session"); + +bool debugMode = false; +bool pvsEnabled = false; + +QString pool; +QString theme; |