diff options
author | Egor Pugin <egor.pugin@gmail.com> | 2020-03-22 20:12:33 +0300 |
---|---|---|
committer | Egor Pugin <egor.pugin@gmail.com> | 2020-03-22 20:12:33 +0300 |
commit | 0e9a5bb427757b8b6ecb2734e602fe5bc7e6354b (patch) | |
tree | 4aeb54b0be115bede2191a3bb2d829245955a881 /include/tgbot/net | |
parent | 58620856faf03e36fd57fa50362fc32f4b8cb9cb (diff) |
Fix header order.
Diffstat (limited to 'include/tgbot/net')
-rw-r--r-- | include/tgbot/net/BoostHttpOnlySslClient.h | 8 | ||||
-rw-r--r-- | include/tgbot/net/CurlHttpClient.h | 8 | ||||
-rw-r--r-- | include/tgbot/net/HttpClient.h | 4 | ||||
-rw-r--r-- | include/tgbot/net/HttpParser.h | 6 | ||||
-rw-r--r-- | include/tgbot/net/HttpReqArg.h | 4 | ||||
-rw-r--r-- | include/tgbot/net/HttpServer.h | 8 | ||||
-rw-r--r-- | include/tgbot/net/TgWebhookServer.h | 4 |
7 files changed, 21 insertions, 21 deletions
diff --git a/include/tgbot/net/BoostHttpOnlySslClient.h b/include/tgbot/net/BoostHttpOnlySslClient.h index 594b3fe..a047fea 100644 --- a/include/tgbot/net/BoostHttpOnlySslClient.h +++ b/include/tgbot/net/BoostHttpOnlySslClient.h @@ -1,15 +1,15 @@ #ifndef TGBOT_BOOSTHTTPCLIENT_H #define TGBOT_BOOSTHTTPCLIENT_H -#include <string> - -#include <boost/asio.hpp> - #include "tgbot/net/HttpClient.h" #include "tgbot/net/Url.h" #include "tgbot/net/HttpReqArg.h" #include "tgbot/net/HttpParser.h" +#include <boost/asio.hpp> + +#include <string> + namespace TgBot { /** diff --git a/include/tgbot/net/CurlHttpClient.h b/include/tgbot/net/CurlHttpClient.h index 202cc40..30e72ba 100644 --- a/include/tgbot/net/CurlHttpClient.h +++ b/include/tgbot/net/CurlHttpClient.h @@ -3,15 +3,15 @@ #ifdef HAVE_CURL -#include <string> - -#include <curl/curl.h> - #include "tgbot/net/HttpClient.h" #include "tgbot/net/Url.h" #include "tgbot/net/HttpReqArg.h" #include "tgbot/net/HttpParser.h" +#include <curl/curl.h> + +#include <string> + namespace TgBot { /** diff --git a/include/tgbot/net/HttpClient.h b/include/tgbot/net/HttpClient.h index d9c72be..9b452d8 100644 --- a/include/tgbot/net/HttpClient.h +++ b/include/tgbot/net/HttpClient.h @@ -1,11 +1,11 @@ #ifndef TGBOT_HTTPCLIENT_H #define TGBOT_HTTPCLIENT_H -#include <string> - #include "tgbot/net/Url.h" #include "tgbot/net/HttpReqArg.h" +#include <string> + namespace TgBot { /** diff --git a/include/tgbot/net/HttpParser.h b/include/tgbot/net/HttpParser.h index fabeacf..870ac38 100644 --- a/include/tgbot/net/HttpParser.h +++ b/include/tgbot/net/HttpParser.h @@ -1,13 +1,13 @@ #ifndef TGBOT_HTTPPARSER_H #define TGBOT_HTTPPARSER_H +#include "tgbot/net/Url.h" +#include "tgbot/net/HttpReqArg.h" + #include <string> #include <unordered_map> #include <vector> -#include "tgbot/net/Url.h" -#include "tgbot/net/HttpReqArg.h" - namespace TgBot { class TGBOT_API HttpParser { diff --git a/include/tgbot/net/HttpReqArg.h b/include/tgbot/net/HttpReqArg.h index 72dfd7d..7c23eab 100644 --- a/include/tgbot/net/HttpReqArg.h +++ b/include/tgbot/net/HttpReqArg.h @@ -3,13 +3,13 @@ #include "tgbot/export.h" +#include <boost/lexical_cast.hpp> + #include <string> #include <utility> #include <vector> #include <functional> -#include <boost/lexical_cast.hpp> - namespace TgBot { /** diff --git a/include/tgbot/net/HttpServer.h b/include/tgbot/net/HttpServer.h index ccee077..51210d7 100644 --- a/include/tgbot/net/HttpServer.h +++ b/include/tgbot/net/HttpServer.h @@ -1,15 +1,15 @@ #ifndef TGBOT_HTTPSERVER_H #define TGBOT_HTTPSERVER_H +#include "tgbot/net/HttpParser.h" + +#include <boost/asio.hpp> + #include <cstddef> #include <iostream> #include <string> #include <utility> -#include <boost/asio.hpp> - -#include "tgbot/net/HttpParser.h" - namespace TgBot { /** diff --git a/include/tgbot/net/TgWebhookServer.h b/include/tgbot/net/TgWebhookServer.h index 2f3c5b8..85b2934 100644 --- a/include/tgbot/net/TgWebhookServer.h +++ b/include/tgbot/net/TgWebhookServer.h @@ -1,13 +1,13 @@ #ifndef TGBOT_TGHTTPSERVER_H #define TGBOT_TGHTTPSERVER_H -#include <utility> - #include "tgbot/Bot.h" #include "tgbot/EventHandler.h" #include "tgbot/TgTypeParser.h" #include "tgbot/net/HttpServer.h" +#include <utility> + namespace TgBot { template<typename Protocol> |