X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=client%2Fmainwindow.h;h=968ef4daabbc41d0a1cebe9018fb516c741c5c37;hb=HEAD;hp=ae675caa1b9e962700a76bca6efbfcf240b88cb6;hpb=06af07af77abe93004a384298edbc19178c1068e;p=ultimatescore diff --git a/client/mainwindow.h b/client/mainwindow.h index ae675ca..e215da5 100644 --- a/client/mainwindow.h +++ b/client/mainwindow.h @@ -3,7 +3,10 @@ #include -#include "acmp_client.h" +#include +#include + +#include "ws_server.h" #include "event_device.h" namespace Ui { @@ -21,8 +24,10 @@ 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(); @@ -33,6 +38,10 @@ private: 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(); @@ -48,10 +57,16 @@ private: 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