Include card_info.h over card_database.h if able

This commit is contained in:
RickyRister 2025-04-16 14:04:22 -07:00
parent e68300d275
commit 46e5fbad75
35 changed files with 34 additions and 35 deletions

View file

@ -2,7 +2,7 @@
#include "arrow_item.h"
#include "../../settings/cache_settings.h"
#include "../cards/card_database.h"
#include "../cards/card_info.h"
#include "../cards/card_item.h"
#include "../player/player.h"
#include "../player/player_target.h"

View file

@ -2,7 +2,7 @@
#define ABSTRACTCARDITEM_H
#include "../board/arrow_target.h"
#include "card_database.h"
#include "card_info.h"
class Player;

View file

@ -1,7 +1,7 @@
#ifndef CARDDATABASE_PARSER_H
#define CARDDATABASE_PARSER_H
#include "../card_database.h"
#include "../card_info.h"
#include <QIODevice>
#include <QString>

View file

@ -8,8 +8,8 @@
#include "../zones/card_zone.h"
#include "../zones/table_zone.h"
#include "../zones/view_zone.h"
#include "card_database.h"
#include "card_drag_item.h"
#include "card_info.h"
#include "pb/serverinfo_card.pb.h"
#include <QApplication>

View file

@ -1,6 +1,6 @@
#include "card_list.h"
#include "card_database.h"
#include "card_info.h"
#include "card_item.h"
#include <QDebug>

View file

@ -1,7 +1,7 @@
#include "deck_view.h"
#include "../../client/ui/theme_manager.h"
#include "../../game/cards/card_database.h"
#include "../../game/cards/card_info.h"
#include "../../settings/cache_settings.h"
#include "decklist.h"

View file

@ -1,7 +1,7 @@
#ifndef FILTER_STRING_H
#define FILTER_STRING_H
#include "../cards/card_database.h"
#include "../cards/card_info.h"
#include "filter_tree.h"
#include <QLoggingCategory>

View file

@ -4,7 +4,7 @@
#include "../../client/tearoff_menu.h"
#include "../../dialogs/dlg_create_token.h"
#include "../board/abstract_graphics_item.h"
#include "../cards/card_database.h"
#include "../cards/card_info.h"
#include "../filters/filter_string.h"
#include "pb/card_attributes.pb.h"
#include "pb/game_event.pb.h"

View file

@ -3,8 +3,8 @@
#include "../../client/ui/theme_manager.h"
#include "../../settings/cache_settings.h"
#include "../board/arrow_item.h"
#include "../cards/card_database.h"
#include "../cards/card_drag_item.h"
#include "../cards/card_info.h"
#include "../cards/card_item.h"
#include "../player/player.h"
#include "pb/command_move_card.pb.h"

View file

@ -1,8 +1,8 @@
#include "view_zone.h"
#include "../../server/pending_command.h"
#include "../cards/card_database.h"
#include "../cards/card_drag_item.h"
#include "../cards/card_info.h"
#include "../cards/card_item.h"
#include "../player/player.h"
#include "pb/command_dump_zone.pb.h"