mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
23 lines
457 B
C++
23 lines
457 B
C++
#include "bootstrap.h"
|
|
|
|
Bootstrap::Bootstrap(QObject *parent) : QObject(parent)
|
|
{
|
|
widgetManager = new WidgetManager;
|
|
coreManager = new CoreManager;
|
|
workerThread = new QThread;
|
|
animationThread = new QThread;
|
|
}
|
|
|
|
void Bootstrap::initialize()
|
|
{
|
|
qRegisterMetaType<PacketType>("PacketType");
|
|
|
|
widgetManager->initialize();
|
|
coreManager->initialize(widgetManager, workerThread);
|
|
|
|
widgetManager->start();
|
|
coreManager->start();
|
|
}
|
|
|
|
|