This commit is contained in:
2025-05-08 21:02:56 +03:00
parent 6706cbec45
commit 86a11faf70
24 changed files with 1022 additions and 460 deletions

View File

@@ -7,6 +7,8 @@
#include <http_server/http_server.h>
#include <check/check.h>
namespace Ui {
class MainWindow;
}
@@ -18,6 +20,8 @@ class MainWindow : public QWidget
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
Check *parse_new_check();
#ifdef BUILD_OFD_BINARYEYE_SCAN
void startHttpServer();
#endif
@@ -42,8 +46,14 @@ private slots:
void httpNewMessageHandler(QString message);
#endif
#ifdef BUILD_EMAIL_MODE
void on_parse_email_button_clicked();
#endif
void on_add_new_check_button_clicked();
private:
Ui::MainWindow *ui;
std::vector<Check> checks;
#ifdef BUILD_OFD_BINARYEYE_SCAN
std::thread *httpServerThread;
HttpServer *server = NULL;