Ref T472, utility functions for category

This commit is contained in:
Klaus Basan
2019-03-08 17:41:36 +01:00
committed by Mat Sutcliffe
parent 5c46fa3afa
commit 360edca4b3
4 changed files with 29 additions and 3 deletions

View File

@@ -258,6 +258,9 @@ namespace BlackMisc
//! Get category
const CAircraftCategory &getCategory() const { return m_category; }
//! Has category?
bool hasCategory() const;
//! Set category
void setCategory(const CAircraftCategory &category) { m_category = category; }
@@ -330,6 +333,9 @@ namespace BlackMisc
//! The unassigned designator ("ZZZZ")
static const QString &getUnassignedDesignator();
//! Get the glider designator
static const QString &getGliderDesignator();
//! Unassigned ICAO code "ZZZZ"
static const CAircraftIcaoCode &unassignedIcao();