Index: /trunk/BNC/bncpppclient.cpp
===================================================================
--- /trunk/BNC/bncpppclient.cpp	(revision 2775)
+++ /trunk/BNC/bncpppclient.cpp	(revision 2776)
@@ -69,4 +69,6 @@
   }
 
+  _useGalileo = true; // TODO
+
   if (settings.value("pppSPP").toString() == "PPP") {
     _pppMode = true;
@@ -84,4 +86,7 @@
   connect(((bncApp*)qApp), SIGNAL(newEphGlonass(glonassephemeris)),
           this, SLOT(slotNewEphGlonass(glonassephemeris)));
+
+  connect(((bncApp*)qApp), SIGNAL(newEphGalileo(galileoephemeris)),
+          this, SLOT(slotNewEphGalileo(galileoephemeris)));
 
   connect(((bncApp*)qApp), SIGNAL(newCorrections(QList<QString>)),
@@ -122,5 +127,11 @@
   QMutexLocker locker(&_mutex);
 
-  if (obs.satSys != 'G' && !_useGlonass) {
+  if      (obs.satSys == 'R' && !_useGlonass) {
+    return;
+  }
+  else if (obs.satSys == 'E' && !_useGalileo) {
+    return;
+  }
+  else if (obs.satSys != 'G') {
     return;
   }
@@ -554,2 +565,27 @@
 }
 
+// 
+////////////////////////////////////////////////////////////////////////////
+void bncPPPclient::slotNewEphGalileo(galileoephemeris galeph) {
+  QMutexLocker locker(&_mutex);
+
+  QString prn = QString("E%1").arg(galeph.satellite, 2, 10, QChar('0'));
+
+  if (_eph.contains(prn)) {
+    t_ephGal* eLast = static_cast<t_ephGal*>(_eph.value(prn)->last);
+    if ( (eLast->GPSweek() <  galeph.Week) || 
+         (eLast->GPSweek() == galeph.Week &&  
+          eLast->TOC()     <  galeph.TOC) ) {
+      delete static_cast<t_ephGal*>(_eph.value(prn)->prev);
+      _eph.value(prn)->prev = _eph.value(prn)->last;
+      _eph.value(prn)->last = new t_ephGal();
+      static_cast<t_ephGal*>(_eph.value(prn)->last)->set(&galeph);
+    }
+  }
+  else {
+    t_ephGal* eLast = new t_ephGal();
+    eLast->set(&galeph);
+    _eph.insert(prn, new t_ephPair());
+    _eph[prn]->last = eLast;
+  }
+}
Index: /trunk/BNC/bncpppclient.h
===================================================================
--- /trunk/BNC/bncpppclient.h	(revision 2775)
+++ /trunk/BNC/bncpppclient.h	(revision 2776)
@@ -125,4 +125,5 @@
   void slotNewEphGPS(gpsephemeris gpseph);
   void slotNewEphGlonass(glonassephemeris gloeph);
+  void slotNewEphGalileo(galileoephemeris galeph);
   void slotNewCorrections(QList<QString> corrList);
 
@@ -173,4 +174,5 @@
   bncModel*               _model;
   bool                    _useGlonass;
+  bool                    _useGalileo;
   bool                    _pppMode;
   QMap<QString, slipInfo> _slips;
