ServerImgDownloadTask.h 363 B

12345678910111213141516171819
  1. #pragma once
  2. #include "MutilTaskExcute.h"
  3. class CServerImgDownloadTask:public CBaseTask
  4. {
  5. public:
  6. CServerImgDownloadTask(const CString &imgpath,const CString & url );
  7. ~CServerImgDownloadTask(void);
  8. CString GetImgPath(){return m_imgpath;}
  9. bool GetResult(){return m_result;}
  10. virtual void Run();
  11. private:
  12. CString m_imgpath;
  13. bool m_result;
  14. CString m_url;
  15. };