123456789101112131415161718 |
- #pragma once
- #include <string>
- // 连接信息
- struct tagSetup
- {
- unsigned int port;
- std::string addr;
- std::string user;
- std::string password;
- std::string db;
- };
- class EventSubInterface
- {
- public:
- virtual void SubCB(const std::string topic, const std::string msg) = 0;
- };
|