Index: branches/BNC_2.12/src/combination/bnccomb.cpp
===================================================================
--- branches/BNC_2.12/src/combination/bnccomb.cpp	(revision 8696)
+++ branches/BNC_2.12/src/combination/bnccomb.cpp	(revision 9036)
@@ -162,4 +162,20 @@
   }
 
+  QString ssrFormat;
+  QListIterator<QString> it(settings.value("uploadMountpointsOut").toStringList());
+  while (it.hasNext()) {
+    QStringList hlp = it.next().split(",");
+    if (hlp.size() > 7) {
+      ssrFormat = hlp[7];
+    }
+  }
+  _ssrCorr = 0;
+  if      (ssrFormat == "IGS-SSR") {
+    _ssrCorr = new SsrCorrIgs();
+  }
+  else if (ssrFormat == "RTCM-SSR") {
+    _ssrCorr = new SsrCorrRtcm();
+  }
+
   _rtnetDecoder = 0;
 
@@ -266,4 +282,7 @@
   }
   delete _rtnetDecoder;
+  if (_ssrCorr) {
+    delete _ssrCorr;
+  }
   delete _antex;
   for (int iPar = 1; iPar <= _params.size(); iPar++) {
@@ -714,5 +733,5 @@
 
   QString     outLines;
-  QStringList corrLines;
+  //QStringList corrLines;
 
   unsigned year, month, day, hour, minute;
@@ -770,5 +789,5 @@
 
     QString line;
-    int messageType   = COTYPE_GPSCOMBINED;
+    int messageType   = _ssrCorr->COTYPE_GPSCOMBINED;
     int updateInt     = 0;
     line.sprintf("%d %d %d %.1f %s"
@@ -789,5 +808,5 @@
                  corr->_orbCorr._dotXr[2],
                  0.0);
-    corrLines << line;
+    //corrLines << line;
 
     delete corr;
@@ -883,5 +902,5 @@
     }
 //    if (_useGlonass) {
-//      for (int iGlo = 1; iGlo <= t_prn::MAXPRN_GLONASS; iGlo++) {
+//      for (unsigned iGlo = 1; iGlo <= t_prn::MAXPRN_GLONASS; iGlo++) {
 //        QString prn = QString("R%1_0").arg(iGlo, 2, 10, QChar('0'));
 //        ++iCond;
Index: branches/BNC_2.12/src/combination/bnccomb.h
===================================================================
--- branches/BNC_2.12/src/combination/bnccomb.h	(revision 8696)
+++ branches/BNC_2.12/src/combination/bnccomb.h	(revision 9036)
@@ -7,4 +7,6 @@
 #include "bncephuser.h"
 #include "satObs.h"
+#include "../RTCM3/clock_and_orbit/clock_orbit_rtcm.h"
+#include "../RTCM3/clock_and_orbit/clock_orbit_igs.h"
 
 class bncRtnetDecoder;
@@ -126,4 +128,5 @@
   QMap<QString, QMap<t_prn, t_orbCorr> > _orbCorrections;
   bncEphUser                             _ephUser;
+  SsrCorr*                               _ssrCorr;
 };
 
