diff --git a/spectrum/src/frontends/slack/SlackRTM.h b/spectrum/src/frontends/slack/SlackRTM.h index 9ede1e6849724f1cd68e23d0cff4f94602e616b0..b25cce00333f3b5d25a18360b8779910479ae86b 100644 --- a/spectrum/src/frontends/slack/SlackRTM.h +++ b/spectrum/src/frontends/slack/SlackRTM.h @@ -64,6 +64,8 @@ class SlackRTM { virtual ~SlackRTM(); + void start(); + void sendPing(); void sendMessage(const std::string &channel, const std::string &message); @@ -76,7 +78,9 @@ class SlackRTM { boost::signal onMessageReceived; +#ifndef LIBTRANSPORT_TEST private: +#endif void handlePayloadReceived(const std::string &payload); void handleRTMStart(HTTPRequest *req, bool ok, rapidjson::Document &resp, const std::string &data); void handleWebSocketConnected();