mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 02:06:08 +08:00
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:
committed by
Mathew Sutcliffe
parent
7a63768c83
commit
2feab9f5e7
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user