mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
refs #618, functions / class to get simulator distribution of a model set
Find out for which simulators the model set is etc.
This commit is contained in:
@@ -101,6 +101,9 @@ namespace BlackMisc
|
||||
//! \return number of elements removed
|
||||
int removeModelsWithString(const QStringList &modelStrings, Qt::CaseSensitivity sensitivity);
|
||||
|
||||
//! Remove if not matching simulator
|
||||
int removeIfNotMatchingSimulator(const CSimulatorInfo &needToMatch);
|
||||
|
||||
//! Replace or add based on model string
|
||||
//! \return number of elements removed
|
||||
int replaceOrAddModelsWithString(const CAircraftModelList &addOrReplaceList, Qt::CaseSensitivity sensitivity);
|
||||
@@ -108,6 +111,12 @@ namespace BlackMisc
|
||||
//! Model strings
|
||||
QStringList getModelStrings(bool sort = true) const;
|
||||
|
||||
//! Simulator counts
|
||||
CCountPerSimulator countPerSimulator() const;
|
||||
|
||||
//! Which simulator(s) have the most entries
|
||||
CSimulatorInfo simulatorsWithMaxEntries() const;
|
||||
|
||||
//! Update distributors
|
||||
void updateDistributor(const CDistributor &distributor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user