| 12345678910111213141516171819202122232425262728293031323334353637 |
- #ifndef USERDEFINE_H
- #define USERDEFINE_H
- #include <list>
- using namespace std;
- #include "dhnetsdk.h"
- // channel information
- typedef struct
- {
- LLONG lRealPlayHandle;
- unsigned long dwStatistic;
- } DH_Channel_Info;
- // device information
- typedef struct
- {
- LLONG lLoginHandle;
- int nChannelCount;
- int bOnline;
- QString strErrorCode;
- char szDevIp[32];
- int nPort;
- char szUserName[32];
- char szPassWord[32];
- DH_Channel_Info channel[16];
- int nBelongThread;
- unsigned int nIndex;
- unsigned long nTimeCount;
- } DH_Device_Info;
- typedef std::list<DH_Device_Info*> DEVICE_LIST;
- #endif // USERDEFINE_H
|