summaryrefslogblamecommitdiffstats
path: root/src/Globals.cpp
blob: 5df8942797ec4a02158d5ad11edb14374f097d3d (plain) (tree)


































                                                                           



                        
/*
 * 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 pvsEnabled = false;

QString pool;
QString theme;