mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 19:05:31 +08:00
Ref T441, find model string duplicates
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include <QStringList>
|
||||
#include <Qt>
|
||||
#include <QHash>
|
||||
#include <QMap>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
@@ -205,6 +206,9 @@ namespace BlackMisc
|
||||
//! Find models where the filename is set and the file exists
|
||||
CAircraftModelList findModelsWithExistingFile() const;
|
||||
|
||||
//! Find duplicate model strings and return those models with at least 1 duplicate model string
|
||||
CAircraftModelList findDuplicateModelStrings() const;
|
||||
|
||||
//! All models of the FS (FSX, P3D, FS9) family
|
||||
CAircraftModelList getAllFsFamilyModels() const;
|
||||
|
||||
@@ -285,6 +289,9 @@ namespace BlackMisc
|
||||
//! Simulator counts
|
||||
CCountPerSimulator countPerSimulator() const;
|
||||
|
||||
//! Model strings plus count
|
||||
QMap<QString, int> countPerModelString() const;
|
||||
|
||||
//! Which simulator(s) have the most entries?
|
||||
CSimulatorInfo simulatorsWithMaxEntries() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user