mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
[AFV] Displayed sync. (integrated with COM unit) flag in cockpit
This commit is contained in:
committed by
Mat Sutcliffe
parent
1b2f470cd6
commit
7d4e897b88
@@ -305,6 +305,11 @@ namespace BlackCore
|
||||
return m_voiceClient && m_voiceClient->isStarted();
|
||||
}
|
||||
|
||||
bool CContextAudioBase::isComUnitIntegrated() const
|
||||
{
|
||||
return m_voiceClient && m_voiceClient->isComUnitIntegrated();
|
||||
}
|
||||
|
||||
const QList<QCommandLineOption> &CContextAudioBase::getCmdLineOptions()
|
||||
{
|
||||
static const QList<QCommandLineOption> opts
|
||||
|
||||
@@ -218,6 +218,9 @@ namespace BlackCore
|
||||
//! Is audio enabled?
|
||||
bool isAudioEnabled() const { return m_voiceClient; }
|
||||
|
||||
//! Integrated with COM unit?
|
||||
bool isComUnitIntegrated() const;
|
||||
|
||||
//! \todo WORKAROUND to hide the "local signals"
|
||||
Afv::Clients::CAfvClient *afvClient() const { return m_voiceClient; }
|
||||
|
||||
@@ -280,7 +283,7 @@ namespace BlackCore
|
||||
/** Workaround those must be invisible for DBus
|
||||
|
||||
//! VU levels @{
|
||||
void inputVolumePeakVU(double value);
|
||||
void inputVolumePeakVU (double value);
|
||||
void outputVolumePeakVU(double value);
|
||||
//! @}
|
||||
|
||||
@@ -290,7 +293,7 @@ namespace BlackCore
|
||||
//! Client updated from own aicraft data
|
||||
void updatedFromOwnAircraftCockpit();
|
||||
|
||||
Workaround **/
|
||||
** Workaround **/
|
||||
|
||||
// ------------ local signals -------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user