Ref T111, renamed dummy driver to CSimulatorEmulated

This commit is contained in:
Klaus Basan
2017-08-05 18:22:56 +02:00
committed by Mathew Sutcliffe
parent 2ede2633b8
commit b70fb70d60
22 changed files with 158 additions and 159 deletions

View File

@@ -65,6 +65,5 @@ namespace BlackMisc
if (sim.xplane()) { sims.push_back(CSimulatorInfo(CSimulatorInfo::XPLANE)); }
return sims;
}
} // namespace
} // namespace

View File

@@ -50,9 +50,9 @@ namespace BlackMisc
return CSimulatorInfo(getSimulator());
}
bool CSimulatorPluginInfo::isSwiftPlugin() const
bool CSimulatorPluginInfo::isEmulatedPlugin() const
{
return this->getIdentifier() == swiftPluginIndentifier();
return this->getIdentifier() == emulatedPluginIndentifier();
}
QString CSimulatorPluginInfo::convertToQString(bool i18n) const
@@ -85,9 +85,9 @@ namespace BlackMisc
return s;
}
const QString &CSimulatorPluginInfo::swiftPluginIndentifier()
const QString &CSimulatorPluginInfo::emulatedPluginIndentifier()
{
static const QString s("org.swift-project.plugins.simulator.swift");
static const QString s("org.swift-project.plugins.simulator.emulated");
return s;
}
@@ -99,7 +99,7 @@ namespace BlackMisc
p3dPluginIndentifier(),
xplanePluginIndentifier(),
fs9PluginIndentifier(),
swiftPluginIndentifier()
emulatedPluginIndentifier()
});
return identifiers;
}

View File

@@ -63,7 +63,7 @@ namespace BlackMisc
BlackMisc::Simulation::CSimulatorInfo getSimulatorInfo() const;
//! Is this the pseudo swift driver?
bool isSwiftPlugin() const;
bool isEmulatedPlugin() const;
//! Description
const QString &getDescription() const { return m_description; }
@@ -83,8 +83,8 @@ namespace BlackMisc
//! Plugin identifier (XPlane)
static const QString &xplanePluginIndentifier();
//! Plugin identifier (swift pseudo driver)
static const QString &swiftPluginIndentifier();
//! Plugin identifier (emulated simulator plugin)
static const QString &emulatedPluginIndentifier();
//! All valid identifiers
static const QStringList &allIdentifiers();