blob: 31fad863bb5dd37127c0cb84377ac912f39a1be7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 <api/service/waServiceFactory.h>
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
|