mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Removed IContext
Network and voice samples work using them and have to allocate their own vatlib objects now. refs #221
This commit is contained in:
@@ -16,9 +16,8 @@ using namespace BlackMisc::Audio;
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QCoreApplication app (argc, argv);
|
||||
BlackMisc::IContext::getInstance().setObject<BlackCore::IVoice>(*new BlackCore::CVoiceVatlib());
|
||||
|
||||
Client client;
|
||||
Client client(&app);
|
||||
LineReader reader;
|
||||
QObject::connect(&reader, SIGNAL(command(const QString &)), &client, SLOT(command(const QString &)));
|
||||
QObject::connect(&client, SIGNAL(quit()), &reader, SLOT(terminate()));
|
||||
|
||||
Reference in New Issue
Block a user