PNP_PIbd-31_Rodionov_I_A_Co.../main.cpp

18 lines
311 B
C++
Raw Permalink Normal View History

2024-12-24 18:02:23 +04:00
#include <QCoreApplication>
2025-01-14 21:28:06 +04:00
2024-12-24 18:02:23 +04:00
#include "service/serviceloaddb.h"
#include "apiserver.h"
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
ServiceLoadDB *db = new ServiceLoadDB();
ApiServer *server = new ApiServer();
db->start();
server->start(db);
return a.exec();
}