mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 11:05:44 +08:00
Ref T111, allow to alter plugin info (needed for dummy driver)
This commit is contained in:
committed by
Mathew Sutcliffe
parent
119351800c
commit
ba31171a10
@@ -115,6 +115,12 @@ namespace BlackCore
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CSimulatorCommon::setNewPluginInfo(const CSimulatorPluginInfo &info, const CAircraftModel &defaultModel)
|
||||||
|
{
|
||||||
|
m_simulatorPluginInfo = info;
|
||||||
|
m_defaultModel = defaultModel;
|
||||||
|
}
|
||||||
|
|
||||||
int CSimulatorCommon::maxAirportsInRange() const
|
int CSimulatorCommon::maxAirportsInRange() const
|
||||||
{
|
{
|
||||||
// might change in future or become a setting or such
|
// might change in future or become a setting or such
|
||||||
|
|||||||
@@ -156,6 +156,10 @@ namespace BlackCore
|
|||||||
virtual bool logicallyRemoveRemoteAircraft(const BlackMisc::Aviation::CCallsign &callsign) override;
|
virtual bool logicallyRemoveRemoteAircraft(const BlackMisc::Aviation::CCallsign &callsign) override;
|
||||||
//! @}
|
//! @}
|
||||||
|
|
||||||
|
//! New plugin info
|
||||||
|
//! \remark normally only used by
|
||||||
|
void setNewPluginInfo(const BlackMisc::Simulation::CSimulatorPluginInfo &info, const BlackMisc::Simulation::CAircraftModel &defaultModel);
|
||||||
|
|
||||||
//! Max.airports in range
|
//! Max.airports in range
|
||||||
int maxAirportsInRange() const;
|
int maxAirportsInRange() const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user