source: ntrip/trunk/BNC/src/bncnetqueryv2.h@ 5741

Last change on this file since 5741 was 4278, checked in by mervart, 12 years ago
File size: 898 bytes
RevLine 
[1378]1#ifndef BNCNETQUERYV2_H
2#define BNCNETQUERYV2_H
3
4#include "bncnetquery.h"
5
6class bncNetQueryV2 : public bncNetQuery {
7 Q_OBJECT
8
9 public:
[3337]10 bncNetQueryV2(bool secure);
[1378]11 virtual ~bncNetQueryV2();
12
[1391]13 virtual void stop();
[1378]14 virtual void waitForRequestResult(const QUrl& url, QByteArray& outData);
[1380]15 virtual void startRequest(const QUrl& url, const QByteArray& gga);
[1378]16 virtual void waitForReadyRead(QByteArray& outData);
17
18 private slots:
19 void slotFinished();
[1405]20 void slotProxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*);
[3332]21 void slotSslErrors(QList<QSslError>);
[1378]22
23 private:
[1389]24 void startRequestPrivate(const QUrl& url, const QByteArray& gga, bool full);
[1378]25
26 QNetworkAccessManager* _manager;
27 QNetworkReply* _reply;
28 QEventLoop* _eventLoop;
[1583]29 bool _firstData;
[3337]30 bool _secure;
[3353]31 bool _ignoreSslErrors;
[1378]32};
33
34#endif
Note: See TracBrowser for help on using the repository browser.