summaryrefslogtreecommitdiff
path: root/include/tgbot/net
diff options
context:
space:
mode:
Diffstat (limited to 'include/tgbot/net')
-rw-r--r--include/tgbot/net/BoostHttpOnlySslClient.h2
-rw-r--r--include/tgbot/net/CurlHttpClient.h2
-rw-r--r--include/tgbot/net/HttpClient.h2
-rw-r--r--include/tgbot/net/HttpParser.h2
-rw-r--r--include/tgbot/net/HttpReqArg.h4
-rw-r--r--include/tgbot/net/TgLongPoll.h2
-rw-r--r--include/tgbot/net/Url.h4
7 files changed, 11 insertions, 7 deletions
diff --git a/include/tgbot/net/BoostHttpOnlySslClient.h b/include/tgbot/net/BoostHttpOnlySslClient.h
index 8103bef..594b3fe 100644
--- a/include/tgbot/net/BoostHttpOnlySslClient.h
+++ b/include/tgbot/net/BoostHttpOnlySslClient.h
@@ -17,7 +17,7 @@ namespace TgBot {
*
* @ingroup net
*/
-class BoostHttpOnlySslClient : public HttpClient {
+class TGBOT_API BoostHttpOnlySslClient : public HttpClient {
public:
BoostHttpOnlySslClient();
diff --git a/include/tgbot/net/CurlHttpClient.h b/include/tgbot/net/CurlHttpClient.h
index 9409d7c..202cc40 100644
--- a/include/tgbot/net/CurlHttpClient.h
+++ b/include/tgbot/net/CurlHttpClient.h
@@ -19,7 +19,7 @@ namespace TgBot {
*
* @ingroup net
*/
-class CurlHttpClient : public HttpClient {
+class TGBOT_API CurlHttpClient : public HttpClient {
public:
CurlHttpClient();
diff --git a/include/tgbot/net/HttpClient.h b/include/tgbot/net/HttpClient.h
index 077a6c1..d9c72be 100644
--- a/include/tgbot/net/HttpClient.h
+++ b/include/tgbot/net/HttpClient.h
@@ -13,7 +13,7 @@ namespace TgBot {
*
* @ingroup net
*/
-class HttpClient {
+class TGBOT_API HttpClient {
public:
virtual ~HttpClient() = default;
diff --git a/include/tgbot/net/HttpParser.h b/include/tgbot/net/HttpParser.h
index 82da892..3f1095b 100644
--- a/include/tgbot/net/HttpParser.h
+++ b/include/tgbot/net/HttpParser.h
@@ -10,7 +10,7 @@
namespace TgBot {
-class HttpParser {
+class TGBOT_API HttpParser {
public:
std::string generateRequest(const Url& url, const std::vector<HttpReqArg>& args, bool isKeepAlive = false) const;
diff --git a/include/tgbot/net/HttpReqArg.h b/include/tgbot/net/HttpReqArg.h
index 4b6e428..72dfd7d 100644
--- a/include/tgbot/net/HttpReqArg.h
+++ b/include/tgbot/net/HttpReqArg.h
@@ -1,6 +1,8 @@
#ifndef TGBOT_HTTPPARAMETER_H
#define TGBOT_HTTPPARAMETER_H
+#include "tgbot/export.h"
+
#include <string>
#include <utility>
#include <vector>
@@ -15,7 +17,7 @@ namespace TgBot {
*
* @ingroup net
*/
-class HttpReqArg {
+class TGBOT_API HttpReqArg {
public:
template<typename T>
diff --git a/include/tgbot/net/TgLongPoll.h b/include/tgbot/net/TgLongPoll.h
index 2de9810..b55338c 100644
--- a/include/tgbot/net/TgLongPoll.h
+++ b/include/tgbot/net/TgLongPoll.h
@@ -14,7 +14,7 @@ namespace TgBot {
*
* @ingroup net
*/
-class TgLongPoll {
+class TGBOT_API TgLongPoll {
public:
TgLongPoll(const Api* api, const EventHandler* eventHandler, std::int32_t, std::int32_t, const std::shared_ptr<std::vector<std::string>>&);
diff --git a/include/tgbot/net/Url.h b/include/tgbot/net/Url.h
index dbea837..818cf69 100644
--- a/include/tgbot/net/Url.h
+++ b/include/tgbot/net/Url.h
@@ -1,6 +1,8 @@
#ifndef TGBOT_CPP_URL_H
#define TGBOT_CPP_URL_H
+#include "tgbot/export.h"
+
#include <string>
namespace TgBot {
@@ -10,7 +12,7 @@ namespace TgBot {
*
* @ingroup net
*/
-class Url {
+class TGBOT_API Url {
public:
Url(const std::string& url);