source: ntrip/trunk/BNC/bncnetqueryv2.h@ 1660

Last change on this file since 1660 was 1583, checked in by mervart, 16 years ago

* empty log message *

File size: 817 bytes
Line 
1#ifndef BNCNETQUERYV2_H
2#define BNCNETQUERYV2_H
3
4#include "bncnetquery.h"
5
6class bncNetQueryV2 : public bncNetQuery {
7 Q_OBJECT
8
9 public:
10 bncNetQueryV2();
11 virtual ~bncNetQueryV2();
12
13 virtual void stop();
14 virtual void waitForRequestResult(const QUrl& url, QByteArray& outData);
15 virtual void startRequest(const QUrl& url, const QByteArray& gga);
16 virtual void waitForReadyRead(QByteArray& outData);
17
18 private slots:
19 void slotError(QNetworkReply::NetworkError);
20 void slotFinished();
21 void slotProxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*);
22
23 private:
24 void startRequestPrivate(const QUrl& url, const QByteArray& gga, bool full);
25
26 QNetworkAccessManager* _manager;
27 QNetworkReply* _reply;
28 QEventLoop* _eventLoop;
29 bool _firstData;
30};
31
32#endif
Note: See TracBrowser for help on using the repository browser.