mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-01 14:45:42 +08:00
Ref T730, ATC station properties for cross coupled ATC stations
This commit is contained in:
committed by
Mat Sutcliffe
parent
840633749e
commit
afd7881a90
@@ -48,6 +48,8 @@ namespace BlackMisc
|
||||
enum ColumnIndex
|
||||
{
|
||||
IndexCallsign = CPropertyIndex::GlobalIndexCAtcStation,
|
||||
IndexCallsignString,
|
||||
IndexCallsignStringCrossCopuled,
|
||||
IndexController,
|
||||
IndexFrequency,
|
||||
IndexPosition,
|
||||
@@ -61,7 +63,7 @@ namespace BlackMisc
|
||||
IndexLongitude,
|
||||
IndexAtis,
|
||||
IndexMetar,
|
||||
IndexVoiceRoom,
|
||||
IndexVoiceRoom, //!< @deprecated
|
||||
};
|
||||
|
||||
//! Default constructor.
|
||||
@@ -95,6 +97,9 @@ namespace BlackMisc
|
||||
//! Get callsign as string.
|
||||
QString getCallsignAsString() const { return m_callsign.asString(); }
|
||||
|
||||
//! Get callsign
|
||||
QString getCallsignAsStringCrossCoupled() const;
|
||||
|
||||
//! Callsign suffix (e.g. TWR)
|
||||
QString getCallsignSuffix() const;
|
||||
|
||||
@@ -177,15 +182,19 @@ namespace BlackMisc
|
||||
void setAfvCrossCoupled(bool coupled) { m_isAfvCrossCoupled = coupled; }
|
||||
|
||||
//! Get voice room
|
||||
//! \deprecated
|
||||
const Audio::CVoiceRoom &getVoiceRoom() const { return m_voiceRoom; }
|
||||
|
||||
//! Set voice room
|
||||
//! \deprecated
|
||||
void setVoiceRoom(const Audio::CVoiceRoom &voiceRoom) { m_voiceRoom = voiceRoom; }
|
||||
|
||||
//! Set voice room URL
|
||||
//! \deprecated
|
||||
void setVoiceRoomUrl(const QString &url) { m_voiceRoom.setVoiceRoomUrl(url); }
|
||||
|
||||
//! Valid voice room?
|
||||
//! \deprecated
|
||||
bool hasValidVoiceRoom() const { return m_voiceRoom.isValid(); }
|
||||
|
||||
//! Booked date/time if any.
|
||||
|
||||
Reference in New Issue
Block a user