huge wip
This commit is contained in:
10
mainwindow.h
10
mainwindow.h
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user