summaryrefslogtreecommitdiff
path: root/include/tgbot
diff options
context:
space:
mode:
authorEgor Pugin <egor.pugin@gmail.com>2020-03-22 20:19:51 +0300
committerEgor Pugin <egor.pugin@gmail.com>2020-03-22 20:19:51 +0300
commit0777be1e0568377893d638f7015edc330602c8e5 (patch)
tree8446df5b4ebcd6e3823aa3ee50286d6c6d31a4a8 /include/tgbot
parent0e9a5bb427757b8b6ecb2734e602fe5bc7e6354b (diff)
parenta2ea1d3c9df1718cafaf0e51d19c73e0ced903e5 (diff)
Merge branch 'master' of github.com-egorpugin:reo7sp/tgbot-cpp
Diffstat (limited to 'include/tgbot')
-rw-r--r--include/tgbot/Api.h1
-rw-r--r--include/tgbot/EventBroadcaster.h1
-rw-r--r--include/tgbot/TgTypeParser.h4
-rw-r--r--include/tgbot/net/BoostHttpOnlySslClient.h1
-rw-r--r--include/tgbot/net/CurlHttpClient.h1
-rw-r--r--include/tgbot/net/HttpClient.h1
-rw-r--r--include/tgbot/net/HttpReqArg.h1
-rw-r--r--include/tgbot/net/HttpServer.h4
-rw-r--r--include/tgbot/net/TgWebhookLocalServer.h2
-rw-r--r--include/tgbot/net/TgWebhookServer.h2
-rw-r--r--include/tgbot/net/TgWebhookTcpServer.h2
11 files changed, 19 insertions, 1 deletions
diff --git a/include/tgbot/Api.h b/include/tgbot/Api.h
index 04238ff..eddbe50 100644
--- a/include/tgbot/Api.h
+++ b/include/tgbot/Api.h
@@ -25,6 +25,7 @@
#include <boost/variant.hpp>
#include <cstdint>
+#include <memory>
#include <string>
#include <vector>
diff --git a/include/tgbot/EventBroadcaster.h b/include/tgbot/EventBroadcaster.h
index 8d0d319..44cad96 100644
--- a/include/tgbot/EventBroadcaster.h
+++ b/include/tgbot/EventBroadcaster.h
@@ -7,6 +7,7 @@
#include "tgbot/types/ChosenInlineResult.h"
#include "tgbot/types/CallbackQuery.h"
+#include <initializer_list>
#include <string>
#include <functional>
#include <vector>
diff --git a/include/tgbot/TgTypeParser.h b/include/tgbot/TgTypeParser.h
index 63ed1ca..b080bc4 100644
--- a/include/tgbot/TgTypeParser.h
+++ b/include/tgbot/TgTypeParser.h
@@ -84,7 +84,11 @@
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
+#include <memory>
+#include <sstream>
#include <string>
+#include <vector>
+#include <utility>
namespace TgBot {
diff --git a/include/tgbot/net/BoostHttpOnlySslClient.h b/include/tgbot/net/BoostHttpOnlySslClient.h
index a047fea..dbe0c96 100644
--- a/include/tgbot/net/BoostHttpOnlySslClient.h
+++ b/include/tgbot/net/BoostHttpOnlySslClient.h
@@ -9,6 +9,7 @@
#include <boost/asio.hpp>
#include <string>
+#include <vector>
namespace TgBot {
diff --git a/include/tgbot/net/CurlHttpClient.h b/include/tgbot/net/CurlHttpClient.h
index 30e72ba..0f93937 100644
--- a/include/tgbot/net/CurlHttpClient.h
+++ b/include/tgbot/net/CurlHttpClient.h
@@ -11,6 +11,7 @@
#include <curl/curl.h>
#include <string>
+#include <vector>
namespace TgBot {
diff --git a/include/tgbot/net/HttpClient.h b/include/tgbot/net/HttpClient.h
index 9b452d8..a35dd7d 100644
--- a/include/tgbot/net/HttpClient.h
+++ b/include/tgbot/net/HttpClient.h
@@ -5,6 +5,7 @@
#include "tgbot/net/HttpReqArg.h"
#include <string>
+#include <vector>
namespace TgBot {
diff --git a/include/tgbot/net/HttpReqArg.h b/include/tgbot/net/HttpReqArg.h
index 7c23eab..fcdd424 100644
--- a/include/tgbot/net/HttpReqArg.h
+++ b/include/tgbot/net/HttpReqArg.h
@@ -6,7 +6,6 @@
#include <boost/lexical_cast.hpp>
#include <string>
-#include <utility>
#include <vector>
#include <functional>
diff --git a/include/tgbot/net/HttpServer.h b/include/tgbot/net/HttpServer.h
index 51210d7..2c94dcf 100644
--- a/include/tgbot/net/HttpServer.h
+++ b/include/tgbot/net/HttpServer.h
@@ -6,8 +6,12 @@
#include <boost/asio.hpp>
#include <cstddef>
+#include <exception>
+#include <functional>
#include <iostream>
+#include <memory>
#include <string>
+#include <unordered_map>
#include <utility>
namespace TgBot {
diff --git a/include/tgbot/net/TgWebhookLocalServer.h b/include/tgbot/net/TgWebhookLocalServer.h
index 2a64374..25efa66 100644
--- a/include/tgbot/net/TgWebhookLocalServer.h
+++ b/include/tgbot/net/TgWebhookLocalServer.h
@@ -5,6 +5,8 @@
#include "tgbot/net/TgWebhookServer.h"
+#include <string>
+
namespace TgBot {
/**
diff --git a/include/tgbot/net/TgWebhookServer.h b/include/tgbot/net/TgWebhookServer.h
index 85b2934..8e89765 100644
--- a/include/tgbot/net/TgWebhookServer.h
+++ b/include/tgbot/net/TgWebhookServer.h
@@ -6,6 +6,8 @@
#include "tgbot/TgTypeParser.h"
#include "tgbot/net/HttpServer.h"
+#include <string>
+#include <unordered_map>
#include <utility>
namespace TgBot {
diff --git a/include/tgbot/net/TgWebhookTcpServer.h b/include/tgbot/net/TgWebhookTcpServer.h
index 28ae8aa..c812abe 100644
--- a/include/tgbot/net/TgWebhookTcpServer.h
+++ b/include/tgbot/net/TgWebhookTcpServer.h
@@ -3,6 +3,8 @@
#include "tgbot/net/TgWebhookServer.h"
+#include <string>
+
namespace TgBot {
/**