#include <QMainWindow>
-#include "acmp_client.h"
+#include <string>
+#include <thread>
+
+#include "ws_server.h"
#include "event_device.h"
namespace Ui {
~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 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();
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