Bugfix to set aircraft callsign from voice context, fixes #120

In the same step added methods to test squelch and microphone, refs #123
This commit is contained in:
Klaus Basan
2014-02-05 23:12:26 +00:00
committed by Mathew Sutcliffe
parent 7a63768c83
commit 2feab9f5e7
7 changed files with 92 additions and 7 deletions

View File

@@ -71,6 +71,11 @@ namespace BlackCore
virtual bool usingLocalObjects() const { return true; }
public slots:
/*!
* \copydoc IContextVoice::setOwnAircraft
*/
virtual void setOwnAircraft(const BlackMisc::Aviation::CAircraft &ownAircraft);
/*!
* \copydoc IContextVoice::getComVoiceRooms()
*/
@@ -147,11 +152,21 @@ namespace BlackCore
virtual bool isMuted() const;
/*!
* \brief Play selcal tone
* \param selcal
* \copydoc IContextVoice::playSelcalTone()
*/
virtual void playSelcalTone(const BlackMisc::Aviation::CSelcal &selcal) const;
/*!
* \copydoc IContextVoice::runMicrophoneTest()
*/
virtual void runMicrophoneTest() const;
/*!
* \copydoc IContextVoice::runSquelchTest()
*/
virtual void runSquelchTest() const;
private:
CVoiceVatlib *m_voice; //!< underlying voice lib
};