Move deck list to its own folder ahead of refactor.

Took 39 minutes
This commit is contained in:
Lukas Brübach 2025-09-04 22:08:22 +02:00
parent da52d677c7
commit 7f157496d3
26 changed files with 26 additions and 26 deletions

View file

@ -1,11 +1,11 @@
#include "tab_deck_storage.h"
#include "../../../../common/deck_list/deck_list.h"
#include "../../deck/deck_loader.h"
#include "../../server/pending_command.h"
#include "../../server/remote/remote_decklist_tree_widget.h"
#include "../../settings/cache_settings.h"
#include "../get_text_with_max.h"
#include "decklist.h"
#include "pb/command_deck_del.pb.h"
#include "pb/command_deck_del_dir.pb.h"
#include "pb/command_deck_download.pb.h"

View file

@ -1,6 +1,6 @@
#include "tapped_out_interface.h"
#include "decklist.h"
#include "../../../common/deck_list/deck_list.h"
#include <QDesktopServices>
#include <QMessageBox>

View file

@ -1,8 +1,8 @@
#ifndef TAPPEDOUT_INTERFACE_H
#define TAPPEDOUT_INTERFACE_H
#include "../../../common/deck_list/deck_list.h"
#include "../game/cards/card_database.h"
#include "decklist.h"
#include <QLoggingCategory>
#include <QObject>

View file

