mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 01:23:24 -08:00
[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:
parent
cf76d42791
commit
c7ba541156
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue