mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 20:40:29 +08:00
Ref T219, added some utility functions in value classes
This commit is contained in:
@@ -41,6 +41,9 @@ namespace BlackMisc
|
||||
//! Is empty?
|
||||
bool isEmpty() const { return this->m_icaoCode.isEmpty(); }
|
||||
|
||||
//! Has valid code?
|
||||
bool hasValidIcaoCode() const;
|
||||
|
||||
//! Get code.
|
||||
const QString &asString() const { return this->m_icaoCode; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user