diff options
author | Nils Schwabe | 2014-03-04 17:54:57 +0100 |
---|---|---|
committer | Nils Schwabe | 2014-03-04 17:54:57 +0100 |
commit | 03b7858c880ea1fba3915af17c55b42d5e13c58a (patch) | |
tree | 7d1ea603194b98d213c3f90253371ef974f8ee0f /src/vsession.h | |
parent | Added httpxmldownloader (diff) | |
download | vmchooser2-03b7858c880ea1fba3915af17c55b42d5e13c58a.tar.gz vmchooser2-03b7858c880ea1fba3915af17c55b42d5e13c58a.tar.xz vmchooser2-03b7858c880ea1fba3915af17c55b42d5e13c58a.zip |
- 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
Diffstat (limited to 'src/vsession.h')
-rw-r--r-- | src/vsession.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <QDir> #include <QProcess> #include "session.h" +#include "httpxmldownloader.h" enum ImgType { VMWARE, @@ -61,6 +62,7 @@ class VSession : public Session { static QList<Session*> readXmlDir(const QString& path); static QList<Session*> readXmlFile(const QString& filepath); + static QList<Session*> readXmlUrl(const QString& xmlurl, httpxmldownloader& httpxmldownloader); private: QDomDocument doc_; |