mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-02 07:05:38 +08:00
Ref T171, Ref T136, renaming "swift driver" -> "emulated driver"
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user