123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #ifndef QMQTT_ROUTER_H
- #define QMQTT_ROUTER_H
- #include <qmqtt_global.h>
- #include <QObject>
- namespace QMQTT {
- class Client;
- class RouteSubscription;
- class Q_MQTT_EXPORT Router : public QObject
- {
- Q_OBJECT
- public:
- explicit Router(Client *parent = nullptr);
- RouteSubscription *subscribe(const QString &route);
- Client *client() const;
- private:
- Client *_client;
- };
- }
- #endif
|