From 16bfe727751293c3b01b58170c732ccd24e720e2 Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Sat, 14 Mar 2020 17:46:30 +0300 Subject: Improve include order. Add some forward decls. --- include/tgbot/net/TgLongPoll.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'include/tgbot/net') diff --git a/include/tgbot/net/TgLongPoll.h b/include/tgbot/net/TgLongPoll.h index 017c012..53214fb 100644 --- a/include/tgbot/net/TgLongPoll.h +++ b/include/tgbot/net/TgLongPoll.h @@ -2,13 +2,16 @@ #define TGBOT_TGLONGPOLL_H #include - -#include "tgbot/Bot.h" -#include "tgbot/Api.h" -#include "tgbot/EventHandler.h" +#include +#include +#include namespace TgBot { +class Api; +class Bot; +class EventHandler; + /** * @brief This class handles long polling and updates parsing. * -- cgit v1.2.3