Files
pilotclient/samples/com_server/main.cpp
Mathew Sutcliffe e607121cc4 Updating IContext to our current style and making it less reliant on macros.
Updating code that uses IContext to a more conformant pattern of usage.
2013-10-05 18:12:16 +01:00

21 lines
367 B
C++

#include <QCoreApplication>
#include "blackmisc/context.h"
#include "server.h"
using namespace BlackMisc;
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
BlackMisc::CApplicationContext ctx;
BlackMisc::IContext::setInstance(ctx);
BlackMisc::CDebug debug;
ctx.setObject(debug);
Server server;
return a.exec();
}