mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Refactored inheritance hierarchy of ContextAudio (former ContextVoice)
refs #85
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "tool.h"
|
||||
#include "blackcore/coreruntime.h"
|
||||
#include "blackcore/context_network.h"
|
||||
#include "blackcore/context_voice.h"
|
||||
#include "blackcore/context_audio.h"
|
||||
#include "blackmisc/valuemap.h"
|
||||
#include "blackmisc/avallclasses.h"
|
||||
#include "blackmisc/pqallquantities.h"
|
||||
@@ -43,7 +43,7 @@ namespace BlackMiscTest
|
||||
while (line != "x")
|
||||
{
|
||||
const BlackCore::IContextNetwork *networkContext = core->getIContextNetwork();
|
||||
const BlackCore::IContextVoice *voiceContext = core->getIContextVoice();
|
||||
const BlackCore::IContextAudio *audioContext = core->getIContextAudio();
|
||||
|
||||
// display current status
|
||||
qDebug() << "-------------";
|
||||
@@ -95,7 +95,7 @@ namespace BlackMiscTest
|
||||
{
|
||||
qDebug() << "-------------";
|
||||
qDebug() << "voice rooms";
|
||||
qDebug() << voiceContext->getComVoiceRooms();
|
||||
qDebug() << audioContext->getComVoiceRooms();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user