Index: trunk/BNC/src/PPP/pppClient.cpp
===================================================================
--- trunk/BNC/src/PPP/pppClient.cpp	(revision 5733)
+++ trunk/BNC/src/PPP/pppClient.cpp	(revision 5734)
@@ -6,5 +6,5 @@
 #include <stdexcept>
 
-#include "pppMain.h"
+#include "pppClient.h"
 #include "ephpool.h"
 #include "obspool.h"
@@ -22,9 +22,9 @@
 // Global Variable
 //////////////////////////////////////////////////////////////////////////////
-t_pppMain* pppMain = 0;
+t_pppClient* pppClient = 0;
 
 // Constructor
 //////////////////////////////////////////////////////////////////////////////
-t_pppMain::t_pppMain() {
+t_pppClient::t_pppClient() {
   _opt      = 0;
   _output   = 0;
@@ -40,5 +40,5 @@
 // Destructor
 //////////////////////////////////////////////////////////////////////////////
-t_pppMain::~t_pppMain() {
+t_pppClient::~t_pppClient() {
   delete _log;
   delete _opt;
@@ -54,5 +54,5 @@
 // 
 //////////////////////////////////////////////////////////////////////////////
-void t_pppMain::setOptions(const t_pppOpt* opt) {
+void t_pppClient::setOptions(const t_pppOpt* opt) {
   delete _opt;
   _opt = new t_options(opt);
@@ -68,5 +68,5 @@
 // 
 //////////////////////////////////////////////////////////////////////////////
-void t_pppMain::putGPSEphemeris(const t_ephGPS* eph) {
+void t_pppClient::putGPSEphemeris(const t_ephGPS* eph) {
   _ephPool->putEphemeris(new t_ephGPS(*eph));
 }
@@ -74,5 +74,5 @@
 // 
 //////////////////////////////////////////////////////////////////////////////
-void t_pppMain::putGloEphemeris(const t_ephGlo* eph) {
+void t_pppClient::putGloEphemeris(const t_ephGlo* eph) {
   _ephPool->putEphemeris(new t_ephGlo(*eph));
 }
@@ -80,5 +80,5 @@
 // 
 //////////////////////////////////////////////////////////////////////////////
-void t_pppMain::putOrbCorrections(int numCorr, const t_pppOrbCorr* corr) {
+void t_pppClient::putOrbCorrections(int numCorr, const t_pppOrbCorr* corr) {
   for (int ii = 0; ii < numCorr; ii++) {
     _ephPool->putOrbCorrection(new t_orbCorr(corr[ii]));
@@ -88,5 +88,5 @@
 // 
 //////////////////////////////////////////////////////////////////////////////
-void t_pppMain::putClkCorrections(int numCorr, const t_pppClkCorr* corr) {
+void t_pppClient::putClkCorrections(int numCorr, const t_pppClkCorr* corr) {
   for (int ii = 0; ii < numCorr; ii++) {
     _ephPool->putClkCorrection(new t_clkCorr(corr[ii]));
@@ -96,5 +96,5 @@
 // 
 //////////////////////////////////////////////////////////////////////////////
-void t_pppMain::putBiases(int numBiases, const t_pppSatBiases* biases) {
+void t_pppClient::putBiases(int numBiases, const t_pppSatBiases* biases) {
   for (int ii = 0; ii < numBiases; ii++) {
     _obsPool->putBiases(new t_satBias(biases[ii]));
@@ -104,5 +104,5 @@
 // 
 //////////////////////////////////////////////////////////////////////////////
-t_irc::irc t_pppMain::prepareObs(int numSat, const t_pppSatObs* satObs,
+t_irc::irc t_pppClient::prepareObs(int numSat, const t_pppSatObs* satObs,
                                  vector<t_satObs*>& obsVector, t_time& epoTime) {
   // Default 
@@ -141,5 +141,5 @@
       double dt = satObs->time() - epoTime;
       if (fabs(dt) > MAXSYNC) {
-        LOG << "t_pppMain::prepareObs asynchronous observations" << endl;
+        LOG << "t_pppClient::prepareObs asynchronous observations" << endl;
         return t_irc::failure;
       }
@@ -154,5 +154,5 @@
 // Compute the Bancroft position, check for blunders
 //////////////////////////////////////////////////////////////////////////////
-t_irc::irc t_pppMain::cmpBancroft(const t_time& epoTime, 
+t_irc::irc t_pppClient::cmpBancroft(const t_time& epoTime, 
                                   vector<t_satObs*>& obsVector,
                                   ColumnVector& xyzc, bool print) {
@@ -175,5 +175,5 @@
     }
     if (iObs + 1 < OPT->minobs()) {
-      LOG << "t_pppMain::cmpBancroft not enough observations" << endl;
+      LOG << "t_pppClient::cmpBancroft not enough observations" << endl;
       return t_irc::failure;
     }
@@ -214,5 +214,5 @@
     else {
       t_satObs* satObs = obsVector.at(maxResIndex);
-      LOG << "t_pppMain::cmpBancroft outlier " << satObs->prn().toString()
+      LOG << "t_pppClient::cmpBancroft outlier " << satObs->prn().toString()
           << " " << maxRes << endl;
       delete satObs;
@@ -226,5 +226,5 @@
 // Compute A Priori GPS-Glonass Offset
 //////////////////////////////////////////////////////////////////////////////
-double t_pppMain::cmpOffGG(vector<t_satObs*>& obsVector) {
+double t_pppClient::cmpOffGG(vector<t_satObs*>& obsVector) {
 
   t_lc::type tLC   = (OPT->dualFreqRequired() ? t_lc::cIF : t_lc::c1);
@@ -245,5 +245,5 @@
             satObs->setOutlier();
             outlierFound = true;
-           LOG << "t_pppMain::cmpOffGG outlier " << satObs->prn().toString()
+           LOG << "t_pppClient::cmpOffGG outlier " << satObs->prn().toString()
                << " " << ll << endl;
           }
@@ -268,5 +268,5 @@
 // 
 //////////////////////////////////////////////////////////////////////////////
-void t_pppMain::initOutput(t_pppOutput* output) {
+void t_pppClient::initOutput(t_pppOutput* output) {
   _output = output;
   _output->_epoTime._mjd = 0;
@@ -281,5 +281,5 @@
 // 
 //////////////////////////////////////////////////////////////////////////////
-void t_pppMain::clearObs() {
+void t_pppClient::clearObs() {
   for (unsigned ii = 0; ii < _obsRover.size(); ii++) {
     delete _obsRover.at(ii);
@@ -294,5 +294,5 @@
 // 
 //////////////////////////////////////////////////////////////////////////////
-void t_pppMain::finish(t_irc::irc irc) {
+void t_pppClient::finish(t_irc::irc irc) {
 
   clearObs();
@@ -322,5 +322,5 @@
 // 
 //////////////////////////////////////////////////////////////////////////////
-t_irc::irc t_pppMain::cmpModel(t_station* station, const ColumnVector& xyzc,
+t_irc::irc t_pppClient::cmpModel(t_station* station, const ColumnVector& xyzc,
                                vector<t_satObs*>& obsVector) {
 
@@ -378,5 +378,5 @@
 // 
 //////////////////////////////////////////////////////////////////////////////
-t_irc::irc t_pppMain::createDifferences() {
+t_irc::irc t_pppClient::createDifferences() {
 
   vector<t_satObs*>::iterator it = _obsRover.begin();
@@ -405,5 +405,5 @@
 // 
 //////////////////////////////////////////////////////////////////////////////
-void t_pppMain::processEpoch(int numSatRover, const t_pppSatObs* satObsRover,
+void t_pppClient::processEpoch(int numSatRover, const t_pppSatObs* satObsRover,
                              t_pppOutput* output) {
 
Index: trunk/BNC/src/PPP/pppClient.h
===================================================================
--- trunk/BNC/src/PPP/pppClient.h	(revision 5733)
+++ trunk/BNC/src/PPP/pppClient.h	(revision 5734)
@@ -1,4 +1,4 @@
-#ifndef PPPMAIN_H
-#define PPPMAIN_H
+#ifndef PPPCLIENT_H
+#define PPPCLIENT_H
 
 #include <sstream>
@@ -15,8 +15,8 @@
 class t_filter;
 
-class t_pppMain {
+class t_pppClient {
  public:
-  t_pppMain();                                                      
-  ~t_pppMain();                                                     
+  t_pppClient();                                                      
+  ~t_pppClient();                                                     
   void setOptions(const t_pppOpt* opt);                          
   void putGPSEphemeris(const t_ephGPS* eph);                  
@@ -68,11 +68,11 @@
 
 /// Pointer to the main object
-extern BNC::t_pppMain* pppMain;
+extern BNC::t_pppClient* pppClient;
 
 /// Log stream abbreviation
-#define LOG (*pppMain->_log)
+#define LOG (*pppClient->_log)
 
 /// Options abbreviation
-#define OPT (pppMain->_opt)
+#define OPT (pppClient->_opt)
 
 #endif
