Line | |
---|
1 | #ifndef BNCNETQUERYV1_H
|
---|
2 | #define BNCNETQUERYV1_H
|
---|
3 |
|
---|
4 | #include "bncnetquery.h"
|
---|
5 |
|
---|
6 | class bncNetQueryV1 : public bncNetQuery {
|
---|
7 | Q_OBJECT
|
---|
8 |
|
---|
9 | public:
|
---|
10 | bncNetQueryV1();
|
---|
11 | ~bncNetQueryV1();
|
---|
12 |
|
---|
13 | void close();
|
---|
14 | qint64 bytesAvailable() const;
|
---|
15 | bool canReadLine() const;
|
---|
16 | QByteArray readLine();
|
---|
17 | void waitForReadyRead(int msecs = 30000);
|
---|
18 | QByteArray read(qint64 maxSize);
|
---|
19 |
|
---|
20 | t_irc request(const QUrl& mountPoint, const QByteArray& latitude,
|
---|
21 | const QByteArray& longitude, const QByteArray& nmea,
|
---|
22 | const QByteArray& ntripVersion, int timeOut, QString& msg);
|
---|
23 |
|
---|
24 | signals:
|
---|
25 | void newMessage(QByteArray msg, bool showOnScreen);
|
---|
26 |
|
---|
27 | private slots:
|
---|
28 |
|
---|
29 | private:
|
---|
30 | QTcpSocket* _socket;
|
---|
31 | };
|
---|
32 |
|
---|
33 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.