[AFV] First premature version of editable TX/RX flags

This commit is contained in:
Klaus Basan
2020-04-12 16:43:35 +02:00
committed by Mat Sutcliffe
parent ea8198d26e
commit a0aae420e2
2 changed files with 114 additions and 12 deletions

View File

@@ -95,6 +95,9 @@ namespace BlackGui
//! Audio is optional, check if available
bool hasAudio() const;
//! Check if simulator is available
bool hasSimulator() const;
//! Volume slider has been changed
void onVolumeSliderChanged(int v);
@@ -110,6 +113,13 @@ namespace BlackGui
void setAudioRunsWhere();
bool updateIntegrateWithComFlagUi();
bool isComIntegrated() const;
void onIntegratedFlagChanged(bool checked);
void onRxTxChanged(bool checked);
void setRxTxCheckboxes(bool rx1, bool tx1, bool rx2, bool tx2);
// TODO: Move TransceiverReceivingCallsignsChangedArgs to Blackmisc
void onReceivingCallsignsChanged(const BlackMisc::Aviation::CCallsignSet &com1Callsigns, const BlackMisc::Aviation::CCallsignSet &com2Callsigns);
void onUpdatedClientWithCockpitData();
@@ -122,6 +132,9 @@ namespace BlackGui
void setTransmitReceiveInUiFromVoiceClient();
//! @}
//! Checkboxes readonly?
void setCheckBoxesReadOnly(bool readonly);
//! Direct access to client
static BlackCore::Afv::Clients::CAfvClient *afvClient();