Ref T171, Ref T136, renaming "swift driver" -> "emulated driver"

This commit is contained in:
Klaus Basan
2017-10-12 01:29:48 +02:00
parent 418d0aa628
commit ecc4789855
4 changed files with 8 additions and 8 deletions

View File

@@ -277,7 +277,7 @@ namespace BlackCore
setRemoteAircraftProvider(renderedAircraftProvider); setRemoteAircraftProvider(renderedAircraftProvider);
// use sim info from ISimulator as it can access the swift driver settings // use sim info from ISimulator as it can access the emulated driver settings
const CSimulatorInfo simInfo = simulator->getSimulatorInfo(); const CSimulatorInfo simInfo = simulator->getSimulatorInfo();
m_modelSetLoader.changeSimulator(simInfo); m_modelSetLoader.changeSimulator(simInfo);
m_aircraftMatcher.setModelSet(m_modelSetLoader.getAircraftModels(), simInfo); m_aircraftMatcher.setModelSet(m_modelSetLoader.getAircraftModels(), simInfo);

View File

@@ -62,7 +62,7 @@ namespace BlackMisc
//! Simulator info object //! Simulator info object
BlackMisc::Simulation::CSimulatorInfo getSimulatorInfo() const; BlackMisc::Simulation::CSimulatorInfo getSimulatorInfo() const;
//! Is this the pseudo swift driver? //! Is this the emulated driver?
bool isEmulatedPlugin() const; bool isEmulatedPlugin() const;
//! Description //! Description

View File

@@ -186,10 +186,10 @@ namespace BlackSimPlugin
void CSimulatorEmulated::registerHelp() void CSimulatorEmulated::registerHelp()
{ {
if (BlackMisc::CSimpleCommandParser::registered("BlackSimPlugin::Swift::CSimulatorEmulated")) { return; } if (CSimpleCommandParser::registered("BlackSimPlugin::Swift::CSimulatorEmulated")) { return; }
BlackMisc::CSimpleCommandParser::registerCommand({".drv", "alias: .driver .plugin"}); CSimpleCommandParser::registerCommand({".drv", "alias: .driver .plugin"});
BlackMisc::CSimpleCommandParser::registerCommand({".drv show", "show swift driver window"}); CSimpleCommandParser::registerCommand({".drv show", "show emulated driver window"});
BlackMisc::CSimpleCommandParser::registerCommand({".drv hide", "hide swift driver window"}); CSimpleCommandParser::registerCommand({".drv hide", "hide emulated driver window"});
} }
void CSimulatorEmulated::setCombinedStatus(bool connected, bool simulating, bool paused) void CSimulatorEmulated::setCombinedStatus(bool connected, bool simulating, bool paused)

View File

@@ -69,8 +69,8 @@ namespace BlackSimPlugin
//! \addtogroup swiftdotcommands //! \addtogroup swiftdotcommands
//! @{ //! @{
//! <pre> //! <pre>
//! .drv show show swift driver window BlackSimPlugin::Swift::CSimulatorEmulated //! .drv show show emulated driver window BlackSimPlugin::Swift::CSimulatorEmulated
//! .drv hide hide swift driver window BlackSimPlugin::Swift::CSimulatorEmulated //! .drv hide hide emulated driver window BlackSimPlugin::Swift::CSimulatorEmulated
//! </pre> //! </pre>
//! @} //! @}
//! \copydoc BlackCore::ISimulator::parseCommandLine //! \copydoc BlackCore::ISimulator::parseCommandLine