Last change
on this file since 10153 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
|
Rev | Line | |
---|
[1779] | 1 | #ifndef BNCNETQUERYUDP0_H
|
---|
| 2 | #define BNCNETQUERYUDP0_H
|
---|
| 3 |
|
---|
[8252] | 4 | #include <QUdpSocket>
|
---|
| 5 |
|
---|
[1779] | 6 | #include "bncnetquery.h"
|
---|
| 7 |
|
---|
| 8 | class 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);
|
---|
[6787] | 17 | virtual void keepAliveRequest(const QUrl& url, const QByteArray& gga);
|
---|
[1779] | 18 | virtual void waitForReadyRead(QByteArray& outData);
|
---|
| 19 | private:
|
---|
| 20 | QUdpSocket* _udpSocket;
|
---|
[1785] | 21 | QEventLoop* _eventLoop;
|
---|
[1779] | 22 | };
|
---|
| 23 |
|
---|
| 24 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.