post-voice changes in blackgui from the kbatclist branch

refs #81
This commit is contained in:
Klaus Basan
2014-01-08 00:09:03 +00:00
committed by Mathew Sutcliffe
parent b475d7eff1
commit d15d0db431
10 changed files with 959 additions and 311 deletions

View File

@@ -62,13 +62,17 @@ void MainWindow::init(bool withDBus)
{
this->m_dBusConnection = QDBusConnection::sessionBus();
this->m_contextNetwork = new BlackCore::IContextNetwork(BlackCore::CDBusServer::ServiceName, this->m_dBusConnection, this);
this->m_contextVoice = new BlackCore::IContextVoice(BlackCore::CDBusServer::ServiceName, this->m_dBusConnection, this);
this->m_contextSettings = new BlackCore::IContextSettings(BlackCore::CDBusServer::ServiceName, this->m_dBusConnection, this);
this->m_contextApplication = new BlackCore::IContextApplication(BlackCore::CDBusServer::ServiceName, this->m_dBusConnection, this);
}
else
{
this->m_coreRuntime = new CCoreRuntime(false, this);
this->m_contextNetwork = this->m_coreRuntime->getIContextNetwork();
this->m_contextVoice = this->m_coreRuntime->getIContextVoice();
this->m_contextSettings = this->m_coreRuntime->getIContextSettings();
this->m_contextApplication = this->m_coreRuntime->getIContextApplication();
}
// relay status messages
@@ -127,6 +131,12 @@ void MainWindow::init(bool withDBus)
this->m_timerUpdateAtcStationsOnline->start(10 * 1000);
this->m_timerContextWatchdog->start(2 * 1000);
// init availability
this->setContextAvailability();
// voice panel
this->setAudioDeviceLists();
// data
this->initialDataReads();