Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
28
Src/Plugins/Library/ml_wire/DownloadThread.h
Normal file
28
Src/Plugins/Library/ml_wire/DownloadThread.h
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue