Changeset 1380 in ntrip
- Timestamp:
- Dec 29, 2008, 9:24:43 AM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncnetquery.h
r1379 r1380 15 15 16 16 virtual void waitForRequestResult(const QUrl& url, QByteArray& outData) = 0; 17 virtual void startRequest(const QUrl& url ) = 0;17 virtual void startRequest(const QUrl& url, const QByteArray& gga) = 0; 18 18 virtual void waitForReadyRead(QByteArray& outData) = 0; 19 19 -
trunk/BNC/bncnetqueryv2.cpp
r1379 r1380 69 69 // Start request, block till the next read (public) 70 70 //////////////////////////////////////////////////////////////////////////// 71 void bncNetQueryV2::startRequest(const QUrl& url ) {72 startRequest(url, false);71 void bncNetQueryV2::startRequest(const QUrl& url, const QByteArray& gga) { 72 startRequest(url, gga, false); 73 73 } 74 74 75 75 // Start request 76 76 //////////////////////////////////////////////////////////////////////////// 77 void bncNetQueryV2::startRequest(const QUrl& url, bool full) { 77 void bncNetQueryV2::startRequest(const QUrl& url, const QByteArray& gga, 78 bool full) { 78 79 79 80 _status = running; … … 123 124 // Send Request 124 125 // ------------ 125 startRequest(url, true);126 startRequest(url, "", true); 126 127 127 128 // Wait Loop -
trunk/BNC/bncnetqueryv2.h
r1379 r1380 12 12 13 13 virtual void waitForRequestResult(const QUrl& url, QByteArray& outData); 14 virtual void startRequest(const QUrl& url );14 virtual void startRequest(const QUrl& url, const QByteArray& gga); 15 15 virtual void waitForReadyRead(QByteArray& outData); 16 16 … … 23 23 24 24 private: 25 void startRequest(const QUrl& url, bool full);25 void startRequest(const QUrl& url, const QByteArray& gga, bool full); 26 26 27 27 QNetworkAccessManager* _manager;
Note:
See TracChangeset
for help on using the changeset viewer.