From 03b7858c880ea1fba3915af17c55b42d5e13c58a Mon Sep 17 00:00:00 2001 From: Nils Schwabe Date: Tue, 4 Mar 2014 17:54:57 +0100 Subject: - included the --url commandline options for a xml url - httpxmldownloader moved to main.cpp (it's finally working :D) - given url is downloaded and printed on commandline - todo: parse http response --- src/vsession.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vsession.h') diff --git a/src/vsession.h b/src/vsession.h index 8bbcc7e..f13c377 100644 --- a/src/vsession.h +++ b/src/vsession.h @@ -7,6 +7,7 @@ #include #include #include "session.h" +#include "httpxmldownloader.h" enum ImgType { VMWARE, @@ -61,6 +62,7 @@ class VSession : public Session { static QList readXmlDir(const QString& path); static QList readXmlFile(const QString& filepath); + static QList readXmlUrl(const QString& xmlurl, httpxmldownloader& httpxmldownloader); private: QDomDocument doc_; -- cgit v1.2.3-55-g7522