Ref T609, allow to get COM unit from own aircraft context

This commit is contained in:
Klaus Basan
2019-08-01 22:55:31 +02:00
committed by Mat Sutcliffe
parent 398f28fd9e
commit 9ba7dfee4d
2 changed files with 22 additions and 0 deletions

View File

@@ -167,6 +167,12 @@ namespace BlackCore
void audioDecreaseVolume(bool enabled);
//! @}
//! Get current COM unit from cockpit
//! \remark cross context
//! @{
BlackMisc::Aviation::CComSystem getOwnComSystem(BlackMisc::Aviation::CComSystem::ComUnit unit) const;
//! @}
//! Voice channel by room
QSharedPointer<IVoiceChannel> getVoiceChannelBy(const BlackMisc::Audio::CVoiceRoom &voiceRoom);