Last change
on this file since 9846 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:
690 bytes
|
Rev | Line | |
---|
[1410] | 1 | #ifndef BNCNETQUERYRTP_H
|
---|
| 2 | #define BNCNETQUERYRTP_H
|
---|
| 3 |
|
---|
[8252] | 4 | #include <QUdpSocket>
|
---|
| 5 |
|
---|
[1410] | 6 | #include "bncnetquery.h"
|
---|
| 7 |
|
---|
| 8 | class bncNetQueryRtp : public bncNetQuery {
|
---|
[1532] | 9 | Q_OBJECT
|
---|
[1410] | 10 | public:
|
---|
| 11 | bncNetQueryRtp();
|
---|
| 12 | virtual ~bncNetQueryRtp();
|
---|
| 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);
|
---|
[1410] | 18 | virtual void waitForReadyRead(QByteArray& outData);
|
---|
| 19 |
|
---|
[1532] | 20 | private slots:
|
---|
| 21 | void slotKeepAlive();
|
---|
| 22 |
|
---|
[1410] | 23 | private:
|
---|
| 24 | QTcpSocket* _socket;
|
---|
[1413] | 25 | QUdpSocket* _udpSocket;
|
---|
[1415] | 26 | QEventLoop* _eventLoop;
|
---|
[1531] | 27 | QByteArray _session;
|
---|
| 28 | int _CSeq;
|
---|
[1410] | 29 | };
|
---|
| 30 |
|
---|
| 31 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.