From 05b8bed896e5fe8c1841869e5d6e8e837e72c10a Mon Sep 17 00:00:00 2001 From: randomdan Date: Wed, 31 Aug 2011 21:48:04 +0000 Subject: The big reshuffle --- project2/xml/xslPreFetch.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 project2/xml/xslPreFetch.h (limited to 'project2/xml/xslPreFetch.h') diff --git a/project2/xml/xslPreFetch.h b/project2/xml/xslPreFetch.h new file mode 100644 index 0000000..c9e6a9a --- /dev/null +++ b/project2/xml/xslPreFetch.h @@ -0,0 +1,30 @@ +#ifndef XSLPREFETCH_H +#define XSLPREFETCH_H + +#include "xslRowsCache.h" +#include "curlHelper.h" +#include "view.h" +#include "task.h" +#include + +/// Project2 component to queue up CURL objects to be downloaded +class XslPreFetch : public View, public Task, XslRowsCache, CurlHelper { + public: + XslPreFetch(const xmlpp::Element * p); + ~XslPreFetch(); + + void execute(const Presenter*) const; + void execute() const; + void loadComplete(const CommonObjects *); + + const bool html; + const bool warnings; + const Variable encoding; + + CurlHandle::Ptr newCurl() const; + bool asHtml() const; + bool withWarnings() const; +}; + +#endif + -- cgit v1.2.3