Index: trunk/BNC/src/bncmain.cpp
===================================================================
--- trunk/BNC/src/bncmain.cpp	(revision 7959)
+++ trunk/BNC/src/bncmain.cpp	(revision 7961)
@@ -204,4 +204,7 @@
       "   PPP/logPath     {Directory for PPP log files [character string]}\n"
       "   PPP/antexFile   {ANTEX file, full path [character string]}\n"
+#ifdef USE_PPP
+      "   PPP/blqFile   {ANTEX file, full path [character string]}\n"
+#endif
       "   PPP/nmeaPath    {Directory for NMEA output files [character string]}\n"
       "   PPP/snxtroPath  {Directory for SINEX troposphere output files [character string]}\n"
Index: trunk/BNC/src/bncwindow.cpp
===================================================================
--- trunk/BNC/src/bncwindow.cpp	(revision 7959)
+++ trunk/BNC/src/bncwindow.cpp	(revision 7961)
@@ -917,6 +917,8 @@
   pppLayout1->addWidget(new QLabel("Coordinates file"),      ir, 0);
   pppLayout1->addWidget(_pppWidgets._crdFile,                ir, 1);
-  pppLayout1->addWidget(new QLabel("   Version 3 filenames"),ir, 3);
-  pppLayout1->addWidget(_pppWidgets._v3filenames,            ir, 4, 1, 3);
+#ifdef USE_PPP
+  pppLayout1->addWidget(new QLabel("   BLQ file"),           ir, 3);
+  pppLayout1->addWidget(_pppWidgets._blqFile,                ir, 4, 1, 3);
+#endif
   ++ir;
   pppLayout1->addWidget(new QLabel("Logfile directory"),     ir, 0);
@@ -932,7 +934,9 @@
   pppLayout1->addWidget(_pppWidgets._snxtroSampl,            ir, 6, Qt::AlignRight);
   ++ir;
+  pppLayout1->addWidget(new QLabel("Version 3 filenames"),   ir, 0);
+  pppLayout1->addWidget(_pppWidgets._v3filenames,            ir, 1, 1, 3);
   pppLayout1->addWidget(new QLabel("   SNX TRO AC"),         ir, 3);
   pppLayout1->addWidget(_pppWidgets._snxtroAc,               ir, 4);
-  pppLayout1->addWidget(new QLabel("   SNX TRO solution")    ,ir, 5);
+  pppLayout1->addWidget(new QLabel("   SNX TRO solution"),   ir, 5);
   pppLayout1->addWidget(_pppWidgets._snxtroSol,              ir, 6, Qt::AlignRight);
   pppLayout1->setRowStretch(ir, 999);
@@ -1351,4 +1355,5 @@
   _pppWidgets._corrFile->setWhatsThis(tr("<p>Specify the Broadcast Ephemeris Corrections file as saved beforehand using BNC.</p><p>If you don't specify corrections by this option, BNC will fall back to Single Point Positioning (SPP, positioning from RINEX Obs and RINEX Nav files only) instead of doing PPP.</p>"));
   _pppWidgets._antexFile->setWhatsThis(tr("<p>Observations in RTCM streams or RINEX files should be referred to the receiver's and to the satellite's Antenna Phase Center (APC) and therefore be corrected for<ul><li>Receiver APC offsets</li><li>Receiver APC variations</li><li>Satellite APC offsets.</li></ul> Specify the full path to an IGS 'ANTEX file' which contains APC offsets and variations.</p><p>If you don't specify an 'ANTEX file' then observations will not be corrected for APC offsets and variations.</p>"));
