21 #ifndef _ENABLE_QT_EXPERIMENTAL_
22 #error You should define _ENABLE_QT_EXPERIMENTAL_ in order to use this experimental header file.
25 #include <QtCore/QUrl>
26 #include <QtCore/QXmlStreamReader>
54 typedef std::shared_ptr<QXmlStreamReader> QXmlStreamReaderSptr;
56 typedef QVector<QPair<QString, QString>> QXmlStreamReaderParameters;
65 QXmlStreamReaderSptr
read(QUrl
const& uri)
const;
74 QXmlStreamReaderSptr
read(QString
const& host, QXmlStreamReaderParameters
const& parameters)
const;
80 std::shared_ptr<XmlAsyncReader> p_;
QXmlStreamReaderSptr read(QUrl const &uri) const
Downloads a remote XML document and returns a parser containing the data.
Class that downloads http XML files synchronously.
Definition: XmlReader.h:47
Top-level namespace for all things Unity-related.
Definition: Version.h:49