[Client] Fix tournament UI includes after the game logic move

The game logic now lives in libcockatrice_game, so the tab's relative
includes into cockatrice/src/game no longer resolve. Include the library
headers instead and pull in the complete types the tab dereferences.
This commit is contained in:
Lukas Brübach 2026-11-03 00:32:44 +01:00
parent cf76d42791
commit c7ba541156

View file

@ -1,6 +1,5 @@
#include "tournament_tab_game_extension.h" #include "tournament_tab_game_extension.h"
#include "../../../game/game_event_handler.h"
#include "../../widgets/draft/tournament_widget.h" #include "../../widgets/draft/tournament_widget.h"
#include "tab_game.h" #include "tab_game.h"
#include "tab_supervisor.h" #include "tab_supervisor.h"
@ -10,6 +9,10 @@
#include <QPushButton> #include <QPushButton>
#include <QStackedWidget> #include <QStackedWidget>
#include <QVBoxLayout> #include <QVBoxLayout>
#include <libcockatrice/game/abstract_game.h>
#include <libcockatrice/game/game_event_handler.h>
#include <libcockatrice/game/game_meta_info.h>
#include <libcockatrice/game/player/player_manager.h>
#include <libcockatrice/protocol/pb/event_tournament_state.pb.h> #include <libcockatrice/protocol/pb/event_tournament_state.pb.h>
TournamentTabGameExtension::TournamentTabGameExtension(TabGame *parent) : QObject(parent), tabGame(parent) TournamentTabGameExtension::TournamentTabGameExtension(TabGame *parent) : QObject(parent), tabGame(parent)