@ -7,11 +7,11 @@
#include "mana_curve_widget.h"
#include "mana_devotion_widget.h"
#include <../../../../../common/deck_list/deck_list.h>
#include <QHBoxLayout>
#include <QScrollArea>
#include <QVBoxLayout>
#include <QWidget>
#include <decklist.h>
class DeckAnalyticsWidget : public QWidget
{

View file

@ -6,9 +6,9 @@
#include "../general/display/banner_widget.h"
#include "../general/display/bar_widget.h"
#include <../../../../../common/deck_list/deck_list.h>
#include <QHash>
#include <QRegularExpression>
#include <decklist.h>
ManaBaseWidget::ManaBaseWidget(QWidget *parent, DeckListModel *_deckListModel)
: QWidget(parent), deckListModel(_deckListModel)

View file

@ -4,9 +4,9 @@
#include "../../../../deck/deck_list_model.h"
#include "../general/display/banner_widget.h"
#include <../../../../../common/deck_list/deck_list.h>
#include <QHBoxLayout>
#include <QWidget>
#include <decklist.h>
#include <utility>
class ManaBaseWidget : public QWidget

View file

@ -7,7 +7,7 @@
#include "../general/display/banner_widget.h"
#include "../general/display/bar_widget.h"
#include <decklist.h>
#include <../../../../../common/deck_list/deck_list.h>
#include <unordered_map>
ManaCurveWidget::ManaCurveWidget(QWidget *parent, DeckListModel *_deckListModel)

View file

@ -7,7 +7,7 @@
#include "../general/display/banner_widget.h"
#include "../general/display/bar_widget.h"
#include <decklist.h>
#include <../../../../../common/deck_list/deck_list.h>
#include <iostream>
#include <regex>
#include <string>

View file

@ -4,9 +4,9 @@
#include "../../../../deck/deck_list_model.h"
#include "../general/display/banner_widget.h"
#include <../../../../../common/deck_list/deck_list.h>
#include <QHBoxLayout>
#include <QWidget>
#include <decklist.h>
#include <utility>
class ManaDevotionWidget : public QWidget

View file

@ -1,8 +1,8 @@
#ifndef DECKLISTMODEL_H
#define DECKLISTMODEL_H
#include "../../../common/deck_list/deck_list.h"
#include "../game/cards/exact_card.h"
#include "decklist.h"
#include <QAbstractItemModel>
#include <QList>

View file

@ -1,9 +1,9 @@
#include "deck_loader.h"
#include "../../../common/deck_list/deck_list.h"
#include "../game/cards/card_database.h"
#include "../game/cards/card_database_manager.h"
#include "../main.h"
#include "decklist.h"
#include <QApplication>
#include <QClipboard>

View file

@ -1,7 +1,7 @@
#ifndef DECK_LOADER_H
#define DECK_LOADER_H
#include "decklist.h"
#include "../../../common/deck_list/deck_list.h"
#include <QLoggingCategory>

View file

@ -1,6 +1,6 @@
#include "deck_stats_interface.h"
#include "decklist.h"
#include "../../../common/deck_list/deck_list.h"
#include <QDesktopServices>
#include <QMessageBox>

View file

@ -1,8 +1,8 @@
#ifndef DECKSTATS_INTERFACE_H
#define DECKSTATS_INTERFACE_H
#include "../../../common/deck_list/deck_list.h"
#include "../game/cards/card_database.h"
#include "decklist.h"
#include <QObject>

View file

@ -1,11 +1,11 @@
#include "dlg_create_token.h"
#include "../../../common/deck_list/deck_list.h"
#include "../client/ui/widgets/cards/card_info_picture_widget.h"
#include "../game/cards/card_database_manager.h"
#include "../game/cards/card_database_model.h"
#include "../main.h"
#include "../settings/cache_settings.h"
#include "decklist.h"
#include "trice_limits.h"
#include <QCheckBox>

View file

@ -1,9 +1,9 @@
#include "deck_view.h"
#include "../../../../common/deck_list/deck_list.h"
#include "../../client/ui/theme_manager.h"
#include "../../game/cards/card_info.h"
#include "../../settings/cache_settings.h"
#include "decklist.h"
#include <QApplication>
#include <QGraphicsSceneMouseEvent>

View file

@ -6,7 +6,7 @@ add_subdirectory(pb)
set(common_SOURCES
debug_pb_message.cpp
decklist.cpp
deck_list/deck_list.cpp
expression.cpp
featureset.cpp
get_pb_extension.cpp

View file

@ -1,4 +1,4 @@
#include "decklist.h"
#include "deck_list.h"
#include <QCryptographicHash>
#include <QDebug>

View file

@ -1,7 +1,7 @@
#ifndef DECKLIST_H
#define DECKLIST_H
#include "card_ref.h"
#include "../card_ref.h"
#include <QMap>
#include <QVector>

View file

@ -19,7 +19,7 @@
***************************************************************************/
#include "server_game.h"
#include "decklist.h"
#include "deck_list/deck_list.h"
#include "pb/context_connection_state_changed.pb.h"
#include "pb/context_deck_select.pb.h"
#include "pb/context_ping_changed.pb.h"

View file

@ -1,7 +1,7 @@
#include "server_player.h"
#include "color.h"
#include "decklist.h"
#include "deck_list/deck_list.h"
#include "get_pb_extension.h"
#include "pb/command_attach_card.pb.h"
#include "pb/command_change_zone_properties.pb.h"

View file

@ -19,7 +19,7 @@
***************************************************************************/
#include "servatrice.h"
#include "decklist.h"
#include "../../common/deck_list/decklist.h"
#include "email_parser.h"
#include "featureset.h"
#include "isl_interface.h"

View file

@ -1,6 +1,6 @@
#include "servatrice_database_interface.h"
#include "decklist.h"
#include "../../common/deck_list/decklist.h"
#include "passwordhasher.h"
#include "pb/game_replay.pb.h"
#include "servatrice.h"

View file

@ -20,7 +20,7 @@
#include "serversocketinterface.h"
#include "decklist.h"
#include "../../common/deck_list/deck_list.h"
#include "email_parser.h"
#include "main.h"
#include "pb/command_deck_del.pb.h"

View file

@ -1,6 +1,6 @@
add_definitions("-DCARDDB_DATADIR=\"${CMAKE_CURRENT_SOURCE_DIR}/data/\"")
add_executable(
loading_from_clipboard_test ../../common/decklist.cpp clipboard_testing.cpp loading_from_clipboard_test.cpp
loading_from_clipboard_test ../../common/deck_list/deck_list.cpp clipboard_testing.cpp loading_from_clipboard_test.cpp
)
if(NOT GTEST_FOUND)

View file

@ -1,7 +1,7 @@
#ifndef CLIPBOARD_TESTING_H
#define CLIPBOARD_TESTING_H
#include "../../common/decklist.h"
#include "../../common/deck_list/decklist.h"
#include "gtest/gtest.h"