mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-17 07:52:16 -07:00
Move libcockatrice_server to libcockatrice_network/server/remote
Took 1 hour 41 minutes Took 39 seconds Took 4 minutes
This commit is contained in:
parent
eb7c4cae6c
commit
133c02f973
118 changed files with 218 additions and 338 deletions
|
|
@ -1,6 +1,5 @@
|
|||
#include "dlg_create_game.h"
|
||||
|
||||
#include "../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
#include "../tabs/tab_room.h"
|
||||
|
||||
#include <QApplication>
|
||||
|
|
@ -17,6 +16,7 @@
|
|||
#include <QSpinBox>
|
||||
#include <QWizard>
|
||||
#include <libcockatrice/protocol/pb/serverinfo_game.pb.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
#include <libcockatrice/settings/cache_settings.h>
|
||||
#include <libcockatrice/utility/trice_limits.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#include "../zones/logic/card_zone_logic.h"
|
||||
#include "abstract_card_item.h"
|
||||
|
||||
#include <libcockatrice/server/game/server_card.h>
|
||||
#include <libcockatrice/network/server/remote/game/server_card.h>
|
||||
|
||||
class CardDatabase;
|
||||
class CardDragItem;
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
#include "game_event_handler.h"
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
#include "../tabs/tab_game.h"
|
||||
#include "abstract_game.h"
|
||||
#include "log/message_log_widget.h"
|
||||
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/get_pb_extension.h>
|
||||
#include <libcockatrice/protocol/pb/command_concede.pb.h>
|
||||
#include <libcockatrice/protocol/pb/command_delete_arrow.pb.h>
|
||||
#include <libcockatrice/protocol/pb/command_game_say.pb.h>
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
#include <libcockatrice/protocol/pb/event_set_active_phase.pb.h>
|
||||
#include <libcockatrice/protocol/pb/event_set_active_player.pb.h>
|
||||
#include <libcockatrice/protocol/pb/game_event_container.pb.h>
|
||||
#include <libcockatrice/server/get_pb_extension.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
|
||||
GameEventHandler::GameEventHandler(AbstractGame *_game) : QObject(_game), game(_game)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,10 +7,9 @@
|
|||
#ifndef COCKATRICE_GAME_STATE_H
|
||||
#define COCKATRICE_GAME_STATE_H
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QTimer>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/serverinfo_game.pb.h>
|
||||
|
||||
class AbstractGame;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
#include "../../server/chat_view/chat_view.h"
|
||||
#include "../zones/logic/card_zone_logic.h"
|
||||
|
||||
#include <libcockatrice/server/user_level.h>
|
||||
#include <libcockatrice/network/server/remote/user_level.h>
|
||||
|
||||
class AbstractGame;
|
||||
class CardItem;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
#include "player_list_widget.h"
|
||||
|
||||
#include "../../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../interface/pixel_map_generator.h"
|
||||
#include "../../server/user/user_context_menu.h"
|
||||
#include "../../server/user/user_list_manager.h"
|
||||
|
|
@ -13,6 +12,7 @@
|
|||
#include <QHeaderView>
|
||||
#include <QMenu>
|
||||
#include <QMouseEvent>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/command_kick_from_game.pb.h>
|
||||
#include <libcockatrice/protocol/pb/serverinfo_playerproperties.pb.h>
|
||||
#include <libcockatrice/protocol/pb/session_commands.pb.h>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
#include <QLoggingCategory>
|
||||
#include <QMap>
|
||||
#include <QPixmap>
|
||||
#include <libcockatrice/server/user_level.h>
|
||||
#include <libcockatrice/network/server/remote/user_level.h>
|
||||
|
||||
inline Q_LOGGING_CATEGORY(PixelMapGeneratorLog, "pixel_map_generator");
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
#include "home_widget.h"
|
||||
|
||||
#include "../../../../../libcockatrice_network/libcockatrice/client/remote/remote_client.h"
|
||||
#include "../../../tabs/tab_supervisor.h"
|
||||
#include "../../window_main.h"
|
||||
#include "background_sources.h"
|
||||
|
|
@ -11,6 +10,7 @@
|
|||
#include <QPushButton>
|
||||
#include <QVBoxLayout>
|
||||
#include <libcockatrice/card/card_database/card_database_manager.h>
|
||||
#include <libcockatrice/network/client/remote/remote_client.h>
|
||||
#include <libcockatrice/settings/cache_settings.h>
|
||||
|
||||
HomeWidget::HomeWidget(QWidget *parent, TabSupervisor *_tabSupervisor)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
#ifndef HOME_WIDGET_H
|
||||
#define HOME_WIDGET_H
|
||||
#include "../../../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../tabs/tab_supervisor.h"
|
||||
#include "../cards/card_info_picture_art_crop_widget.h"
|
||||
#include "home_styled_button.h"
|
||||
|
|
@ -15,6 +14,7 @@
|
|||
#include <QGridLayout>
|
||||
#include <QGroupBox>
|
||||
#include <QWidget>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
|
||||
class HomeWidget : public QWidget
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,9 +19,6 @@
|
|||
***************************************************************************/
|
||||
#include "window_main.h"
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/local/local_client.h"
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/remote/remote_client.h"
|
||||
#include "../../../libcockatrice_network/libcockatrice/server/local/local_server.h"
|
||||
#include "../client/get_text_with_max.h"
|
||||
#include "../client/network/client_update_checker.h"
|
||||
#include "../client/network/release_channel.h"
|
||||
|
|
@ -38,7 +35,6 @@
|
|||
#include "../dialogs/dlg_update.h"
|
||||
#include "../dialogs/dlg_view_log.h"
|
||||
#include "../main.h"
|
||||
#include "../server/local_server_interface.h"
|
||||
#include "../tabs/tab_game.h"
|
||||
#include "../tabs/tab_supervisor.h"
|
||||
#include "version_string.h"
|
||||
|
|
@ -66,6 +62,10 @@
|
|||
#include <QtNetwork>
|
||||
#include <libcockatrice/card/card_database/card_database.h>
|
||||
#include <libcockatrice/card/card_database/card_database_manager.h>
|
||||
#include <libcockatrice/network/client/local/local_client.h>
|
||||
#include <libcockatrice/network/client/remote/remote_client.h>
|
||||
#include <libcockatrice/network/server/local/local_server.h>
|
||||
#include <libcockatrice/network/server/local/local_server_interface.h>
|
||||
#include <libcockatrice/protocol/pb/event_connection_closed.pb.h>
|
||||
#include <libcockatrice/protocol/pb/event_server_shutdown.pb.h>
|
||||
#include <libcockatrice/protocol/pb/game_replay.pb.h>
|
||||
|
|
|
|||
|
|
@ -25,8 +25,6 @@
|
|||
#ifndef WINDOW_H
|
||||
#define WINDOW_H
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
|
||||
#include <QList>
|
||||
#include <QLoggingCategory>
|
||||
#include <QMainWindow>
|
||||
|
|
@ -34,6 +32,7 @@
|
|||
#include <QProcess>
|
||||
#include <QSystemTrayIcon>
|
||||
#include <QtNetwork>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/response.pb.h>
|
||||
|
||||
inline Q_LOGGING_CATEGORY(WindowMainLog, "window_main");
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
#include "interface/window_main.h"
|
||||
#include "version_string.h"
|
||||
|
||||
#include <../../libcockatrice_protocol/libcockatrice/protocol/featureset.h>
|
||||
#include <QApplication>
|
||||
#include <QCryptographicHash>
|
||||
#include <QDateTime>
|
||||
|
|
@ -43,7 +44,6 @@
|
|||
#include <QtPlugin>
|
||||
#include <libcockatrice/rng/rng_sfmt.h>
|
||||
#include <libcockatrice/settings/cache_settings.h>
|
||||
#include <libcockatrice/utility/featureset.h>
|
||||
#include <libcockatrice/utility/logger.h>
|
||||
|
||||
QTranslator *translator, *qtTranslator;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
#include <QDesktopServices>
|
||||
#include <QMouseEvent>
|
||||
#include <QScrollBar>
|
||||
#include <libcockatrice/server/user_level.h>
|
||||
#include <libcockatrice/network/server/remote/user_level.h>
|
||||
#include <libcockatrice/settings/cache_settings.h>
|
||||
|
||||
const QColor DEFAULT_MENTION_COLOR = QColor(194, 31, 47);
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
#include <QTextBrowser>
|
||||
#include <QTextCursor>
|
||||
#include <QTextFragment>
|
||||
#include <libcockatrice/server/room_message_type.h>
|
||||
#include <libcockatrice/server/user_level.h>
|
||||
#include <libcockatrice/network/server/remote/room_message_type.h>
|
||||
#include <libcockatrice/network/server/remote/user_level.h>
|
||||
|
||||
class AbstractGame;
|
||||
class QTextTable;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include "game_selector.h"
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
#include "../client/get_text_with_max.h"
|
||||
#include "../dialogs/dlg_create_game.h"
|
||||
#include "../dialogs/dlg_filter_games.h"
|
||||
|
|
@ -23,9 +21,11 @@
|
|||
#include <QPushButton>
|
||||
#include <QTreeView>
|
||||
#include <QVBoxLayout>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/response.pb.h>
|
||||
#include <libcockatrice/protocol/pb/room_commands.pb.h>
|
||||
#include <libcockatrice/protocol/pb/serverinfo_game.pb.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
|
||||
GameSelector::GameSelector(AbstractClient *_client,
|
||||
TabSupervisor *_tabSupervisor,
|
||||
|
|
|
|||
|
|
@ -1,14 +1,13 @@
|
|||
#include "remote_decklist_tree_widget.h"
|
||||
|
||||
#include "../../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
|
||||
#include <QFileIconProvider>
|
||||
#include <QHeaderView>
|
||||
#include <QSortFilterProxyModel>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/command_deck_list.pb.h>
|
||||
#include <libcockatrice/protocol/pb/response_deck_list.pb.h>
|
||||
#include <libcockatrice/protocol/pb/serverinfo_deckstorage.pb.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
|
||||
RemoteDeckList_TreeModel::DirectoryNode::DirectoryNode(const QString &_name,
|
||||
RemoteDeckList_TreeModel::DirectoryNode *_parent)
|
||||
|
|
|
|||
|
|
@ -1,14 +1,13 @@
|
|||
#include "remote_replay_list_tree_widget.h"
|
||||
|
||||
#include "../../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
|
||||
#include <QFileIconProvider>
|
||||
#include <QHeaderView>
|
||||
#include <QSortFilterProxyModel>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/command_replay_list.pb.h>
|
||||
#include <libcockatrice/protocol/pb/response_replay_list.pb.h>
|
||||
#include <libcockatrice/protocol/pb/serverinfo_replay.pb.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
|
||||
const int RemoteReplayList_TreeModel::numberOfColumns = 6;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include "user_context_menu.h"
|
||||
|
||||
#include "../../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
#include "../../tabs/tab_account.h"
|
||||
#include "../../tabs/tab_game.h"
|
||||
#include "../../tabs/tab_supervisor.h"
|
||||
|
|
@ -18,6 +16,7 @@
|
|||
#include <QSignalMapper>
|
||||
#include <QtGui>
|
||||
#include <QtWidgets>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/command_kick_from_game.pb.h>
|
||||
#include <libcockatrice/protocol/pb/commands.pb.h>
|
||||
#include <libcockatrice/protocol/pb/moderator_commands.pb.h>
|
||||
|
|
@ -28,6 +27,7 @@
|
|||
#include <libcockatrice/protocol/pb/response_warn_history.pb.h>
|
||||
#include <libcockatrice/protocol/pb/response_warn_list.pb.h>
|
||||
#include <libcockatrice/protocol/pb/session_commands.pb.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
|
||||
UserContextMenu::UserContextMenu(TabSupervisor *_tabSupervisor, QWidget *parent, AbstractGame *_game)
|
||||
: QObject(parent), client(_tabSupervisor->getClient()), tabSupervisor(_tabSupervisor),
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
#define USER_CONTEXT_MENU_H
|
||||
|
||||
#include <QObject>
|
||||
#include <libcockatrice/server/user_level.h>
|
||||
#include <libcockatrice/network/server/remote/user_level.h>
|
||||
|
||||
class AbstractGame;
|
||||
class UserListProxy;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include "user_info_box.h"
|
||||
|
||||
#include "../../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
#include "../../client/get_text_with_max.h"
|
||||
#include "../../dialogs/dlg_edit_avatar.h"
|
||||
#include "../../dialogs/dlg_edit_password.h"
|
||||
|
|
@ -14,9 +12,11 @@
|
|||
#include <QInputDialog>
|
||||
#include <QLabel>
|
||||
#include <QMessageBox>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/response_get_user_info.pb.h>
|
||||
#include <libcockatrice/protocol/pb/serverinfo_user.pb.h>
|
||||
#include <libcockatrice/protocol/pb/session_commands.pb.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
#include <libcockatrice/utility/passwordhasher.h>
|
||||
|
||||
UserInfoBox::UserInfoBox(AbstractClient *_client, bool _editable, QWidget *parent, Qt::WindowFlags flags)
|
||||
|
|
|
|||
|
|
@ -1,16 +1,16 @@
|
|||
#include "user_list_manager.h"
|
||||
|
||||
#include "../../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
#include "../../client/sound_engine.h"
|
||||
#include "user_info_box.h"
|
||||
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/event_add_to_list.pb.h>
|
||||
#include <libcockatrice/protocol/pb/event_remove_from_list.pb.h>
|
||||
#include <libcockatrice/protocol/pb/event_user_joined.pb.h>
|
||||
#include <libcockatrice/protocol/pb/event_user_left.pb.h>
|
||||
#include <libcockatrice/protocol/pb/response_list_users.pb.h>
|
||||
#include <libcockatrice/protocol/pb/session_commands.pb.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
|
||||
UserListManager::UserListManager(AbstractClient *_client, QObject *parent)
|
||||
: QObject(parent), client(_client), ownUserInfo(nullptr)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include "user_list_widget.h"
|
||||
|
||||
#include "../../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
#include "../../interface/pixel_map_generator.h"
|
||||
#include "../../tabs/tab_account.h"
|
||||
#include "../../tabs/tab_supervisor.h"
|
||||
|
|
@ -25,10 +23,12 @@
|
|||
#include <QSpinBox>
|
||||
#include <QVBoxLayout>
|
||||
#include <QWidget>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/moderator_commands.pb.h>
|
||||
#include <libcockatrice/protocol/pb/response_get_games_of_user.pb.h>
|
||||
#include <libcockatrice/protocol/pb/response_get_user_info.pb.h>
|
||||
#include <libcockatrice/protocol/pb/session_commands.pb.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
#include <libcockatrice/utility/trice_limits.h>
|
||||
|
||||
BanDialog::BanDialog(const ServerInfo_User &info, QWidget *parent) : QDialog(parent)
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@
|
|||
#include <QStyledItemDelegate>
|
||||
#include <QTextEdit>
|
||||
#include <QTreeWidgetItem>
|
||||
#include <libcockatrice/network/server/remote/user_level.h>
|
||||
#include <libcockatrice/protocol/pb/moderator_commands.pb.h>
|
||||
#include <libcockatrice/server/user_level.h>
|
||||
|
||||
class QTreeWidget;
|
||||
class ServerInfo_User;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include "abstract_tab_deck_editor.h"
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
#include "../client/tapped_out_interface.h"
|
||||
#include "../deck/deck_stats_interface.h"
|
||||
#include "../dialogs/dlg_load_deck.h"
|
||||
|
|
@ -35,8 +33,10 @@
|
|||
#include <QUrl>
|
||||
#include <libcockatrice/card/card_database/card_database_manager.h>
|
||||
#include <libcockatrice/card/card_database/model/card_database_model.h>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/command_deck_upload.pb.h>
|
||||
#include <libcockatrice/protocol/pb/response.pb.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
#include <libcockatrice/settings/cache_settings.h>
|
||||
#include <libcockatrice/utility/trice_limits.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include "tab_account.h"
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
#include "../client/sound_engine.h"
|
||||
#include "../deck/custom_line_edit.h"
|
||||
#include "../server/user/user_info_box.h"
|
||||
|
|
@ -11,12 +9,14 @@
|
|||
|
||||
#include <QPushButton>
|
||||
#include <QVBoxLayout>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/event_add_to_list.pb.h>
|
||||
#include <libcockatrice/protocol/pb/event_remove_from_list.pb.h>
|
||||
#include <libcockatrice/protocol/pb/event_user_joined.pb.h>
|
||||
#include <libcockatrice/protocol/pb/event_user_left.pb.h>
|
||||
#include <libcockatrice/protocol/pb/response_list_users.pb.h>
|
||||
#include <libcockatrice/protocol/pb/session_commands.pb.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
#include <libcockatrice/utility/trice_limits.h>
|
||||
|
||||
TabAccount::TabAccount(TabSupervisor *_tabSupervisor, AbstractClient *_client, const ServerInfo_User &userInfo)
|
||||
|
|
|
|||
|
|
@ -1,8 +1,5 @@
|
|||
#include "tab_admin.h"
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
|
||||
#include <QDialogButtonBox>
|
||||
#include <QGridLayout>
|
||||
#include <QGroupBox>
|
||||
|
|
@ -11,9 +8,11 @@
|
|||
#include <QMessageBox>
|
||||
#include <QPushButton>
|
||||
#include <QSpinBox>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/admin_commands.pb.h>
|
||||
#include <libcockatrice/protocol/pb/event_replay_added.pb.h>
|
||||
#include <libcockatrice/protocol/pb/moderator_commands.pb.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
#include <libcockatrice/utility/trice_limits.h>
|
||||
|
||||
ShutdownDialog::ShutdownDialog(QWidget *parent) : QDialog(parent)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include "tab_deck_editor.h"
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
#include "../client/deck_editor_menu.h"
|
||||
#include "../client/tapped_out_interface.h"
|
||||
#include "../dialogs/dlg_load_deck.h"
|
||||
|
|
@ -36,6 +34,8 @@
|
|||
#include <QVBoxLayout>
|
||||
#include <libcockatrice/card/card_database/card_database_manager.h>
|
||||
#include <libcockatrice/card/card_database/model/card_database_model.h>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
#include <libcockatrice/settings/cache_settings.h>
|
||||
#include <libcockatrice/utility/trice_limits.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
#include "tab_deck_storage.h"
|
||||
|
||||
#include "../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
#include "../client/get_text_with_max.h"
|
||||
#include "../deck/deck_loader.h"
|
||||
#include "../server/remote/remote_decklist_tree_widget.h"
|
||||
|
|
@ -28,6 +27,7 @@
|
|||
#include <libcockatrice/protocol/pb/response.pb.h>
|
||||
#include <libcockatrice/protocol/pb/response_deck_download.pb.h>
|
||||
#include <libcockatrice/protocol/pb/response_deck_upload.pb.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
#include <libcockatrice/settings/cache_settings.h>
|
||||
|
||||
TabDeckStorage::TabDeckStorage(TabSupervisor *_tabSupervisor,
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@
|
|||
#ifndef TAB_DECK_STORAGE_H
|
||||
#define TAB_DECK_STORAGE_H
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../server/remote/remote_decklist_tree_widget.h"
|
||||
#include "tab.h"
|
||||
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
|
||||
class ServerInfo_User;
|
||||
class AbstractClient;
|
||||
class QTreeView;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
#include "tab_game.h"
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../client/network/replay_timeline_widget.h"
|
||||
#include "../dialogs/dlg_create_game.h"
|
||||
#include "../game/board/arrow_item.h"
|
||||
|
|
@ -40,6 +39,7 @@
|
|||
#include <QWidget>
|
||||
#include <libcockatrice/card/card_database/card_database.h>
|
||||
#include <libcockatrice/card/card_database/card_database_manager.h>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/event_game_joined.pb.h>
|
||||
#include <libcockatrice/protocol/pb/game_replay.pb.h>
|
||||
#include <libcockatrice/protocol/pb/serverinfo_player.pb.h>
|
||||
|
|
|
|||
|
|
@ -7,11 +7,11 @@
|
|||
#ifndef TAB_HOME_H
|
||||
#define TAB_HOME_H
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../interface/widgets/general/home_widget.h"
|
||||
#include "tab.h"
|
||||
|
||||
#include <QHBoxLayout>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <qgroupbox.h>
|
||||
|
||||
class AbstractClient;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include "tab_logs.h"
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
#include "../deck/custom_line_edit.h"
|
||||
#include "../dialogs/dlg_manage_sets.h"
|
||||
|
||||
|
|
@ -17,8 +15,10 @@
|
|||
#include <QTabWidget>
|
||||
#include <QtGui>
|
||||
#include <QtWidgets>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/moderator_commands.pb.h>
|
||||
#include <libcockatrice/protocol/pb/response_viewlog_history.pb.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
#include <libcockatrice/utility/trice_limits.h>
|
||||
|
||||
TabLog::TabLog(TabSupervisor *_tabSupervisor, AbstractClient *_client) : Tab(_tabSupervisor), client(_client)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include "tab_message.h"
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
#include "../client/sound_engine.h"
|
||||
#include "../deck/custom_line_edit.h"
|
||||
#include "../main.h"
|
||||
|
|
@ -13,9 +11,11 @@
|
|||
#include <QMenu>
|
||||
#include <QSystemTrayIcon>
|
||||
#include <QVBoxLayout>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/event_user_message.pb.h>
|
||||
#include <libcockatrice/protocol/pb/serverinfo_user.pb.h>
|
||||
#include <libcockatrice/protocol/pb/session_commands.pb.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
#include <libcockatrice/settings/cache_settings.h>
|
||||
#include <libcockatrice/utility/trice_limits.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include "tab_replays.h"
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
#include "../server/remote/remote_replay_list_tree_widget.h"
|
||||
#include "tab_game.h"
|
||||
|
||||
|
|
@ -19,6 +17,7 @@
|
|||
#include <QTreeView>
|
||||
#include <QUrl>
|
||||
#include <QVBoxLayout>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/command_replay_delete_match.pb.h>
|
||||
#include <libcockatrice/protocol/pb/command_replay_download.pb.h>
|
||||
#include <libcockatrice/protocol/pb/command_replay_get_code.pb.h>
|
||||
|
|
@ -29,6 +28,7 @@
|
|||
#include <libcockatrice/protocol/pb/response.pb.h>
|
||||
#include <libcockatrice/protocol/pb/response_replay_download.pb.h>
|
||||
#include <libcockatrice/protocol/pb/response_replay_get_code.pb.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
#include <libcockatrice/settings/cache_settings.h>
|
||||
|
||||
TabReplays::TabReplays(TabSupervisor *_tabSupervisor, AbstractClient *_client, const ServerInfo_User *currentUserInfo)
|
||||
|
|
|
|||
|
|
@ -8,9 +8,10 @@
|
|||
#ifndef TAB_REPLAYS_H
|
||||
#define TAB_REPLAYS_H
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "tab.h"
|
||||
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
|
||||
class ServerInfo_User;
|
||||
class Response;
|
||||
class AbstractClient;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include "tab_room.h"
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
#include "../dialogs/dlg_settings.h"
|
||||
#include "../main.h"
|
||||
#include "../server/chat_view/chat_view.h"
|
||||
|
|
@ -11,6 +9,7 @@
|
|||
#include "tab_account.h"
|
||||
#include "tab_supervisor.h"
|
||||
|
||||
#include <../../../libcockatrice_protocol/libcockatrice/protocol/get_pb_extension.h>
|
||||
#include <QApplication>
|
||||
#include <QCompleter>
|
||||
#include <QLabel>
|
||||
|
|
@ -22,6 +21,7 @@
|
|||
#include <QToolButton>
|
||||
#include <QVBoxLayout>
|
||||
#include <QtCore/qdatetime.h>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/event_join_room.pb.h>
|
||||
#include <libcockatrice/protocol/pb/event_leave_room.pb.h>
|
||||
#include <libcockatrice/protocol/pb/event_list_games.pb.h>
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
#include <libcockatrice/protocol/pb/event_room_say.pb.h>
|
||||
#include <libcockatrice/protocol/pb/room_commands.pb.h>
|
||||
#include <libcockatrice/protocol/pb/serverinfo_room.pb.h>
|
||||
#include <libcockatrice/server/get_pb_extension.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
#include <libcockatrice/settings/cache_settings.h>
|
||||
#include <libcockatrice/utility/trice_limits.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include "tab_server.h"
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../../../libcockatrice_protocol/libcockatrice/protocol/pending_command.h"
|
||||
#include "../server/user/user_list_widget.h"
|
||||
#include "tab_supervisor.h"
|
||||
|
||||
|
|
@ -16,10 +14,12 @@
|
|||
#include <QTextEdit>
|
||||
#include <QTreeView>
|
||||
#include <QVBoxLayout>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/event_list_rooms.pb.h>
|
||||
#include <libcockatrice/protocol/pb/event_server_message.pb.h>
|
||||
#include <libcockatrice/protocol/pb/response_join_room.pb.h>
|
||||
#include <libcockatrice/protocol/pb/session_commands.pb.h>
|
||||
#include <libcockatrice/protocol/pending_command.h>
|
||||
|
||||
RoomSelector::RoomSelector(AbstractClient *_client, QWidget *parent) : QGroupBox(parent), client(_client)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
#include "tab_supervisor.h"
|
||||
|
||||
#include "../../../libcockatrice_network/libcockatrice/client/abstract/abstract_client.h"
|
||||
#include "../interface/pixel_map_generator.h"
|
||||
#include "../main.h"
|
||||
#include "../server/user/user_list_manager.h"
|
||||
|
|
@ -26,6 +25,7 @@
|
|||
#include <QMessageBox>
|
||||
#include <QPainter>
|
||||
#include <QSystemTrayIcon>
|
||||
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
||||
#include <libcockatrice/protocol/pb/event_game_joined.pb.h>
|
||||
#include <libcockatrice/protocol/pb/event_notify_user.pb.h>
|
||||
#include <libcockatrice/protocol/pb/event_user_message.pb.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue