mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 03:45:30 +08:00
Ref T472, utility functions for category
This commit is contained in:
committed by
Mat Sutcliffe
parent
5c46fa3afa
commit
360edca4b3
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user