summaryrefslogtreecommitdiff
path: root/include/tgbot/EventBroadcaster.h
diff options
context:
space:
mode:
authorEgor Pugin <egor.pugin@gmail.com>2020-03-13 17:38:20 +0300
committerEgor Pugin <egor.pugin@gmail.com>2020-03-13 17:38:20 +0300
commitb6f2240aea4a496b288215875814309275f3b4f0 (patch)
tree576f7b8ea25738eba1aceae63fef21777cd7db3b /include/tgbot/EventBroadcaster.h
parentec7affea995fef1c760f40fed7d39f1c6dafb980 (diff)
Initial support for shared builds.
Diffstat (limited to 'include/tgbot/EventBroadcaster.h')
-rw-r--r--include/tgbot/EventBroadcaster.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tgbot/EventBroadcaster.h b/include/tgbot/EventBroadcaster.h
index 7424e5d..38d5be6 100644
--- a/include/tgbot/EventBroadcaster.h
+++ b/include/tgbot/EventBroadcaster.h
@@ -6,6 +6,7 @@
#include <vector>
#include <unordered_map>
+#include "tgbot/export.h"
#include "tgbot/types/Message.h"
#include "tgbot/types/InlineQuery.h"
#include "tgbot/types/ChosenInlineResult.h"
@@ -20,7 +21,7 @@ class EventHandler;
*
* @ingroup general
*/
-class EventBroadcaster {
+class TGBOT_API EventBroadcaster {
friend EventHandler;