1
0

DownloadThread.h 529 B

12345678910111213141516171819202122232425262728
  1. #ifndef NULLSOFT_DOWNLOADTHREADH
  2. #define NULLSOFT_DOWNLOADTHREADH
  3. #include "../xml/obj_xml.h"
  4. #include "../xml/XMLDOM.h"
  5. #include "../nu/Alias.h"
  6. #include "api__ml_wire.h"
  7. #include <api/service/waServiceFactory.h>
  8. class DownloadThread
  9. {
  10. public:
  11. DownloadThread();
  12. virtual ~DownloadThread();
  13. virtual void ReadNodes(const wchar_t *url) = 0;
  14. int DownloadURL(const wchar_t *url);
  15. void DownloadFile(const wchar_t *fileName);
  16. protected:
  17. XMLDOM xmlDOM;
  18. private:
  19. obj_xml *parser;
  20. waServiceFactory *parserFactory;
  21. };
  22. #endif