Index: /trunk/BNC/bncgetthread.h
===================================================================
--- /trunk/BNC/bncgetthread.h	(revision 1811)
+++ /trunk/BNC/bncgetthread.h	(revision 1812)
@@ -34,8 +34,8 @@
 #include "RTCM3/rtcm3torinex.h"
 #include "bncconst.h"
+#include "bncnetquery.h"
 
 class bncRinex;
 class QextSerialPort;
-class bncNetQuery;
 class latencyChecker;
 
@@ -51,4 +51,13 @@
                 const QByteArray& nmea, 
                 const QByteArray& ntripVersion, const QByteArray& extraStaID);
+
+   bncNetQuery::queryStatus queryStatus() {
+     if (_query) {
+       return _query->status();
+     }
+     else {
+       return bncNetQuery::init;
+     }
+   }
 
  protected:
