Ref T441, find model string duplicates

This commit is contained in:
Klaus Basan
2018-11-26 06:19:19 +01:00
parent 2b8d7f425e
commit 0002752fa6
2 changed files with 38 additions and 1 deletions

View File

@@ -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;