mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
Use simulator from plugin if plugin is connected
This commit is contained in:
committed by
Mat Sutcliffe
parent
19c9a51c38
commit
4c9654d81d
@@ -211,6 +211,11 @@ namespace BlackSimPlugin
|
||||
this->emitSimulatorCombinedStatus();
|
||||
}
|
||||
|
||||
CSimulatorInfo CSimulatorEmulated::getEmulatedSimulator() const
|
||||
{
|
||||
return m_pluginSettings.get().getEmulatedSimulator();
|
||||
}
|
||||
|
||||
bool CSimulatorEmulated::changeInternalCom(const CSimulatedAircraft &aircraft)
|
||||
{
|
||||
bool changed = false;
|
||||
|
||||
@@ -90,6 +90,9 @@ namespace BlackSimPlugin
|
||||
//! UI setter
|
||||
void setCombinedStatus(bool connected, bool simulating, bool paused);
|
||||
|
||||
//! The emulated simulated simulator
|
||||
BlackMisc::Simulation::CSimulatorInfo getEmulatedSimulator() const;
|
||||
|
||||
//! Internal own aircraft
|
||||
//! \remark normally used by corresponding BlackSimPlugin::Emulated::CSimulatorEmulatedMonitorDialog
|
||||
const BlackMisc::Simulation::CSimulatedAircraft &getInternalOwnAircraft() const { return m_myAircraft; }
|
||||
|
||||
Reference in New Issue
Block a user