Index: /trunk/BNC/RTCM/GPSDecoder.h
===================================================================
--- /trunk/BNC/RTCM/GPSDecoder.h	(revision 648)
+++ /trunk/BNC/RTCM/GPSDecoder.h	(revision 649)
@@ -29,4 +29,6 @@
 #include <QPointer>
 #include <QList>
+
+#include "bncconst.h"
 
 class t_obsInternal {
@@ -87,5 +89,5 @@
 class GPSDecoder {
  public:
-  virtual void Decode(char* buffer, int bufLen) = 0;
+  virtual t_irc Decode(char* buffer, int bufLen) = 0;
 
   virtual ~GPSDecoder() {
Index: /trunk/BNC/RTCM/RTCM2Decoder.cpp
===================================================================
--- /trunk/BNC/RTCM/RTCM2Decoder.cpp	(revision 648)
+++ /trunk/BNC/RTCM/RTCM2Decoder.cpp	(revision 649)
@@ -62,5 +62,5 @@
 //
 
-void RTCM2Decoder::Decode(char* buffer, int bufLen) {
+t_irc RTCM2Decoder::Decode(char* buffer, int bufLen) {
 
   _buffer.append(buffer, bufLen);
@@ -72,5 +72,5 @@
     _PP.getPacket(_buffer);
     if (!_PP.valid()) {
-      return;
+      return failure;
     }
 
@@ -108,4 +108,5 @@
     }
   }
+  return success;
 }
 
Index: /trunk/BNC/RTCM/RTCM2Decoder.h
===================================================================
--- /trunk/BNC/RTCM/RTCM2Decoder.h	(revision 648)
+++ /trunk/BNC/RTCM/RTCM2Decoder.h	(revision 649)
@@ -34,5 +34,5 @@
     RTCM2Decoder();
     virtual ~RTCM2Decoder();
-    virtual void Decode(char* buffer, int bufLen);
+    virtual t_irc Decode(char* buffer, int bufLen);
 
   private:
Index: /trunk/BNC/RTCM3/RTCM3Decoder.cpp
===================================================================
--- /trunk/BNC/RTCM3/RTCM3Decoder.cpp	(revision 648)
+++ /trunk/BNC/RTCM3/RTCM3Decoder.cpp	(revision 649)
@@ -88,5 +88,5 @@
 // 
 ////////////////////////////////////////////////////////////////////////////
-void RTCM3Decoder::Decode(char* buffer, int bufLen) {
+t_irc RTCM3Decoder::Decode(char* buffer, int bufLen) {
 
   for (int ii = 0; ii < bufLen; ii++) {
@@ -198,3 +198,4 @@
     }
   }
-}
+  return success;
+}
Index: /trunk/BNC/RTCM3/RTCM3Decoder.h
===================================================================
--- /trunk/BNC/RTCM3/RTCM3Decoder.h	(revision 648)
+++ /trunk/BNC/RTCM3/RTCM3Decoder.h	(revision 649)
@@ -47,5 +47,5 @@
   RTCM3Decoder();
   virtual ~RTCM3Decoder();
-  virtual void Decode(char* buffer = 0, int bufLen = 0);
+  virtual t_irc Decode(char* buffer = 0, int bufLen = 0);
 private:
   struct RTCM3ParserData _Parser;
Index: /trunk/BNC/RTIGS/RTIGSDecoder.cpp
===================================================================
--- /trunk/BNC/RTIGS/RTIGSDecoder.cpp	(revision 648)
+++ /trunk/BNC/RTIGS/RTIGSDecoder.cpp	(revision 649)
@@ -59,5 +59,5 @@
 // 
 ////////////////////////////////////////////////////////////////////////////
-void RTIGSDecoder::Decode(char* buffer, int bufLen) {
+t_irc RTIGSDecoder::Decode(char* buffer, int bufLen) {
 
   // Append the incomming data to the internal buffer
@@ -83,5 +83,5 @@
   if (! found) {
     _buffer.clear();
-    return;
+    return failure;
   }
 
@@ -94,5 +94,5 @@
   // ---------------------------
   if (_buffer.size() < numbytes) {
-    return;
+    return failure;
   }
 
@@ -125,3 +125,5 @@
   // ----------------------------------
   _buffer = _buffer.substr(numbytes);
+
+  return success;
 }
Index: /trunk/BNC/RTIGS/RTIGSDecoder.h
===================================================================
--- /trunk/BNC/RTIGS/RTIGSDecoder.h	(revision 648)
+++ /trunk/BNC/RTIGS/RTIGSDecoder.h	(revision 649)
@@ -34,5 +34,5 @@
   RTIGSDecoder();
   virtual ~RTIGSDecoder();
-  virtual void Decode(char* buffer = 0, int bufLen = 0);
+  virtual t_irc Decode(char* buffer = 0, int bufLen = 0);
 private:
   CGPS_Transform _GPSTrans;
Index: /trunk/BNC/bnczerodecoder.cpp
===================================================================
--- /trunk/BNC/bnczerodecoder.cpp	(revision 648)
+++ /trunk/BNC/bnczerodecoder.cpp	(revision 649)
@@ -82,8 +82,9 @@
 // Decode Method
 //////////////////////////////////////////////////////////////////////// 
-void bncZeroDecoder::Decode(char* buffer, int bufLen) {
+t_irc bncZeroDecoder::Decode(char* buffer, int bufLen) {
   reopen();
   _out->write(buffer, bufLen);
   _out->flush();
+  return success;
 }
 
Index: /trunk/BNC/bnczerodecoder.h
===================================================================
--- /trunk/BNC/bnczerodecoder.h	(revision 648)
+++ /trunk/BNC/bnczerodecoder.h	(revision 649)
@@ -34,5 +34,5 @@
     bncZeroDecoder(const QString& fileName);
     ~bncZeroDecoder();
-    virtual void Decode(char* buffer, int bufLen);
+    virtual t_irc Decode(char* buffer, int bufLen);
   private:
     void reopen();
