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

Last change on this file since 1388 was 1388, checked in by mervart, 15 years ago

* empty log message *

File size: 671 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 waitForRequestResult(const QUrl& url, QByteArray& outData);
14 virtual void startRequest(const QUrl& url, const QByteArray& gga);
15 virtual void waitForReadyRead(QByteArray& outData);
16
17 private slots:
18 void slotError(QNetworkReply::NetworkError);
19 void slotFinished();
20
21 private:
22 void startRequest(const QUrl& url, const QByteArray& gga, bool full);
23
24 QNetworkAccessManager* _manager;
25 QNetworkReply* _reply;
26 QEventLoop* _eventLoop;
27};
28
29#endif
Note: See TracBrowser for help on using the repository browser.