utility: Headless Coati

switch from qt to boost commandlineoptions
coati can now parse a coatiproject without gui with commandline flag -d
show all commandline options with flag --hidden
This commit is contained in:
Andreas Stallinger
2016-03-07 16:38:53 +01:00
parent b761db9b22
commit fec17e452d
19 changed files with 455 additions and 174 deletions
+4 -8
View File
@@ -2,21 +2,17 @@
#include "AppPath.h"
std::string ResourcePaths::m_colorSchemesPath = AppPath::getAppPath() + "data/color_schemes/";
std::string ResourcePaths::m_fontsPath = AppPath::getAppPath() + "data/fonts/";
std::string ResourcePaths::m_guiPath = AppPath::getAppPath() + "data/gui/";
std::string ResourcePaths::getColorSchemesPath()
{
return m_colorSchemesPath;
return AppPath::getAppPath() + "data/color_schemes/";
}
std::string ResourcePaths::getFontsPath()
{
return m_fontsPath;
return AppPath::getAppPath() + "data/fonts/";
}
std::string ResourcePaths::getGuiPath()
{
return m_guiPath;
}
return AppPath::getAppPath() + "data/gui/";
}
+1 -6
View File
@@ -9,11 +9,6 @@ public:
static std::string getColorSchemesPath();
static std::string getFontsPath();
static std::string getGuiPath();
private:
static std::string m_colorSchemesPath;
static std::string m_fontsPath;
static std::string m_guiPath;
};
#endif // RESOURCE_PATHS_H
#endif // RESOURCE_PATHS_H