source: ntrip/trunk/BNC/src/bncnetqueryudp0.h@ 9873

Last change on this file since 9873 was 8252, checked in by stoecker, 7 years ago

see #105 - reenable Qt4 build options, drop generic version dependend includes, replace by direct requirements, remaining QtCore lines should also be replaced

File size: 587 bytes
Line 
1#ifndef BNCNETQUERYUDP0_H
2#define BNCNETQUERYUDP0_H
3
4#include <QUdpSocket>
5
6#include "bncnetquery.h"
7
8class bncNetQueryUdp0 : public bncNetQuery {
9 Q_OBJECT
10 public:
11 bncNetQueryUdp0();
12 virtual ~bncNetQueryUdp0();
13
14 virtual void stop();
15 virtual void waitForRequestResult(const QUrl& url, QByteArray& outData);
16 virtual void startRequest(const QUrl& url, const QByteArray& gga);
17 virtual void keepAliveRequest(const QUrl& url, const QByteArray& gga);
18 virtual void waitForReadyRead(QByteArray& outData);
19 private:
20 QUdpSocket* _udpSocket;
21 QEventLoop* _eventLoop;
22};
23
24#endif
Note: See TracBrowser for help on using the repository browser.