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_downloads/DownloadThread.h | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Src/Plugins/Library/ml_downloads/DownloadThread.h (limited to 'Src/Plugins/Library/ml_downloads/DownloadThread.h') diff --git a/Src/Plugins/Library/ml_downloads/DownloadThread.h b/Src/Plugins/Library/ml_downloads/DownloadThread.h new file mode 100644 index 00000000..31fad863 --- /dev/null +++ b/Src/Plugins/Library/ml_downloads/DownloadThread.h @@ -0,0 +1,27 @@ +#ifndef NULLSOFT_DOWNLOADTHREADH +#define NULLSOFT_DOWNLOADTHREADH + +#include "../xml/obj_xml.h" +#include "../xml/XMLDOM.h" +#include "../nu/Alias.h" +#include "api__ml_downloads.h" +#include + + +class DownloadThread +{ +public: + DownloadThread(); + virtual ~DownloadThread(); + + virtual void ReadNodes(const wchar_t *url) = 0; + + void DownloadFile(const wchar_t *fileName); +protected: + XMLDOM xmlDOM; +private: + obj_xml *parser; + waServiceFactory *parserFactory; + +}; +#endif -- cgit