mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Ref T171, count of aircraft supporting parts
* added functions in providers, aware class * some utility functions in aircraft list
This commit is contained in:
@@ -192,6 +192,12 @@ namespace BlackCore
|
||||
return m_aircraftSupportingParts.contains(callsign);
|
||||
}
|
||||
|
||||
int CAirspaceMonitor::getRemoteAircraftSupportingPartsCount() const
|
||||
{
|
||||
QReadLocker l(&m_lockParts);
|
||||
return m_aircraftSupportingParts.size();
|
||||
}
|
||||
|
||||
CCallsignSet CAirspaceMonitor::remoteAircraftSupportingParts() const
|
||||
{
|
||||
QReadLocker l(&m_lockParts);
|
||||
|
||||
Reference in New Issue
Block a user