mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 12:55:31 +08:00
[AFV] Ref T739, register used AFV callsigns
For core/GUI we need to register with 2 different callsigns
This commit is contained in:
committed by
Mat Sutcliffe
parent
bb3fefc102
commit
0a1835f1a5
@@ -100,6 +100,18 @@ namespace BlackCore
|
||||
//! Remove all devices for identifer (i.e. "a machine")
|
||||
virtual void unRegisterDevicesFor(const BlackMisc::CIdentifier &identifier) = 0;
|
||||
|
||||
//! Register an audio callsign (used with AFV)
|
||||
//! \remarks normally called with login
|
||||
virtual void registerAudioCallsign(const BlackMisc::Aviation::CCallsign &callsign, const BlackMisc::CIdentifier &identifier) = 0;
|
||||
|
||||
//! Un-register an audio callsign (used with AFV)
|
||||
//! \remarks normally called with logoff
|
||||
virtual void unRegisterAudioCallsign(const BlackMisc::Aviation::CCallsign &callsign, const BlackMisc::CIdentifier &identifier) = 0;
|
||||
|
||||
//! Un-register an audio callsign (used with AFV)
|
||||
//! \remarks normally called with logoff
|
||||
virtual bool hasRegisteredAudioCallsign(const BlackMisc::Aviation::CCallsign &callsign) const = 0;
|
||||
|
||||
// ------------- DBus ---------------
|
||||
|
||||
protected:
|
||||
@@ -304,6 +316,9 @@ namespace BlackCore
|
||||
//! Network connection status
|
||||
void xCtxNetworkConnectionStatusChanged(const BlackMisc::Network::CConnectionStatus &from, const BlackMisc::Network::CConnectionStatus &to);
|
||||
|
||||
//! AFV client connection status changed
|
||||
void onAfvConnectionStatusChanged(int status);
|
||||
|
||||
CActionBind m_actionPtt { BlackMisc::Input::pttHotkeyAction(), BlackMisc::Input::pttHotkeyIcon(), this, &CContextAudioBase::setVoiceTransmissionComActive };
|
||||
CActionBind m_actionPttCom1 { BlackMisc::Input::pttCom1HotkeyAction(), BlackMisc::Input::pttHotkeyIcon(), this, &CContextAudioBase::setVoiceTransmissionCom1 };
|
||||
CActionBind m_actionPttCom2 { BlackMisc::Input::pttCom2HotkeyAction(), BlackMisc::Input::pttHotkeyIcon(), this, &CContextAudioBase::setVoiceTransmissionCom2 };
|
||||
|
||||
Reference in New Issue
Block a user