summaryrefslogtreecommitdiff
path: root/include/tgbot/net/TgLongPoll.h
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2015-08-11 22:13:23 +0300
committerOleg Morozenkov <omorozenkov@gmail.com>2015-08-11 22:13:23 +0300
commit376b88ec09ef8cf71dd823467406c58204485fcc (patch)
tree9ca599b854d18006c65b26003ce7dbdd416fdf18 /include/tgbot/net/TgLongPoll.h
parentd7fbf7149d0e0c1c30972dab68d510ef6ac377dd (diff)
Fixed compiler's errors in TgTypeParser + fixed indentation + some other fixes
Diffstat (limited to 'include/tgbot/net/TgLongPoll.h')
-rw-r--r--include/tgbot/net/TgLongPoll.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/tgbot/net/TgLongPoll.h b/include/tgbot/net/TgLongPoll.h
index 932fc6d..949a2a4 100644
--- a/include/tgbot/net/TgLongPoll.h
+++ b/include/tgbot/net/TgLongPoll.h
@@ -36,18 +36,18 @@ namespace TgBot {
class TgLongPoll {
public:
- TgLongPoll(const Api* api, const EventHandler* eventHandler);
- TgLongPoll(const Bot& bot);
+ TgLongPoll(const Api* api, const EventHandler* eventHandler);
+ TgLongPoll(const Bot& bot);
- /**
- * Starts long poll. After new update will come, this method will parse it and send to EventHandler which invokes your listeners. Designed to be executed in a loop.
- */
- void start();
+ /**
+ * Starts long poll. After new update will come, this method will parse it and send to EventHandler which invokes your listeners. Designed to be executed in a loop.
+ */
+ void start();
private:
- int32_t _lastUpdateId = 0;
- const Api* _api;
- const EventHandler* _eventHandler;
+ int32_t _lastUpdateId = 0;
+ const Api* _api;
+ const EventHandler* _eventHandler;
};
}