summaryrefslogtreecommitdiff
path: root/include/tgbot/net
diff options
context:
space:
mode:
authorEgor Pugin <egor.pugin@gmail.com>2020-03-14 17:46:30 +0300
committerEgor Pugin <egor.pugin@gmail.com>2020-03-14 17:46:30 +0300
commit16bfe727751293c3b01b58170c732ccd24e720e2 (patch)
tree94eef558392093ea98a76bc857be750b5ba55211 /include/tgbot/net
parente12563189c2eedc9c7ae7cfc85cae842fb4b6141 (diff)
Improve include order. Add some forward decls.
Diffstat (limited to 'include/tgbot/net')
-rw-r--r--include/tgbot/net/TgLongPoll.h11
1 files changed, 7 insertions, 4 deletions
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 <cstdint>
-
-#include "tgbot/Bot.h"
-#include "tgbot/Api.h"
-#include "tgbot/EventHandler.h"
+#include <memory>
+#include <string>
+#include <vector>
namespace TgBot {
+class Api;
+class Bot;
+class EventHandler;
+
/**
* @brief This class handles long polling and updates parsing.
*