Index: /trunk/BNC/src/PPP/options.cpp
===================================================================
--- /trunk/BNC/src/PPP/options.cpp	(revision 5708)
+++ /trunk/BNC/src/PPP/options.cpp	(revision 5708)
@@ -0,0 +1,69 @@
+// Part of BNC, a utility for retrieving decoding and
+// converting GNSS data streams from NTRIP broadcasters.
+//
+// Copyright (C) 2007
+// German Federal Agency for Cartography and Geodesy (BKG)
+// http://www.bkg.bund.de
+// Czech Technical University Prague, Department of Geodesy
+// http://www.fsv.cvut.cz
+//
+// Email: euref-ip@bkg.bund.de
+//
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License
+// as published by the Free Software Foundation, version 2.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+/* -------------------------------------------------------------------------
+ * BKG NTRIP Client
+ * -------------------------------------------------------------------------
+ *
+ * Class:      t_options
+ *
+ * Purpose:    Options for PPP client
+ *
+ * Author:     L. Mervart
+ *
+ * Created:    29-Jul-2014
+ *
+ * Changes:    
+ *
+ * -----------------------------------------------------------------------*/
+
+#include <newmatio.h>
+#include "options.h"
+
+using namespace BNC;
+using namespace std;
+
+// Constructor
+//////////////////////////////////////////////////////////////////////////////
+t_options::t_options() {
+}
+
+// 
+//////////////////////////////////////////////////////////////////////////////
+bool t_options::dualFreqRequired() const {
+  return true;
+}
+
+// 
+//////////////////////////////////////////////////////////////////////////////
+bool t_options::corrRequired() const {
+  return true;
+}
+
+// 
+//////////////////////////////////////////////////////////////////////////////
+bool t_options::biasRequired() const {
+  return true;
+}
+
Index: /trunk/BNC/src/PPP/options.h
===================================================================
--- /trunk/BNC/src/PPP/options.h	(revision 5708)
+++ /trunk/BNC/src/PPP/options.h	(revision 5708)
@@ -0,0 +1,82 @@
+#ifndef OPTIONS_H
+#define OPTIONS_H
+
+#include <string>
+#include <vector>
+#include <newmat.h>
+#include "ppp.h"
+
+namespace BNC {
+
+class t_options {
+ public:
+  t_options();
+  ~t_options() {};
+
+  const std::string&  roverName()     const {return _roverName;}
+  const ColumnVector& xyzAprRover()   const {return _xyzAprRover;}
+  const ColumnVector& ellAprRover()   const {return _ellAprRover;}
+
+  bool xyzAprRoverSet() const {
+    return (_xyzAprRover[0] != 0.0 || _xyzAprRover[1] != 0.0 || _xyzAprRover[2] != 0.0);
+  }
+
+  const ColumnVector& neuEccRover()   const {return _neuEccRover;}
+  const std::string&  antNameRover()  const {return _antNameRover;}
+  const std::string&  antexFileName() const {return _antexFileName;}
+  bool                dualFreqRequired() const;
+  bool                corrRequired() const;
+  bool                biasRequired() const;
+  int                 minobs() const {return _minobs;}
+  double              minEle() const {return _minEle;}
+  double              maxResPhase() const {return _maxResPhase;}
+  double              maxResCode() const {return _maxResCode;}
+  double              sigmaPhase() const {return _sigmaPhase;}
+  double              sigmaCode() const {return _sigmaCode;}
+  double              sigmaCrd() const {return _sigmaCrd;}
+  bool                estTropo() const {return _estTropo;}
+  double              sigmaTropo() const {return _sigmaTropo;}
+  double              noiseTropo() const {return _noiseTropo;}
+  bool                eleWgtPhase() const {return _eleWgtPhase;}
+  bool                eleWgtCode() const {return _eleWgtCode;}
+  const std::vector<t_lc::type>& LCs() const {return _LCs;}
+
+ private:
+  std::string  _roverName;     
+  ColumnVector _xyzAprRover;
+  ColumnVector _ellAprRover;
+  ColumnVector _neuEccRover;
+  std::string  _antNameRover;  
+  std::string  _antexFileName; 
+  int          _logLevel;      
+  int          _minobs;
+  bool         _useGlonass;
+  e_tropoModel _tropoModel;
+  e_tropoMF    _tropoMF;
+  double       _minEle;
+  double       _maxResCode;
+  double       _maxResPhase;
+  double       _sigmaPhase;
+  double       _sigmaCode;
+  double       _sigmaCrd;
+  bool         _estTropo;
+  double       _sigmaTropo;
+  double       _noiseTropo;
+  bool         _estIono;
+  double       _sigmaIono;
+  double       _noiseIono;
+  bool         _ambres;
+  unsigned     _ambresMinSat;
+  unsigned     _ambresMinEpo;
+  double       _ambresMinEle;
+  double       _ambresMinRatio;
+  double       _ambresMinFixRate;
+  int          _minSDFix;
+  bool         _eleWgtCode;
+  bool         _eleWgtPhase;
+  std::vector<t_lc::type> _LCs;
+};
+
+}
+
+#endif
Index: /trunk/BNC/src/PPP/ppp.h
===================================================================
--- /trunk/BNC/src/PPP/ppp.h	(revision 5707)
+++ /trunk/BNC/src/PPP/ppp.h	(revision 5708)
@@ -3,4 +3,5 @@
 
 #include <string>
+#include "bnctime.h"
 
 namespace BNC {
@@ -79,5 +80,5 @@
 class t_pppClkCorr {
  public:
-  t_pppsat       _satellite;
+  t_pppSat       _satellite;
   unsigned short _iod;
   bncTime        _time;
Index: /trunk/BNC/src/src.pri
===================================================================
--- /trunk/BNC/src/src.pri	(revision 5707)
+++ /trunk/BNC/src/src.pri	(revision 5708)
@@ -59,5 +59,5 @@
           RTCM3/ephemeris.h RTCM3/timeutils.h                         \
           GPSS/gpssDecoder.h GPSS/hassDecoder.h                       \
-          PPP/pppwidgets.h
+          PPP/pppwidgets.h PPP/options.h
 
 HEADERS       += serial/qextserialbase.h serial/qextserialport.h
@@ -88,5 +88,5 @@
           RTCM3/ephemeris.cpp RTCM3/timeutils.cpp                     \
           GPSS/gpssDecoder.cpp GPSS/hassDecoder.cpp                   \
-          PPP/pppwidgets.cpp
+          PPP/pppwidgets.cpp PPP/options.cpp
 
 SOURCES       += serial/qextserialbase.cpp serial/qextserialport.cpp
