Index: /trunk/BNS/bns.pro
===================================================================
--- /trunk/BNS/bns.pro	(revision 2508)
+++ /trunk/BNS/bns.pro	(revision 2509)
@@ -33,5 +33,6 @@
           bnseph.h    bnsutils.h bnsrinex.h bnssp3.h bnsoutf.h        \
           bnscaster.h clock_and_orbit/clock_orbit_rtcm.h bnssettings.h bnsapp.h  \
-          bnscustomtrafo.h rtcm3torinex/rtcm3torinex.h bnctime.h timeutils.h
+          bnscustomtrafo.h rtcm3torinex/rtcm3torinex.h bnctime.h timeutils.h \
+          bnsversion.h
 
 HEADERS += newmat/controlw.h newmat/include.h newmat/myexcept.h  \
Index: /trunk/BNS/bnscaster.cpp
===================================================================
--- /trunk/BNS/bnscaster.cpp	(revision 2508)
+++ /trunk/BNS/bnscaster.cpp	(revision 2509)
@@ -18,4 +18,5 @@
 #include "bnscaster.h" 
 #include "bnssettings.h"
+#include "bnsversion.h"
 
 using namespace std;
@@ -194,5 +195,5 @@
   QByteArray msg = "SOURCE " + password.toAscii() + " /" + 
                    _mountpoint.toAscii() + "\r\n" +
-                   "Source-Agent: NTRIP BNS/1.1\r\n\r\n";
+                   "Source-Agent: NTRIP BNS/" BNSVERSION "\r\n\r\n";
 
   _outSocket->write(msg);
Index: /trunk/BNS/bnsversion.h
===================================================================
--- /trunk/BNS/bnsversion.h	(revision 2509)
+++ /trunk/BNS/bnsversion.h	(revision 2509)
@@ -0,0 +1,8 @@
+
+#ifndef BNSVERSION_H
+#define BNSVERSION_H
+
+#define BNSVERSION "1.2"
+#define BNSPGMNAME "BNS 1.2"
+
+#endif
Index: /trunk/BNS/bnswindow.cpp
===================================================================
--- /trunk/BNS/bnswindow.cpp	(revision 2508)
+++ /trunk/BNS/bnswindow.cpp	(revision 2509)
@@ -22,4 +22,5 @@
 #include "bnssettings.h" 
 #include "bnscustomtrafo.h" 
+#include "bnsversion.h"
 
 using namespace std;
@@ -44,5 +45,5 @@
   img->setPixmap(QPixmap(":ntrip-logo.png"));
   dlgLayout->addWidget(img, 0,0);
-  dlgLayout->addWidget(new QLabel("BKG Ntrip State Space Server (BNS) Version 1.1"), 0,1);
+  dlgLayout->addWidget(new QLabel("BKG Ntrip State Space Server (BNS) Version " BNSVERSION), 0,1);
   dlgLayout->addWidget(tb,1,0,1,2);
   dlgLayout->addWidget(_closeButton,2,1,Qt::AlignRight);  
@@ -101,5 +102,5 @@
   int ww = QFontMetrics(this->font()).width('w');
   setMinimumSize(77*ww, 65*ww);
-  setWindowTitle(tr("BKG Ntrip State Space Server (BNS) Version 1.1"));
+  setWindowTitle(tr("BKG Ntrip State Space Server (BNS) Version " BNSVERSION));
   setWindowIcon(QPixmap(":ntrip-logo.png"));
 
