2024-09-24 12:54:57 +00:00
|
|
|
#ifndef NULLSOFT_BACKGROUNDDOWNLOADERH
|
|
|
|
#define NULLSOFT_BACKGROUNDDOWNLOADERH
|
|
|
|
|
2024-09-29 02:04:03 +00:00
|
|
|
#include <arch.h>
|
2024-09-24 12:54:57 +00:00
|
|
|
|
|
|
|
class BackgroundDownloader
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
//void SetSpeed(int kilobytesPerSecond);
|
|
|
|
|
|
|
|
void Download(const wchar_t *url, const wchar_t *savePath,
|
|
|
|
const wchar_t *channel, const wchar_t *item, __time64_t publishDate);
|
|
|
|
|
|
|
|
//void Shutdown();
|
|
|
|
};
|
|
|
|
|
|
|
|
extern BackgroundDownloader downloader;
|
|
|
|
#endif
|