From ed0e5b9958d049278f100a078bc211aaa9c6829c Mon Sep 17 00:00:00 2001 From: leha-bot Date: Wed, 11 Apr 2018 15:46:01 +0300 Subject: [PATCH] Reorganize #include's in ui/text/text.cpp Now it compiles faster Related to #16 --- Telegram/SourceFiles/ui/text/text.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Telegram/SourceFiles/ui/text/text.cpp b/Telegram/SourceFiles/ui/text/text.cpp index 2900d975f..59cb93b34 100644 --- a/Telegram/SourceFiles/ui/text/text.cpp +++ b/Telegram/SourceFiles/ui/text/text.cpp @@ -18,15 +18,18 @@ to link the code of portions of this program with the OpenSSL library. Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org */ + +#include + #include "ui/text/text.h" +#include "core/utils.h" // makeShared +#include "core/click_handler_types.h" // UrlClickHandler -#include "core/click_handler_types.h" -#include "ui/text/text_block.h" -#include "lang/lang_keys.h" -#include "platform/platform_specific.h" -#include "boxes/confirm_box.h" -#include "mainwindow.h" +#include "ui/text/text_block.h" // TextBlockTSkip, ... +#include "styles/style_basic.h" // style::TextStyle + +class HiddenUrlClickHandler; namespace {