mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-09 11:33:25 -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
c1bce86888
2 changed files with 5 additions and 2 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)
|
||||||
|
|
|
||||||
2
vcpkg
2
vcpkg
|
|
@ -1 +1 @@
|
||||||
Subproject commit 9eec002df1cd109f8f104cd966a763daf9751489
|
Subproject commit 9e593bb18ea69cc5095e012465dcd675a822ed0d
|
||||||
Loading…
Add table
Add a link
Reference in a new issue