Added getInstallDir to Core Interface #4696

This commit is contained in:
Adam Potolsky 2015-06-01 16:43:57 -07:00
parent 98bb9b3fb3
commit 5d770d4204
2 changed files with 7 additions and 0 deletions

View File

@ -39,6 +39,12 @@ QString CoreInterface::getProfileDir()
return run(args); return run(args);
} }
QString CoreInterface::getInstalledDir()
{
QStringList args("--get-installed-dir");
return run(args);
}
QString CoreInterface::getArch() QString CoreInterface::getArch()
{ {
QStringList args("--get-arch"); QStringList args("--get-arch");

View File

@ -26,6 +26,7 @@ public:
QString getPluginDir(); QString getPluginDir();
QString getProfileDir(); QString getProfileDir();
QString getInstalledDir();
QString getArch(); QString getArch();
QString run(const QStringList& args, const QString& input = ""); QString run(const QStringList& args, const QString& input = "");
}; };