diff options
Diffstat (limited to 'qt-ui/subsurfacewebservices.h')
-rw-r--r-- | qt-ui/subsurfacewebservices.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/qt-ui/subsurfacewebservices.h b/qt-ui/subsurfacewebservices.h index ffcc28f82..9e85db155 100644 --- a/qt-ui/subsurfacewebservices.h +++ b/qt-ui/subsurfacewebservices.h @@ -3,6 +3,7 @@ #include <QDialog> #include <QNetworkReply> +#include <libxml/tree.h> namespace Ui{ class SubsurfaceWebServices; @@ -23,9 +24,15 @@ private slots: void downloadError(QNetworkReply::NetworkError error); private: - explicit SubsurfaceWebServices(QWidget* parent = 0, Qt::WindowFlags f = 0); - Ui::SubsurfaceWebServices *ui; + void setStatusText(int status); + void download_dialog_traverse_xml(xmlNodePtr node, unsigned int *download_status); + unsigned int download_dialog_parse_response(const QByteArray& length); + + explicit SubsurfaceWebServices(QWidget* parent = 0, Qt::WindowFlags f = 0); + Ui::SubsurfaceWebServices *ui; QNetworkReply *reply; + QNetworkAccessManager *manager; + QByteArray downloadedData; }; #endif
\ No newline at end of file |