From 6336ed33faf9023d9a495f6cbd706624a8a0da28 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Fri, 16 Feb 2024 21:57:03 +0300 Subject: [PATCH] Removed some include directives. --- Telegram/SourceFiles/boxes/send_files_box.cpp | 9 --------- .../view/history_view_replies_section.cpp | 19 ------------------- .../view/history_view_scheduled_section.cpp | 16 ---------------- 3 files changed, 44 deletions(-) diff --git a/Telegram/SourceFiles/boxes/send_files_box.cpp b/Telegram/SourceFiles/boxes/send_files_box.cpp index 8b871cb635..455630fb1b 100644 --- a/Telegram/SourceFiles/boxes/send_files_box.cpp +++ b/Telegram/SourceFiles/boxes/send_files_box.cpp @@ -8,7 +8,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "boxes/send_files_box.h" #include "lang/lang_keys.h" -#include "storage/localimageloader.h" #include "storage/localstorage.h" #include "storage/storage_media_prepare.h" #include "mainwidget.h" @@ -24,7 +23,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "history/history_drag_area.h" #include "history/view/controls/history_view_characters_limit.h" #include "history/view/history_view_schedule_box.h" -#include "core/file_utilities.h" #include "core/mime_type.h" #include "base/event_filter.h" #include "base/call_delayed.h" @@ -32,13 +30,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "boxes/premium_preview_box.h" #include "ui/effects/scroll_content_shadow.h" #include "ui/widgets/checkbox.h" -#include "ui/widgets/buttons.h" -#include "ui/widgets/fields/input_field.h" #include "ui/widgets/scroll_area.h" #include "ui/widgets/popup_menu.h" -#include "ui/wrap/vertical_layout.h" -#include "ui/chat/attach/attach_prepare.h" -#include "ui/chat/attach/attach_send_files_way.h" #include "ui/chat/attach/attach_album_preview.h" #include "ui/chat/attach/attach_single_file_preview.h" #include "ui/chat/attach/attach_single_media_preview.h" @@ -53,14 +46,12 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "data/data_premium_limits.h" #include "data/stickers/data_stickers.h" #include "data/stickers/data_custom_emoji.h" -#include "api/api_common.h" #include "window/window_session_controller.h" #include "core/application.h" #include "core/core_settings.h" #include "styles/style_layers.h" #include "styles/style_boxes.h" #include "styles/style_chat_helpers.h" -#include "styles/style_menu_icons.h" #include diff --git a/Telegram/SourceFiles/history/view/history_view_replies_section.cpp b/Telegram/SourceFiles/history/view/history_view_replies_section.cpp index a599e638ea..92aef0048a 100644 --- a/Telegram/SourceFiles/history/view/history_view_replies_section.cpp +++ b/Telegram/SourceFiles/history/view/history_view_replies_section.cpp @@ -8,12 +8,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "history/view/history_view_replies_section.h" #include "history/view/controls/history_view_compose_controls.h" -#include "history/view/controls/history_view_forward_panel.h" #include "history/view/controls/history_view_draft_options.h" #include "history/view/history_view_top_bar_widget.h" -#include "history/view/history_view_list_widget.h" #include "history/view/history_view_schedule_box.h" -#include "history/view/history_view_pinned_bar.h" #include "history/view/history_view_sticker_toast.h" #include "history/view/history_view_cursor_state.h" #include "history/view/history_view_contact_status.h" @@ -25,43 +22,29 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "history/history.h" #include "history/history_drag_area.h" #include "history/history_item_components.h" -#include "history/history_item.h" #include "history/history_item_helpers.h" // GetErrorTextForSending. -#include "menu/menu_send.h" // SendMenu::Type. -#include "ui/chat/attach/attach_prepare.h" -#include "ui/chat/attach/attach_send_files_way.h" #include "ui/chat/pinned_bar.h" #include "ui/chat/chat_style.h" #include "ui/widgets/buttons.h" #include "ui/widgets/scroll_area.h" -#include "ui/widgets/shadow.h" #include "ui/widgets/popup_menu.h" -#include "ui/wrap/slide_wrap.h" -#include "ui/layers/generic_box.h" -#include "ui/item_text_options.h" #include "ui/text/format_values.h" #include "ui/text/text_utilities.h" #include "ui/effects/message_sending_animation_controller.h" -#include "ui/ui_utility.h" #include "base/timer_rpl.h" #include "api/api_bot.h" -#include "api/api_common.h" #include "api/api_editing.h" #include "api/api_sending.h" #include "apiwrap.h" #include "ui/boxes/confirm_box.h" #include "chat_helpers/tabbed_selector.h" #include "boxes/delete_messages_box.h" -#include "boxes/edit_caption_box.h" #include "boxes/send_files_box.h" #include "boxes/premium_limits_box.h" -#include "window/window_adaptive.h" #include "window/window_session_controller.h" #include "window/window_peer_menu.h" -#include "base/event_filter.h" #include "base/call_delayed.h" #include "base/qt/qt_key_modifiers.h" -#include "core/file_utilities.h" #include "core/application.h" #include "core/shortcuts.h" #include "core/click_handler_types.h" @@ -81,7 +64,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "data/data_send_action.h" #include "data/data_premium_limits.h" #include "storage/storage_media_prepare.h" -#include "storage/storage_shared_media.h" #include "storage/storage_account.h" #include "storage/localimageloader.h" #include "inline_bots/inline_bot_result.h" @@ -90,7 +72,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "styles/style_chat.h" #include "styles/style_chat_helpers.h" #include "styles/style_window.h" -#include "styles/style_info.h" #include "styles/style_boxes.h" #include "styles/style_layers.h" diff --git a/Telegram/SourceFiles/history/view/history_view_scheduled_section.cpp b/Telegram/SourceFiles/history/view/history_view_scheduled_section.cpp index dae80a18d2..4ceb2b3f46 100644 --- a/Telegram/SourceFiles/history/view/history_view_scheduled_section.cpp +++ b/Telegram/SourceFiles/history/view/history_view_scheduled_section.cpp @@ -10,43 +10,29 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "history/view/controls/history_view_compose_controls.h" #include "history/view/history_view_empty_list_bubble.h" #include "history/view/history_view_top_bar_widget.h" -#include "history/view/history_view_list_widget.h" #include "history/view/history_view_schedule_box.h" #include "history/view/history_view_sticker_toast.h" #include "history/history.h" #include "history/history_drag_area.h" -#include "history/history_item.h" #include "history/history_item_helpers.h" // GetErrorTextForSending. #include "menu/menu_send.h" // SendMenu::Type. #include "ui/widgets/scroll_area.h" #include "ui/widgets/shadow.h" -#include "ui/layers/generic_box.h" -#include "ui/item_text_options.h" #include "ui/chat/chat_style.h" -#include "ui/chat/attach/attach_prepare.h" -#include "ui/chat/attach/attach_send_files_way.h" -#include "ui/ui_utility.h" #include "ui/text/text_utilities.h" -#include "api/api_common.h" #include "api/api_editing.h" #include "api/api_sending.h" #include "apiwrap.h" -#include "ui/boxes/confirm_box.h" #include "boxes/delete_messages_box.h" -#include "boxes/edit_caption_box.h" #include "boxes/send_files_box.h" #include "boxes/premium_limits_box.h" -#include "window/window_adaptive.h" #include "window/window_session_controller.h" #include "window/window_peer_menu.h" -#include "base/event_filter.h" #include "base/call_delayed.h" #include "base/qt/qt_key_modifiers.h" -#include "core/file_utilities.h" #include "core/mime_type.h" #include "chat_helpers/tabbed_selector.h" #include "main/main_session.h" -#include "data/data_chat_participant_status.h" #include "data/data_session.h" #include "data/data_changes.h" #include "data/data_scheduled_messages.h" @@ -61,8 +47,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "lang/lang_keys.h" #include "styles/style_chat.h" #include "styles/style_chat_helpers.h" -#include "styles/style_window.h" -#include "styles/style_info.h" #include "styles/style_boxes.h" #include