17 lines
310 B
C++
17 lines
310 B
C++
#include <QCoreApplication>
|
|
#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();
|
|
}
|