+  _pppWidgets._blqFile->setWhatsThis(tr("<p>Enter the full path to an ocean loading file in BLQ format. It contains a record for each site, which shows a header with information on the ocean tide model, the site name and the geographic coordinates. The first three rows of numbers designate amplitudes (meter), radial, west, south, and are followed by three lines with the corresponding phase values (degrees).</p>"));
   _pppWidgets._crdFile->setWhatsThis(tr("<p>Enter the full path to an ASCII file which specifies the streams or files of those stations you want to process. Specifying a 'Coordinates file' is optional. If it exists, it should contain one record per station with the following parameters separated by blank character:<p><ul><li>Specify the station either by<ul><li>the 'Mountpoint' of the station's RTCM stream (when in real-time PPP mode), or</li><li>the 4-charater station ID of the RINEX Observations file (when in post processing PPP mode).</li></ul></li><li>Approximate X,Y,Z coordinate of station's Antenna Reference Point [m] (ARP, specify '0.0 0.0 0.0' if unknown).</li><li>North, East and Up component of antenna eccentricity [m] (specify '0.0 0.0 0.0' if unknown).</li><li>20 Characters describing the antenna type and radome following the IGS 'ANTEX file' standard (leave blank if unknown).</li><li>Receiver type following the naming conventions for IGS equipment.</li></ul></p><p>Records with exclamation mark '!' in the first column or blank records will be interpreted as comment lines and ignored.</p>"));
   _pppWidgets._v3filenames->setWhatsThis(tr("<p>Tick 'Version 3 filenames' to let BNC create so-called extended filenames for PPP logfiles, NMEA files and SINEX Troposphere files following the RINEX Version 3 standard.</p><p>Default is an empty check box, meaning to create filenames following the RINEX Version 2 standard. The file content is not affected by this option. It only concerns the filenames.</p>"));
Index: trunk/BNC/src/pppMain.cpp
===================================================================
--- trunk/BNC/src/pppMain.cpp	(revision 7959)
+++ trunk/BNC/src/pppMain.cpp	(revision 7961)
@@ -173,5 +173,8 @@
 
     opt->_crdFile.assign(settings.value("PPP/crdFile").toString().toStdString());
+#ifdef USE_PPP
     opt->_antexFileName.assign(settings.value("PPP/antexFile").toString().toStdString());
+#endif
+    opt->_blqFileName.assign(settings.value("PPP/blqFile").toString().toStdString());
 
     opt->_sigmaC1      = settings.value("PPP/sigmaC1").toDouble(); if (opt->_sigmaC1 <= 0.0) opt->_sigmaC1 =  2.0;
Index: trunk/BNC/src/pppOptions.h
===================================================================
--- trunk/BNC/src/pppOptions.h	(revision 7959)
+++ trunk/BNC/src/pppOptions.h	(revision 7961)
@@ -38,4 +38,5 @@
   std::string             _antNameRover;
   std::string             _antexFileName;
+  std::string             _blqFileName;
   double                  _sigmaC1;
   double                  _sigmaL1;
Index: trunk/BNC/src/pppWidgets.cpp
===================================================================
--- trunk/BNC/src/pppWidgets.cpp	(revision 7959)
+++ trunk/BNC/src/pppWidgets.cpp	(revision 7961)
@@ -59,4 +59,5 @@
   _crdFile      = new qtFileChooser(); _crdFile     ->setObjectName("PPP/crdFile");      _widgets << _crdFile;
   _antexFile    = new qtFileChooser(); _antexFile   ->setObjectName("PPP/antexFile");    _widgets << _antexFile;
+  _blqFile      = new qtFileChooser(); _blqFile     ->setObjectName("PPP/blqFile");      _widgets << _blqFile;
   _logPath      = new QLineEdit();     _logPath     ->setObjectName("PPP/logPath");      _widgets << _logPath;
   _nmeaPath     = new QLineEdit();     _nmeaPath    ->setObjectName("PPP/nmeaPath");     _widgets << _nmeaPath;
@@ -220,4 +221,5 @@
   delete _crdFile;
   delete _antexFile;
+  delete _blqFile;
   delete _logPath;
   delete _nmeaPath;
Index: trunk/BNC/src/pppWidgets.h
===================================================================
--- trunk/BNC/src/pppWidgets.h	(revision 7959)
+++ trunk/BNC/src/pppWidgets.h	(revision 7961)
@@ -45,4 +45,5 @@
   qtFileChooser* _crdFile;
   qtFileChooser* _antexFile;
+  qtFileChooser* _blqFile;
   QLineEdit*     _logPath;
   QLineEdit*     _nmeaPath;
