From 7dac57cc0e7e93cd97ece2b4c356411b057235df Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sun, 5 Jun 2022 07:55:53 +0300 Subject: [PATCH] Slightly improved includes in HistoryWidget. --- Telegram/SourceFiles/history/history_widget.h | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/Telegram/SourceFiles/history/history_widget.h b/Telegram/SourceFiles/history/history_widget.h index f6bd61df09..51ebf56500 100644 --- a/Telegram/SourceFiles/history/history_widget.h +++ b/Telegram/SourceFiles/history/history_widget.h @@ -10,8 +10,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "history/history_drag_area.h" #include "history/history_view_highlight_manager.h" #include "history/history.h" -#include "ui/widgets/tooltip.h" -#include "mainwidget.h" #include "chat_helpers/bot_command.h" #include "chat_helpers/field_autocomplete.h" #include "window/section_widget.h" @@ -23,11 +21,11 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "base/timer.h" struct FileLoadResult; -struct SendingAlbum; enum class SendMediaType; class MessageLinksParser; struct InlineBotQuery; struct AutocompleteQuery; +class History; namespace MTP { class Error; @@ -48,11 +46,9 @@ struct SendAction; namespace InlineBots { namespace Layout { -class ItemBase; class Widget; } // namespace Layout struct ResultSelected; -class AttachBotsList; } // namespace InlineBots namespace Support { @@ -61,18 +57,15 @@ struct Contact; } // namespace Support namespace Ui { -class AbstractButton; class InnerDropdown; class DropdownMenu; class PlainShadow; -class PopupMenu; class IconButton; class HistoryDownButton; class EmojiButton; class SendButton; class SilentToggle; class FlatButton; -class LinkButton; class RoundButton; class PinnedBar; class GroupCallBar; @@ -94,14 +87,9 @@ class SessionController; namespace ChatHelpers { class TabbedPanel; -class TabbedSection; class TabbedSelector; } // namespace ChatHelpers -namespace Storage { -enum class MimeDataState; -} // namespace Storage - namespace HistoryView { class StickerToast; class TopBarWidget; @@ -116,11 +104,8 @@ class TTLButton; } // namespace Controls } // namespace HistoryView -class SendFilesBox; class BotKeyboard; -class MessageField; class HistoryInner; -struct HistoryMessageMarkupButton; extern const char kOptionAutoScrollInactiveChat[];