DelListMgr.h 900 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef __DELLISTMGR_H__
  2. #define __DELLISTMGR_H__
  3. #include "ListTmpl.h"
  4. typedef struct SDelInfo
  5. {
  6. TCHAR szDomain[64]; // 郖靡
  7. TCHAR szOrderNum[64]; // 隆等瘍
  8. BYTE byPhotoType; // 眈⑵濬倰
  9. BOOL bPickuped; // 眒龰璃
  10. TCHAR szDir[MAX_PATH]; // 醴翹
  11. void Clone(IN LPCTSTR lpDomain, IN LPCTSTR lpOrderNum, IN LPCTSTR lpDir, IN const BYTE byPhotoType, IN const BOOL bPickuped)
  12. {
  13. #ifdef _UNICODE
  14. wcscpy((wchar_t*)szDomain, (wchar_t*)lpDomain);
  15. wcscpy((wchar_t*)szOrderNum, (wchar_t*)lpOrderNum);
  16. wcscpy((wchar_t*)szDir, (wchar_t*)lpDir);
  17. #else
  18. strcpy(szDomain, lpDomain);
  19. strcpy(szOrderNum, lpOrderNum);
  20. strcpy(szDir, lpDir);
  21. #endif
  22. this->byPhotoType = byPhotoType;
  23. this->bPickuped = bPickuped;
  24. }
  25. }SDELINFO, *LPSDELINFO;
  26. class DelListMgr : public ListTmpl<SDELINFO>
  27. {
  28. public:
  29. DelListMgr();
  30. virtual ~DelListMgr();
  31. virtual void Release();
  32. };
  33. #endif