UserDefine.h 677 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef USERDEFINE_H
  2. #define USERDEFINE_H
  3. #include <list>
  4. using namespace std;
  5. #include "dhnetsdk.h"
  6. // channel information
  7. typedef struct
  8. {
  9. LLONG lRealPlayHandle;
  10. unsigned long dwStatistic;
  11. } DH_Channel_Info;
  12. // device information
  13. typedef struct
  14. {
  15. LLONG lLoginHandle;
  16. int nChannelCount;
  17. int bOnline;
  18. QString strErrorCode;
  19. char szDevIp[32];
  20. int nPort;
  21. char szUserName[32];
  22. char szPassWord[32];
  23. DH_Channel_Info channel[16];
  24. int nBelongThread;
  25. unsigned int nIndex;
  26. unsigned long nTimeCount;
  27. } DH_Device_Info;
  28. typedef std::list<DH_Device_Info*> DEVICE_LIST;
  29. #endif // USERDEFINE_H