You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
785 B

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __ZLMEDIA_SERVER_INTERFACE_HEADER__
  2. #define __ZLMEDIA_SERVER_INTERFACE_HEADER__
  3. #include "../../components/base/basicTypes.h"
  4. #include "../../components/base/basicSettingsProvider.h"
  5. #include "../../components/base/basicLogCollection.h"
  6. #include "../protocol/protocolZLMEDIA.h"
  7. #include "../data/mysql/database_class.h"
  8. class ZL_MEDIA_Connector{
  9. private:
  10. basicLogCollection * m_pLog;
  11. config_setting_t * m_pSettings;
  12. protocolZLMEDIA * m_pProtocol;
  13. public:
  14. explicit ZL_MEDIA_Connector( config_setting_t * Settings = NULL );
  15. explicit ZL_MEDIA_Connector( int id, MySQL_Connector *DBC );
  16. virtual ~ZL_MEDIA_Connector();
  17. bool isConnected( void );
  18. };
  19. #endif