1234567891011121314151617181920212223242526272829303132333435363738 |
- #ifndef __DELLISTMGR_H__
- #define __DELLISTMGR_H__
- #include "ListTmpl.h"
- typedef struct SDelInfo
- {
- TCHAR szDomain[64]; // 郖靡
- TCHAR szOrderNum[64]; // 隆等瘍
- BYTE byPhotoType; // 眈⑵濬倰
- BOOL bPickuped; // 眒龰璃
- TCHAR szDir[MAX_PATH]; // 醴翹
- void Clone(IN LPCTSTR lpDomain, IN LPCTSTR lpOrderNum, IN LPCTSTR lpDir, IN const BYTE byPhotoType, IN const BOOL bPickuped)
- {
- #ifdef _UNICODE
- wcscpy((wchar_t*)szDomain, (wchar_t*)lpDomain);
- wcscpy((wchar_t*)szOrderNum, (wchar_t*)lpOrderNum);
- wcscpy((wchar_t*)szDir, (wchar_t*)lpDir);
- #else
- strcpy(szDomain, lpDomain);
- strcpy(szOrderNum, lpOrderNum);
- strcpy(szDir, lpDir);
- #endif
- this->byPhotoType = byPhotoType;
- this->bPickuped = bPickuped;
- }
- }SDELINFO, *LPSDELINFO;
- class DelListMgr : public ListTmpl<SDELINFO>
- {
- public:
- DelListMgr();
- virtual ~DelListMgr();
- virtual void Release();
- };
- #endif
|