mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
Ref T197, simulator info
* CSimulatorInfo only initialized once and not over and over again in plugin info * getSimulatorInfo() no longer virtual, as we can access the member CSimulatorInfo directly * display exact simualtor in FSX/P3D driver * renamed to identifierToSimulator and fixed typo "Identifier"
This commit is contained in:
@@ -52,12 +52,6 @@ namespace BlackSimPlugin
|
||||
this->connectOwnSignals();
|
||||
}
|
||||
|
||||
CSimulatorInfo CSimulatorEmulated::getSimulatorInfo() const
|
||||
{
|
||||
const CSwiftPluginSettings s = m_settings.get();
|
||||
return s.getEmulatedSimulator();
|
||||
}
|
||||
|
||||
bool CSimulatorEmulated::isTimeSynchronized() const
|
||||
{
|
||||
return m_timeSyncronized;
|
||||
|
||||
@@ -45,9 +45,6 @@ namespace BlackSimPlugin
|
||||
BlackMisc::Weather::IWeatherGridProvider *weatherGridProvider,
|
||||
QObject *parent = nullptr);
|
||||
|
||||
//! \copydoc BlackCore::CSimulatorCommon::getSimulatorInfo
|
||||
virtual BlackMisc::Simulation::CSimulatorInfo getSimulatorInfo() const override;
|
||||
|
||||
// functions implemented
|
||||
virtual bool isTimeSynchronized() const override;
|
||||
virtual bool connectTo() override;
|
||||
|
||||
Reference in New Issue
Block a user