refs #743, utility functions and formatting / typos

* simulator info for FS family / as set
* fixed synchronized typo
* info string for caches
* getter for cached models from the loaders
* get all FS family models (FSX/P3D/FS9) from list
This commit is contained in:
Klaus Basan
2016-10-02 23:10:59 +02:00
committed by Mathew Sutcliffe
parent 7446ffcb80
commit 11e32a065e
13 changed files with 171 additions and 53 deletions

View File

@@ -109,7 +109,7 @@ namespace BlackMisc
CAircraftModelList findWithKnownAircraftDesignator() const;
//! Find by manufacturer
CAircraftModelList findByManunfacturer(const QString &manufacturer) const;
CAircraftModelList findByManufacturer(const QString &manufacturer) const;
//! Models with aircraft family
CAircraftModelList findByFamily(const QString &family) const;
@@ -120,6 +120,9 @@ namespace BlackMisc
//! Find by military flag
CAircraftModelList findByMilitaryFlag(bool military) const;
//! All models of the FS (FSX, P3D, FS9) family
CAircraftModelList getAllFsFamilyModels() const;
//! Model icon path
QString findModelIconPathByModelString(const QString &modelString) const;
@@ -174,7 +177,7 @@ namespace BlackMisc
//! Simulator counts
CCountPerSimulator countPerSimulator() const;
//! Which simulator(s) have the most entries
//! Which simulator(s) have the most entries?
CSimulatorInfo simulatorsWithMaxEntries() const;
//! Update distributor, all models in list are set to given distributor