Proper lib includes.

Took 5 minutes
This commit is contained in:
Lukas Brübach 2026-05-27 00:10:25 +02:00
parent fbf114b351
commit b6e25762c5
3 changed files with 3 additions and 4 deletions

View file

@ -7,9 +7,8 @@
#ifndef COCKATRICE_CARD_MENU_H #ifndef COCKATRICE_CARD_MENU_H
#define COCKATRICE_CARD_MENU_H #define COCKATRICE_CARD_MENU_H
#include "libcockatrice/utility/card_ref.h"
#include <QMenu> #include <QMenu>
#include <libcockatrice/utility/card_ref.h>
class CardItem; class CardItem;
class PlayerGraphicsItem; class PlayerGraphicsItem;

View file

@ -8,9 +8,9 @@
#define COCKATRICE_UTILITY_MENU_H #define COCKATRICE_UTILITY_MENU_H
#include "abstract_player_component.h" #include "abstract_player_component.h"
#include "libcockatrice/card/card_info.h"
#include <QMenu> #include <QMenu>
#include <libcockatrice/card/card_info.h>
class PlayerGraphicsItem; class PlayerGraphicsItem;
class UtilityMenu : public QMenu, public AbstractPlayerComponent class UtilityMenu : public QMenu, public AbstractPlayerComponent

View file

@ -6,7 +6,6 @@
#include "../board/arrow_item.h" #include "../board/arrow_item.h"
#include "../board/card_item.h" #include "../board/card_item.h"
#include "../board/card_list.h" #include "../board/card_list.h"
#include "libcockatrice/utility/color.h"
#include "player_actions.h" #include "player_actions.h"
#include "player_logic.h" #include "player_logic.h"
@ -33,6 +32,7 @@
#include <libcockatrice/protocol/pb/event_set_card_counter.pb.h> #include <libcockatrice/protocol/pb/event_set_card_counter.pb.h>
#include <libcockatrice/protocol/pb/event_set_counter.pb.h> #include <libcockatrice/protocol/pb/event_set_counter.pb.h>
#include <libcockatrice/protocol/pb/event_shuffle.pb.h> #include <libcockatrice/protocol/pb/event_shuffle.pb.h>
#include <libcockatrice/utility/color.h>
#include <libcockatrice/utility/zone_names.h> #include <libcockatrice/utility/zone_names.h>
PlayerEventHandler::PlayerEventHandler(PlayerLogic *_player) : QObject(_player), player(_player) PlayerEventHandler::PlayerEventHandler(PlayerLogic *_player) : QObject(_player), player(_player)