Ref T739, workaround to hide "local signals" from Dbus registration

Directly using CAfvClient signals - a scenario we actually want to avoid
This commit is contained in:
Klaus Basan
2019-10-16 13:40:58 +02:00
parent 9dc287accb
commit 8ecfd8f23d
3 changed files with 19 additions and 8 deletions

View File

@@ -178,6 +178,9 @@ namespace BlackCore
//! Is COM unit transmitting?
bool isTransmittingComUnit(BlackMisc::Aviation::CComSystem::ComUnit comUnit) const;
//! \todo WORKAROUND to hide the "local signals"
Afv::Clients::CAfvClient *afvClient() const { return m_voiceClient; }
// -------- parts which can run in core and GUI, referring to local voice client ------------
public slots:
@@ -213,6 +216,8 @@ namespace BlackCore
//! PTT in voice client received
void ptt(bool active, BlackMisc::Audio::PTTCOM pttcom, const BlackMisc::CIdentifier &identifier);
/** Workaround those must be invisible for DBus
//! VU levels @{
void inputVolumePeakVU(double value);
void outputVolumePeakVU(double value);
@@ -224,6 +229,8 @@ namespace BlackCore
//! Client updated from own aicraft data
void updatedFromOwnAircraftCockpit();
**/
// ------------ local signals -------
private: