| 123456789101112131415161718192021222324 |
- #pragma once
- #include <iostream>
- #include <string>
- class CVideoExten
- {
- public:
- CVideoExten(uint32_t a_ExtId, std::string a_ExtPwd, bool a_IsUsed = false);
- ~CVideoExten();
- uint32_t id() const { return m_Id; }
- std::string pwd() const { return m_Password; }
- bool isUsed() const { return m_IsUsed; };
- bool& isUsed() { return m_IsUsed; }
- private:
- uint32_t m_Id; // 分机号
- std::string m_Password; // 分机密码
- bool m_IsUsed; // 是否被用 true已被用,false可用
- };
|