]> git.sesse.net Git - ultimatescore/blobdiff - client/mainwindow.h
Make the roster scripts executable.
[ultimatescore] / client / mainwindow.h
index 8a517901b669e3499120943d0fbeab9a47b8272d..e215da5a70553dafbef34b77a999e1a5ce43817a 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,17 +24,24 @@ public:
        ~MainWindow();
 
 private:
-       void casparcg_reconnect_clicked();
+       void ws_disconnect_clicked();
        void set_initials_clicked();
+       void set_match_2_initials_clicked();
+       void set_match_3_initials_clicked();
        void set_color_clicked();
        void set_score_clicked();
        void set_all_scorebug_clicked();
        void add_goal(QSpinBox *box, int delta);
        void set_clock_clicked();
+       void set_clock_limit_clicked();
        void start_and_show_clock_clicked();
        void stop_clock_clicked();
        void show_clock_clicked();
        void hide_clock_clicked();
+       void show_match_2_clicked();
+       void hide_match_2_clicked();
+       void show_match_3_clicked();
+       void hide_match_3_clicked();
        void set_comment_clicked();
        void set_and_show_comment_clicked();
        void hide_comment_clicked();
@@ -40,10 +50,23 @@ private:
        void hide_lower_third_clicked();
        void quick_lower_third_activate();
        void autocomment_update();
+       void show_scorebug_clicked();
+       void show_group_clicked(const std::string &group_name);
+       void show_roster_clicked(const std::string &team_code);
+       void show_schedule_clicked();
+       void show_carousel_clicked();
+       void show_roster_carousel_clicked();
+       void show_nothing_clicked();
+       void udp_thread_func(int port);
+       void bt6000_message_received(const std::string &msg, int port);
 
        Ui::MainWindow *ui;
-       ACMPClient *acmp;
+       WSServer *ws;
        EventDevice *event_device;
+
+       std::thread udp_thread;
+       std::thread udp_thread2;
+       std::thread udp_thread3;
 };
 
 #endif // MAINWINDOW_H