diff options
author | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
---|---|---|
committer | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
commit | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Plugins/Library/ml_wire/DownloadThread.h | |
parent | 537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff) | |
download | winamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz |
Initial community commit
Diffstat (limited to 'Src/Plugins/Library/ml_wire/DownloadThread.h')
-rw-r--r-- | Src/Plugins/Library/ml_wire/DownloadThread.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Src/Plugins/Library/ml_wire/DownloadThread.h b/Src/Plugins/Library/ml_wire/DownloadThread.h new file mode 100644 index 00000000..7e2061c9 --- /dev/null +++ b/Src/Plugins/Library/ml_wire/DownloadThread.h @@ -0,0 +1,28 @@ +#ifndef NULLSOFT_DOWNLOADTHREADH +#define NULLSOFT_DOWNLOADTHREADH + +#include "../xml/obj_xml.h" +#include "../xml/XMLDOM.h" +#include "../nu/Alias.h" +#include "api__ml_wire.h" +#include <api/service/waServiceFactory.h> + + +class DownloadThread +{ +public: + DownloadThread(); + virtual ~DownloadThread(); + + virtual void ReadNodes(const wchar_t *url) = 0; + + int DownloadURL(const wchar_t *url); + void DownloadFile(const wchar_t *fileName); +protected: + XMLDOM xmlDOM; +private: + obj_xml *parser; + waServiceFactory *parserFactory; + +}; +#endif |