mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Allow to disable reverse lookup for model string and livery ids
This commit is contained in:
committed by
Mat Sutcliffe
parent
ee9f1188d7
commit
6bc2a15f61
@@ -44,6 +44,23 @@ namespace BlackMisc
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CAircraftMatcherSetup::isReverseLookupModelString() const
|
||||
{
|
||||
return this->getMatchingMode().testFlag(ReverseLookupModelString);
|
||||
}
|
||||
|
||||
bool CAircraftMatcherSetup::isReverseLookupSwiftLiveryIds() const
|
||||
{
|
||||
return this->getMatchingMode().testFlag(ReverseLookupSwiftLiveryIds);
|
||||
}
|
||||
|
||||
void CAircraftMatcherSetup::resetReverseLookup()
|
||||
{
|
||||
MatchingMode m = this->getMatchingMode();
|
||||
m.setFlag(ReverseLookupDefault);
|
||||
this->setMatchingMode(m);
|
||||
}
|
||||
|
||||
bool CAircraftMatcherSetup::doRunMsReverseLookupScript() const
|
||||
{
|
||||
return m_msReverseEnabled && !m_msReverseLookupFile.isEmpty();
|
||||
|
||||
Reference in New Issue
Block a user