From 9f82e847f35eb93cb9e015467a0941ea1dc2d456 Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 27 Jan 2020 16:10:59 +0300 Subject: [PATCH] Do not include MessageContent.h in MessagesManager.h. GitOrigin-RevId: 7fb80f10bbc2a51a971b60ab470b6f9c8c249672 --- td/telegram/MessagesManager.h | 9 ++++++--- td/telegram/NotificationManager.cpp | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/td/telegram/MessagesManager.h b/td/telegram/MessagesManager.h index 64953ea4..53e4dfca 100644 --- a/td/telegram/MessagesManager.h +++ b/td/telegram/MessagesManager.h @@ -24,7 +24,6 @@ #include "td/telegram/FolderId.h" #include "td/telegram/FullMessageId.h" #include "td/telegram/Global.h" -#include "td/telegram/MessageContent.h" #include "td/telegram/MessageContentType.h" #include "td/telegram/MessageEntity.h" #include "td/telegram/MessageId.h" @@ -74,11 +73,15 @@ namespace td { struct BinlogEvent; -class Td; +class DraftMessage; + +struct InputMessageContent; + +class MessageContent; class MultiSequenceDispatcher; -class DraftMessage; +class Td; class dummyUpdate : public telegram_api::Update { public: diff --git a/td/telegram/NotificationManager.cpp b/td/telegram/NotificationManager.cpp index 6153b875..bc572f43 100644 --- a/td/telegram/NotificationManager.cpp +++ b/td/telegram/NotificationManager.cpp @@ -17,6 +17,7 @@ #include "td/telegram/DocumentsManager.h" #include "td/telegram/files/FileManager.h" #include "td/telegram/Global.h" +#include "td/telegram/logevent/LogEvent.h" #include "td/telegram/MessagesManager.h" #include "td/telegram/misc.h" #include "td/telegram/net/ConnectionCreator.h"