Index: /trunk/BNC/bncgetthread.cpp
===================================================================
--- /trunk/BNC/bncgetthread.cpp	(revision 3576)
+++ /trunk/BNC/bncgetthread.cpp	(revision 3577)
@@ -63,4 +63,7 @@
 #include "latencychecker.h"
 #include "bncpppclient.h"
+#ifdef PPP_DLL_INTERFACE
+#include "dllinterface.h"
+#endif
 #include "upload/bncrtnetdecoder.h"
 #include "RTCM/RTCM2Decoder.h"
@@ -128,4 +131,7 @@
   _nextSleep     = 0;
   _PPPclient     = 0;
+#ifdef PPP_DLL_INTERFACE
+  _dllInterface  = 0;
+#endif
   _miscMount     = settings.value("miscMount").toString();
   _decoder   = 0;
@@ -337,4 +343,7 @@
     connect(_PPPclient, SIGNAL(newNMEAstr(QByteArray)), 
             this,       SIGNAL(newNMEAstr(QByteArray)));
+#ifdef PPP_DLL_INTERFACE
+    _dllInterface = new t_dllInterface();
+#endif
   }
 #endif
@@ -368,4 +377,7 @@
   }
   delete _PPPclient;
+#ifdef PPP_DLL_INTERFACE
+    delete _dllInterface;
+#endif
   if (_rawFile) {
     QMapIterator<QString, GPSDecoder*> it(_decodersRaw);
@@ -549,4 +561,7 @@
         if (_PPPclient && _staID == _PPPclient->staID()) {
           _PPPclient->putNewObs(obs);
+#ifdef PPP_DLL_INTERFACE
+          _dllInterface->putNewObs(obs);
+#endif
         }
 #endif
Index: /trunk/BNC/bncgetthread.h
===================================================================
--- /trunk/BNC/bncgetthread.h	(revision 3576)
+++ /trunk/BNC/bncgetthread.h	(revision 3577)
@@ -41,4 +41,7 @@
 class latencyChecker;
 class bncPPPclient;
+#ifdef PPP_DLL_INTERFACE
+class t_dllInterface;
+#endif
 
 class bncGetThread : public QThread {
@@ -124,4 +127,7 @@
    bool                       _rawOutput;
    QMap<QString, long>        _prnLastEpo;
+#ifdef PPP_DLL_INTERFACE
+   t_dllInterface*            _dllInterface;
+#endif
 };
 
