all voice changes from kbatclist branch

refs #81
This commit is contained in:
Klaus Basan
2014-01-07 23:53:17 +00:00
committed by Mathew Sutcliffe
parent 51cbd2a394
commit 1c1fdabd2e
35 changed files with 2311 additions and 935 deletions

View File

@@ -39,6 +39,7 @@ namespace BlackMiscTest
while (line != "x")
{
const BlackCore::IContextNetwork *networkContext = core->getIContextNetwork();
const BlackCore::IContextVoice *voiceContext = core->getIContextVoice();
// display current status
qDebug() << "-------------";
@@ -58,6 +59,7 @@ namespace BlackMiscTest
qDebug() << "2 .. ATC online";
qDebug() << "3 .. Aircrafts in range";
qDebug() << "4 .. my aircraft";
qDebug() << "5 .. voice rooms";
line = qtin.readLine();
@@ -85,6 +87,13 @@ namespace BlackMiscTest
qDebug() << "my aircraft";
qDebug() << networkContext->getOwnAircraft();
}
else if (line.startsWith("5"))
{
qDebug() << "-------------";
qDebug() << "voice rooms";
qDebug() << voiceContext->getComVoiceRooms();
}
}
}
} // namespace