Index: /trunk/BNC/bncephuser.cpp
===================================================================
--- /trunk/BNC/bncephuser.cpp	(revision 3669)
+++ /trunk/BNC/bncephuser.cpp	(revision 3670)
@@ -148,4 +148,30 @@
     eLast->set(&galeph);
     _eph.insert(prn, new t_ephPair(eLast));
+  }
+  ephBufferChanged();
+}
+
+// 
+////////////////////////////////////////////////////////////////////////////
+void bncEphUser::putNewEph(t_eph* newEph) {
+
+  QMutexLocker locker(&_mutex);
+
+  if (!newEph) {
+    return;
+  }
+
+  QString prn = newEph->prn();
+
+  if (_eph.contains(prn)) {
+    t_eph* eLast = _eph.value(prn)->last;
+    if (newEph->isNewerThan(eLast)) {
+      delete _eph.value(prn)->prev;
+      _eph.value(prn)->prev = _eph.value(prn)->last;
+      _eph.value(prn)->last = newEph;
+    }
+  }
+  else {
+    _eph.insert(prn, new t_ephPair(newEph));
   }
   ephBufferChanged();
Index: /trunk/BNC/bncephuser.h
===================================================================
--- /trunk/BNC/bncephuser.h	(revision 3669)
+++ /trunk/BNC/bncephuser.h	(revision 3670)
@@ -105,4 +105,6 @@
   }
 
+  void putNewEph(t_eph* eph);
+
  public slots:
   void slotNewEphGPS(gpsephemeris gpseph);
Index: /trunk/BNC/bncpostprocess.cpp
===================================================================
--- /trunk/BNC/bncpostprocess.cpp	(revision 3669)
+++ /trunk/BNC/bncpostprocess.cpp	(revision 3670)
@@ -86,13 +86,4 @@
     _pppClient  = new bncPPPclient("POST", _opt, false);
 
-    connect(this, SIGNAL(newEphGPS(gpsephemeris)),
-            _pppClient, SLOT(slotNewEphGPS(gpsephemeris)), Qt::DirectConnection);
-    
-    connect(this, SIGNAL(newEphGlonass(glonassephemeris)),
-            _pppClient, SLOT(slotNewEphGlonass(glonassephemeris)), Qt::DirectConnection);
-    
-    connect(this, SIGNAL(newEphGalileo(galileoephemeris)),
-            _pppClient, SLOT(slotNewEphGalileo(galileoephemeris)), Qt::DirectConnection);
-
     connect(this, SIGNAL(newCorrections(QList<QString>)),
             _pppClient, SLOT(slotNewCorrections(QList<QString>)));
@@ -108,4 +99,5 @@
   t_eph* eph;
   while (_rnxNavFile->getNextEph(eph) == success) {
+    _pppClient->putNewEph(eph);
   }
 
