#pragma once #include "MutilTaskExcute.h" class CServerImgDownloadTask:public CBaseTask { public: CServerImgDownloadTask(const CString &imgpath,const CString & url ); ~CServerImgDownloadTask(void); CString GetImgPath(){return m_imgpath;} bool GetResult(){return m_result;} virtual void Run(); private: CString m_imgpath; bool m_result; CString m_url; };