From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/Plugins/Library/ml_wire/BackgroundDownloader.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Src/Plugins/Library/ml_wire/BackgroundDownloader.h (limited to 'Src/Plugins/Library/ml_wire/BackgroundDownloader.h') diff --git a/Src/Plugins/Library/ml_wire/BackgroundDownloader.h b/Src/Plugins/Library/ml_wire/BackgroundDownloader.h new file mode 100644 index 00000000..6d2542a7 --- /dev/null +++ b/Src/Plugins/Library/ml_wire/BackgroundDownloader.h @@ -0,0 +1,18 @@ +#ifndef NULLSOFT_BACKGROUNDDOWNLOADERH +#define NULLSOFT_BACKGROUNDDOWNLOADERH + +#include + +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 \ No newline at end of file -- cgit