source: ntrip/trunk/BNC/bncnetqueryv1.h@ 1848

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

* empty log message *

File size: 660 bytes
Line 
1#ifndef BNCNETQUERYV1_H
2#define BNCNETQUERYV1_H
3
4#include "bncnetquery.h"
5
6class bncNetQueryV1 : public bncNetQuery {
7 Q_OBJECT
8
9 public:
10 bncNetQueryV1();
11 virtual ~bncNetQueryV1();
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 slotFinished();
20
21 private:
22 void startRequestPrivate(const QUrl& url, const QByteArray& gga,
23 bool sendRequestOnly);
24 QEventLoop* _eventLoop;
25 QTcpSocket* _socket;
26 QByteArray _outData;
27};
28
29#endif
Note: See TracBrowser for help on using the repository browser.