1
0

BackgroundDownloader.h 384 B

123456789101112131415161718
  1. #ifndef NULLSOFT_BACKGROUNDDOWNLOADERH
  2. #define NULLSOFT_BACKGROUNDDOWNLOADERH
  3. #include <windows.h>
  4. class BackgroundDownloader
  5. {
  6. public:
  7. //void SetSpeed(int kilobytesPerSecond);
  8. void Download(const wchar_t *url, const wchar_t *savePath,
  9. const wchar_t *channel, const wchar_t *item, __time64_t publishDate);
  10. //void Shutdown();
  11. };
  12. extern BackgroundDownloader downloader;
  13. #endif