Dwonloadlib源代码c++
代码说明:
#pragma once #include "downmanager.h" namespace Downloader { class CDownloader : public DownManager { public: CDownloader(void); ~CDownloader(void); virtual BOOL Init( LPCSTR szDownUrl, LPCSTR szSaveDir ); virtual void DownLoop(); virtual void UnInit(); void setFileDownlond( const std::string& filename, bool downdloaded ); protected: virtual void initSM(); virtual void releaseSM(); void save_FlistClient(); protected: /// 共享内存句柄 HANDLE m_SMHandle; /// 共享内存指针 SM_Downloader* m_smDownloader; }; extern CDownloader* g_pDownloader; }
下载说明:请别用迅雷下载,失败请重下,重下不扣分!