diff options
author | George Hazan <ghazan@miranda.im> | 2019-12-18 21:00:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-12-18 21:00:41 +0300 |
commit | d8d4adb545e20fee19caf5270b1b70e7c826f6f9 (patch) | |
tree | 51f32be23bc314fa01a07267b6b451e42d62cf70 /protocols/Facebook/src/proto.h | |
parent | fe77d2543f2822b6637c4090887bf349fc4ccb75 (diff) |
Facebook: subscribe & unsubscribe support
Diffstat (limited to 'protocols/Facebook/src/proto.h')
-rw-r--r-- | protocols/Facebook/src/proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Facebook/src/proto.h b/protocols/Facebook/src/proto.h index f64eb5c3ea..5d43e5bab8 100644 --- a/protocols/Facebook/src/proto.h +++ b/protocols/Facebook/src/proto.h @@ -349,6 +349,8 @@ class FacebookProto : public PROTO<FacebookProto> bool MqttConnect(); void MqttOpen(); void MqttPublish(const char *topic, const char *value); + void MqttSubscribe(const char *topic, ...); + void MqttUnsubscribe(const char *topic, ...); void MqttSend(const MqttMessage &payload); HNETLIBCONN m_mqttConn; |