mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 23:35:33 +08:00
Ref T171, Ref T136, removed the remote provider's "remove aircraft part", as it is not used:
* remove is handled by context call logicallyRemoveRemoteAircraft * so far no need to use the remote provider function * can be used again whenever needed
This commit is contained in:
@@ -539,11 +539,6 @@ namespace BlackCore
|
||||
Q_UNUSED(parts);
|
||||
}
|
||||
|
||||
void CSimulatorCommon::onRemoteProviderRemovedAircraft(const CCallsign &callsign)
|
||||
{
|
||||
Q_UNUSED(callsign);
|
||||
}
|
||||
|
||||
void CSimulatorCommon::reset()
|
||||
{
|
||||
m_statsUpdateAircraftCountMs = 0;
|
||||
@@ -596,8 +591,8 @@ namespace BlackCore
|
||||
|
||||
void CSimulatorCommon::rapOnRemoteProviderRemovedAircraft(const CCallsign &callsign)
|
||||
{
|
||||
if (!this->isConnected()) return;
|
||||
this->onRemoteProviderRemovedAircraft(callsign);
|
||||
Q_UNUSED(callsign);
|
||||
// currently not used, the calls are handled by context call logicallyRemoveRemoteAircraft
|
||||
}
|
||||
|
||||
void CSimulatorCommon::callPhysicallyAddRemoteAircraft(const CSimulatedAircraft &remoteAircraft)
|
||||
|
||||
@@ -152,9 +152,6 @@ namespace BlackCore
|
||||
|
||||
//! Provider added parts
|
||||
virtual void onRemoteProviderAddedAircraftParts(const BlackMisc::Aviation::CCallsign &callsign, const BlackMisc::Aviation::CAircraftParts &parts);
|
||||
|
||||
//! Provider removed aircraft
|
||||
virtual void onRemoteProviderRemovedAircraft(const BlackMisc::Aviation::CCallsign &callsign);
|
||||
//! @}
|
||||
|
||||
//! New plugin info
|
||||
@@ -240,6 +237,7 @@ namespace BlackCore
|
||||
void rapOnRemoteProviderAddedAircraftParts(const BlackMisc::Aviation::CCallsign &callsign, const BlackMisc::Aviation::CAircraftParts &parts);
|
||||
void rapOnRemoteProviderRemovedAircraft(const BlackMisc::Aviation::CCallsign &callsign);
|
||||
|
||||
// call with counters updated
|
||||
void callPhysicallyAddRemoteAircraft(const BlackMisc::Simulation::CSimulatedAircraft &remoteAircraft);
|
||||
void callPhysicallyRemoveRemoteAircraft(const BlackMisc::Aviation::CCallsign &remoteCallsign);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user