mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
21 lines
367 B
C++
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();
|
|
}
|