]> git.sesse.net Git - ultimatescore/blobdiff - client/mainwindow.h
Support having a second scorebug for a second BT6000-controlled match.
[ultimatescore] / client / mainwindow.h
index 5402654fdce11930ffe935ad34e2ac641680af1b..968ef4daabbc41d0a1cebe9018fb516c741c5c37 100644 (file)
@@ -26,6 +26,7 @@ public:
 private:
        void ws_disconnect_clicked();
        void set_initials_clicked();
+       void set_match_2_initials_clicked();
        void set_color_clicked();
        void set_score_clicked();
        void set_all_scorebug_clicked();
@@ -36,6 +37,8 @@ private:
        void stop_clock_clicked();
        void show_clock_clicked();
        void hide_clock_clicked();
+       void show_match_2_clicked();
+       void hide_match_2_clicked();
        void set_comment_clicked();
        void set_and_show_comment_clicked();
        void hide_comment_clicked();
@@ -51,14 +54,15 @@ 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);
+       void udp_thread_func(int port);
+       void bt6000_message_received(const std::string &msg, int port);
 
        Ui::MainWindow *ui;
        WSServer *ws;
        EventDevice *event_device;
 
        std::thread udp_thread;
+       std::thread udp_thread2;
 };
 
 #endif // MAINWINDOW_H