Added getInstallDir to Core Interface #4696
This commit is contained in:
parent
98bb9b3fb3
commit
5d770d4204
|
@ -39,6 +39,12 @@ QString CoreInterface::getProfileDir()
|
|||
return run(args);
|
||||
}
|
||||
|
||||
QString CoreInterface::getInstalledDir()
|
||||
{
|
||||
QStringList args("--get-installed-dir");
|
||||
return run(args);
|
||||
}
|
||||
|
||||
QString CoreInterface::getArch()
|
||||
{
|
||||
QStringList args("--get-arch");
|
||||
|
|
|
@ -26,6 +26,7 @@ public:
|
|||
|
||||
QString getPluginDir();
|
||||
QString getProfileDir();
|
||||
QString getInstalledDir();
|
||||
QString getArch();
|
||||
QString run(const QStringList& args, const QString& input = "");
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue