]> git.sesse.net Git - ultimatescore/blobdiff - client/mainwindow.h
Switch to Trøndisk 2018 sheets.
[ultimatescore] / client / mainwindow.h
index ae675caa1b9e962700a76bca6efbfcf240b88cb6..5402654fdce11930ffe935ad34e2ac641680af1b 100644 (file)
@@ -3,7 +3,10 @@
 
 #include <QMainWindow>
 
-#include "acmp_client.h"
+#include <string>
+#include <thread>
+
+#include "ws_server.h"
 #include "event_device.h"
 
 namespace Ui {
@@ -21,7 +24,7 @@ public:
        ~MainWindow();
 
 private:
-       void casparcg_reconnect_clicked();
+       void ws_disconnect_clicked();
        void set_initials_clicked();
        void set_color_clicked();
        void set_score_clicked();
@@ -48,10 +51,14 @@ private:
        void show_carousel_clicked();
        void show_roster_carousel_clicked();
        void show_nothing_clicked();
+       void udp_thread_func();
+       void bt6000_message_received(const std::string &msg);
 
        Ui::MainWindow *ui;
-       ACMPClient *acmp;
+       WSServer *ws;
        EventDevice *event_device;
+
+       std::thread udp_thread;
 };
 
 #endif // MAINWINDOW_H