Index: /trunk/BNC/src/bncclockrinex.cpp
===================================================================
--- /trunk/BNC/src/bncclockrinex.cpp	(revision 7569)
+++ /trunk/BNC/src/bncclockrinex.cpp	(revision 7570)
@@ -12,5 +12,5 @@
  * Created:    29-Mar-2011
  *
- * Changes:    
+ * Changes:
  *
  * -----------------------------------------------------------------------*/
@@ -21,4 +21,5 @@
 #include "bncclockrinex.h"
 #include "bncsettings.h"
+#include "bncversion.h"
 
 using namespace std;
@@ -26,6 +27,6 @@
 // Constructor
 ////////////////////////////////////////////////////////////////////////////
-bncClockRinex::bncClockRinex(const QString& sklFileName, const QString& intr, 
-                             int sampl) 
+bncClockRinex::bncClockRinex(const QString& sklFileName, const QString& intr,
+                             int sampl)
   : bncoutf(sklFileName, intr, sampl) {
   bncSettings settings;
@@ -39,5 +40,5 @@
 // Write One Epoch
 ////////////////////////////////////////////////////////////////////////////
-t_irc bncClockRinex::write(int GPSweek, double GPSweeks, const QString& prn, 
+t_irc bncClockRinex::write(int GPSweek, double GPSweeks, const QString& prn,
                            double sp3Clk) {
 
@@ -46,8 +47,8 @@
       QDateTime datTim = dateAndTimeFromGPSweek(GPSweek, GPSweeks);
       double sec = fmod(GPSweeks, 60.0);
-    
+
       _out << "AS " << prn.toAscii().data()
            << datTim.toString("  yyyy MM dd hh mm").toAscii().data()
-           << fixed      << setw(10) << setprecision(6)  << sec 
+           << fixed      << setw(10) << setprecision(6)  << sec
            << "  1   "   << fortranFormat(sp3Clk, 19, 12).toAscii().data() << endl;
 
@@ -66,5 +67,6 @@
        << "RINEX VERSION / TYPE" << endl;
 
-  _out << "BNC                                     " 
+
+  _out << "BNC v" << BNCVERSION     << "                               "
        << datTim.toString("yyyyMMdd hhmmss").leftJustified(20, ' ', true).toAscii().data()
        << "PGM / RUN BY / DATE" << endl;
