IsMuted method

This commit is contained in:
Klaus Basan
2014-01-13 03:05:12 +01:00
parent 3627d340b2
commit 71c7318176
2 changed files with 14 additions and 0 deletions

View File

@@ -110,6 +110,14 @@ namespace BlackCore
this->m_dBusInterface->callDBus(QLatin1Literal("setVolumes"), com1, com2);
}
/*
* Muted?
*/
bool IContextVoice::isMuted() const
{
return this->m_dBusInterface->callDBusRet<bool>(QLatin1Literal("isMuted"));
}
/*
* Logging
*/

View File

@@ -163,6 +163,12 @@ namespace BlackCore
*/
virtual void setVolumes(const BlackMisc::Aviation::CComSystem &com1, const BlackMisc::Aviation::CComSystem &com2);
/*!
* \brief Is muted?
* \return
*/
virtual bool isMuted() const;
};
}