mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Ref T111, default implementation for physicallyRemoveAllRemoteAircraft() in CSimulatorCommon::physicallyRemoveAllRemoteAircraft().
This commit is contained in:
committed by
Mathew Sutcliffe
parent
384c186fce
commit
8bffc9b598
@@ -367,6 +367,13 @@ namespace BlackCore
|
||||
return removed;
|
||||
}
|
||||
|
||||
int CSimulatorCommon::physicallyRemoveAllRemoteAircraft()
|
||||
{
|
||||
// a default implementation, but normally overridden by the sims
|
||||
const CCallsignSet callsigns = this->getAircraftInRangeCallsigns();
|
||||
return this->physicallyRemoveMultipleRemoteAircraft(callsigns);
|
||||
}
|
||||
|
||||
bool CSimulatorCommon::parseCommandLine(const QString &commandLine, const CIdentifier &originator)
|
||||
{
|
||||
if (this->isMyIdentifier(originator)) { return false; }
|
||||
|
||||
@@ -85,6 +85,7 @@ namespace BlackCore
|
||||
virtual void unload() override;
|
||||
virtual bool isShuttingDown() const override;
|
||||
virtual int physicallyRemoveMultipleRemoteAircraft(const BlackMisc::Aviation::CCallsignSet &callsigns) override;
|
||||
virtual int physicallyRemoveAllRemoteAircraft() override;
|
||||
|
||||
//! \addtogroup swiftdotcommands
|
||||
//! @{
|
||||
|
||||
Reference in New Issue
Block a user