Index: trunk/BNC/combination/bnccomb.cpp
===================================================================
--- trunk/BNC/combination/bnccomb.cpp	(revision 2909)
+++ trunk/BNC/combination/bnccomb.cpp	(revision 2910)
@@ -19,4 +19,5 @@
 #include "bnccomb.h"
 #include "bncapp.h"
+#include "bncsettings.h"
 
 using namespace std;
@@ -25,4 +26,20 @@
 ////////////////////////////////////////////////////////////////////////////
 bncComb::bncComb() {
+
+  bncSettings settings;
+
+  QStringList combineStreams = settings.value("combineStreams").toStringList();
+  
+  _nStreams = combineStreams.size();
+  
+  cout << "HAHA " << _nStreams << endl;
+
+  if (_nStreams >= 2) {
+    QListIterator<QString> it(combineStreams);
+    while (it.hasNext()) {
+      QStringList hlp = it.next().split(" ");
+      cout << "combination: " << hlp[0].toAscii().data() << endl;
+    }
+  }
 }
 
@@ -36,6 +53,5 @@
 void bncComb::processCorrLine(const QString& staID, const QString& line) {
   QMutexLocker locker(&_mutex);
-
-///  cout << staID.toAscii().data() << " " << line.toAscii().data() << endl;
+  cout << staID.toAscii().data() << " " << line.toAscii().data() << endl;
 }
 
Index: trunk/BNC/combination/bnccomb.h
===================================================================
--- trunk/BNC/combination/bnccomb.h	(revision 2909)
+++ trunk/BNC/combination/bnccomb.h	(revision 2910)
@@ -12,6 +12,5 @@
   ~bncComb();
   void processCorrLine(const QString& staID, const QString& line);
-
- public slots:
+  int  nStreams() const {return _nStreams;}
 
  signals:
@@ -19,4 +18,5 @@
 
  private:
+  int _nStreams;
 };
 
