Ref T578, allow to search gliders in parallel branch

* utility functions
* logs
* fixed returning wrong result
This commit is contained in:
Klaus Basan
2019-03-28 18:56:19 +01:00
committed by Mat Sutcliffe
parent b13035b3f9
commit f54d85dfbc
6 changed files with 123 additions and 15 deletions

View File

@@ -78,12 +78,24 @@ namespace BlackMisc
//! Level
void setLevel(int l1, int l2, int l3);
//! Is that given level?
bool isLevel(int l1, int l2, int l3) const;
//! Is that given level?
bool isLevel(const QList<int> &level) const;
//! Is that given level?
bool isLevel(const CAircraftCategory &category) const;
//! Levels depending on depth, 3.2 -> 3,2 / 1.0 -> 1 / 4.3.1 -> 4,3,1
QList<int> getLevel() const;
//! First level
int getFirstLevel() const { return m_l1; }
//! Second level
int getSecondLevel() const { return m_l2; }
//! First level
bool isFirstLevel() const;