mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-18 21:35:51 +01:00
28 lines
495 B
C
28 lines
495 B
C
|
#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
|