Index: trunk/BNC/src/bncephuser.cpp
===================================================================
--- trunk/BNC/src/bncephuser.cpp	(revision 11137)
+++ trunk/BNC/src/bncephuser.cpp	(revision 11140)
@@ -43,4 +43,5 @@
 #include "bncephuser.h"
 #include "bnccore.h"
+#include "bncsettings.h"
 
 using namespace std;
@@ -64,4 +65,15 @@
     connect(BNC_CORE, SIGNAL(newBDSEph(t_ephBDS)),
             this, SLOT(slotNewBDSEph(t_ephBDS)), Qt::DirectConnection);
+  }
+}
+
+// Ephemerides of the streams in the general option 'Ephemeris streams' only
+////////////////////////////////////////////////////////////////////////////
+void bncEphUser::useEphMounts(const QString& user) {
+  bncSettings settings;
+  _ephMounts = settings.value("ephMount").toString().split(QRegularExpression("[,\\s]+"),
+                                                            Qt::SkipEmptyParts);
+  if (!_ephMounts.isEmpty()) {
+    BNC_CORE->slotMessage((user.trimmed() + ": ephemerides of " + _ephMounts.join(", ") + " only").toLatin1(), true);
   }
 }
@@ -83,5 +95,7 @@
 ////////////////////////////////////////////////////////////////////////////
 void bncEphUser::slotNewGPSEph(t_ephGPS eph) {
-  putNewEph(&eph, true);
+  if (fromEphMount(eph)) {
+    putNewEph(&eph, true);
+  }
 }
 
@@ -89,5 +103,7 @@
 ////////////////////////////////////////////////////////////////////////////
 void bncEphUser::slotNewGlonassEph(t_ephGlo eph) {
-  putNewEph(&eph, true);
+  if (fromEphMount(eph)) {
+    putNewEph(&eph, true);
+  }
 }
 
@@ -95,5 +111,7 @@
 ////////////////////////////////////////////////////////////////////////////
 void bncEphUser::slotNewGalileoEph(t_ephGal eph) {
-  putNewEph(&eph, true);
+  if (fromEphMount(eph)) {
+    putNewEph(&eph, true);
+  }
 }
 
@@ -101,5 +119,7 @@
 ////////////////////////////////////////////////////////////////////////////
 void bncEphUser::slotNewSBASEph(t_ephSBAS eph) {
-  putNewEph(&eph, true);
+  if (fromEphMount(eph)) {
+    putNewEph(&eph, true);
+  }
 }
 
@@ -107,5 +127,7 @@
 ////////////////////////////////////////////////////////////////////////////
 void bncEphUser::slotNewBDSEph(t_ephBDS eph) {
-  putNewEph(&eph, true);
+  if (fromEphMount(eph)) {
+    putNewEph(&eph, true);
+  }
 }
 
