mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
[AFV] Ref T739, unified callsign functions in CAfvClient
* improved CallsignSet from QStringList * renamed the functions which just return a string * added functions for CCallsignSet
This commit is contained in:
@@ -189,14 +189,21 @@ namespace BlackCore
|
||||
|
||||
bool CContextAudioBase::isEnabledComUnit(CComSystem::ComUnit comUnit) const
|
||||
{
|
||||
if (!m_voiceClient) { return false; }
|
||||
return m_voiceClient->isEnabledComUnit(comUnit);
|
||||
}
|
||||
|
||||
bool CContextAudioBase::isTransmittingComUnit(CComSystem::ComUnit comUnit) const
|
||||
{
|
||||
if (!m_voiceClient) { return false; }
|
||||
return m_voiceClient->isTransmittingdComUnit(comUnit);
|
||||
}
|
||||
|
||||
bool CContextAudioBase::isAudioConnected() const
|
||||
{
|
||||
return m_voiceClient && m_voiceClient->isConnected();
|
||||
}
|
||||
|
||||
QString CContextAudioBase::audioRunsWhereInfo() const
|
||||
{
|
||||
static const QString s = QStringLiteral("Audio on '%1', '%2'.").arg(audioRunsWhere().getMachineName(), audioRunsWhere().getProcessName());
|
||||
|
||||
Reference in New Issue
Block a user