Added error checking for polling

This commit is contained in:
EricLiu2000
2019-06-18 11:38:12 -04:00
parent 2b34c82382
commit 92368f70a5
5 changed files with 29 additions and 22 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ public:
virtual bool goOffline();
// Message polling related functions
void enableMessagePolling();
bool enableMessagePolling();
bool disableMessagePolling();
bool isMessagePollingEnabled() { return messagePollingCallbackID != 0; };
std::vector<std::shared_ptr<Message>> getMessages();