Removed unused include directives from MainWidget.

This commit is contained in:
23rd 2024-08-22 17:21:11 +03:00
parent 7c604fc86a
commit 69fc2f48bf
4 changed files with 6 additions and 21 deletions

View file

@ -15,6 +15,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "boxes/url_auth_box.h"
#include "boxes/peers/choose_peer_box.h"
#include "lang/lang_keys.h"
#include "chat_helpers/bot_command.h"
#include "core/core_cloud_password.h"
#include "core/click_handler_types.h"
#include "data/data_changes.h"

View file

@ -8,6 +8,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/click_handler_types.h"
#include "lang/lang_keys.h"
#include "chat_helpers/bot_command.h"
#include "core/application.h"
#include "core/local_url_handlers.h"
#include "mainwidget.h"

View file

@ -43,6 +43,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "window/window_controller.h"
#include "window/window_peer_menu.h"
#include "window/themes/window_theme.h"
#include "chat_helpers/bot_command.h"
#include "chat_helpers/tabbed_selector.h" // TabbedSelector::refreshStickers
#include "chat_helpers/message_field.h"
#include "info/info_memento.h"

View file

@ -8,25 +8,16 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#pragma once
#include "base/weak_ptr.h"
#include "chat_helpers/bot_command.h"
#include "media/player/media_player_float.h"
#include "mtproto/sender.h"
struct HistoryMessageMarkupButton;
class MainWindow;
class HistoryWidget;
class StackItem;
class History;
class Image;
namespace MTP {
class Error;
} // namespace MTP
namespace Api {
struct SendAction;
struct SendOptions;
} // namespace Api
namespace Bot {
struct SendCommandRequest;
} // namespace Bot
namespace SendMenu {
struct Details;
@ -68,10 +59,8 @@ struct Content;
namespace Ui {
class ChatTheme;
class ConfirmBox;
class ResizeArea;
class PlainShadow;
class DropdownMenu;
enum class ReportReason;
template <typename Widget>
class SlideWrap;
@ -83,7 +72,6 @@ template <typename Inner>
class TopBarWrapWidget;
class SectionMemento;
class SectionWidget;
class AbstractSectionWidget;
class SlideAnimation;
class ConnectionState;
struct SectionSlideParams;
@ -103,12 +91,6 @@ namespace Core {
class Changelogs;
} // namespace Core
namespace InlineBots {
namespace Layout {
class ItemBase;
} // namespace Layout
} // namespace InlineBots
class MainWidget final
: public Ui::RpWidget
, private Media::Player::FloatDelegate {