mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Ref T705, use model set for reverse lookup
* allow finding model string from set, for NON DB models * pass model set as parameter
This commit is contained in:
committed by
Mat Sutcliffe
parent
1f148cf7f8
commit
b87d0f5f15
@@ -134,6 +134,9 @@ namespace BlackMisc
|
||||
void resetReverseLookup();
|
||||
//! @}
|
||||
|
||||
//! DB data?
|
||||
bool isDbDataOnly() const { return this->getMatchingMode().testFlag(ExcludeNoDbData); }
|
||||
|
||||
//! Get matching files @{
|
||||
const QString &getMsReverseLookupFile() const { return m_msReverseLookupFile; }
|
||||
const QString &getMsMatchingStageFile() const { return m_msMatchingStageFile; }
|
||||
@@ -230,7 +233,7 @@ namespace BlackMisc
|
||||
|
||||
//! Mode by flags
|
||||
static MatchingMode matchingMode(bool revModelString, bool revLiveryIds,
|
||||
bool byModelString, bool byIcaoDataAircraft1st, bool byIcaoDataAirline1st,
|
||||
bool byModelString, bool byIcaoDataAircraft1st, bool byIcaoDataAirline1st,
|
||||
bool byFamily, bool byLivery, bool byCombinedType,
|
||||
bool byForceMilitary, bool byForceCivilian,
|
||||
bool byVtol, bool byGliderCategory, bool byMilitaryCategory, bool bySmallAircraftCategory,
|
||||
|
||||
Reference in New Issue
Block a user