14 lines
292 B
C
14 lines
292 B
C
|
#ifndef __MQTTCLIENT_H__
|
||
|
#define __MQTTCLIENT_H__
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
class MqttClient {
|
||
|
public:
|
||
|
static MqttClient *instance();
|
||
|
bool initialize(const std::string &username,const std::string &password);
|
||
|
|
||
|
protected:
|
||
|
MqttClient() = default;
|
||
|
};
|
||
|
#endif // __MQTTCLIENT_H__
|