refs #917, validate simulator setting

This commit is contained in:
Klaus Basan
2017-03-19 11:40:00 +01:00
committed by Mathew Sutcliffe
parent f816c927ee
commit d214739912
3 changed files with 28 additions and 0 deletions

View File

@@ -74,6 +74,18 @@ namespace BlackMisc
return s;
}
const QStringList &CSimulatorPluginInfo::allIdentifiers()
{
static const QStringList identifiers(
{
fsxPluginIndentifier(),
p3dPluginIndentifier(),
xplanePluginIndentifier(),
fs9PluginIndentifier()
});
return identifiers;
}
QStringList CSimulatorPluginInfo::guessDefaultPlugins()
{
if (BlackConfig::CBuildConfig::isRunningOnUnixPlatform())