mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 12:55:31 +08:00
Ref T442, ATC station list split per suffix
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include "blackmisc/variant.h"
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QHash>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
@@ -81,6 +82,10 @@ namespace BlackMisc
|
||||
|
||||
//! Sorted by ATC suffix sort order and distance
|
||||
CAtcStationList sortedByAtcSuffixSortOrderAndDistance() const;
|
||||
|
||||
//! Split per suffix
|
||||
//! \remark sort can be disabled if already sorted
|
||||
QHash<QString, CAtcStationList> splitPerSuffix(bool sort = true) const;
|
||||
};
|
||||
} //namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user