2024-12-24 18:13:22 +04:00
|
|
|
#include <QApplication>
|
|
|
|
|
2025-01-14 21:33:47 +04:00
|
|
|
#include "mainwindow.h"
|
|
|
|
#include "apiclient.h"
|
|
|
|
|
2024-12-24 18:13:22 +04:00
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
QApplication a(argc, argv);
|
|
|
|
|
2025-01-14 21:33:47 +04:00
|
|
|
ApiClient* client = new ApiClient();
|
|
|
|
MainWindow* window = new MainWindow();
|
|
|
|
|
|
|
|
window->setClient(client);
|
|
|
|
|
|
|
|
window->show();
|
2024-12-24 18:13:22 +04:00
|
|
|
|
|
|
|
return a.exec();
|
|
|
|
}
|