Index: /trunk/BNC/RTCM3/ephemeris.h
===================================================================
--- /trunk/BNC/RTCM3/ephemeris.h	(revision 4004)
+++ /trunk/BNC/RTCM3/ephemeris.h	(revision 4005)
@@ -12,4 +12,6 @@
 class t_eph {
  public:
+
+  enum e_type {unknown, GPS, GLONASS, Galileo};
 
   static bool earlierTime(const t_eph* eph1, const t_eph* eph2) {
@@ -28,4 +30,6 @@
   virtual ~t_eph() {};
 
+  virtual e_type type() const = 0;
+
   bool     ok() const {return _ok;}
   bool     isNewerThan(const t_eph* eph) const;
@@ -73,4 +77,7 @@
   t_ephGPS(float rnxVersion, const QStringList& lines);
   virtual ~t_ephGPS() {}
+
+  virtual e_type type() const {return t_eph::GPS;}
+
   double TOC() const {return _TOC;}
 
@@ -125,4 +132,6 @@
 
   virtual ~t_ephGlo() {}
+
+  virtual e_type type() const {return t_eph::GLONASS;}
 
   virtual void position(int GPSweek, double GPSweeks, 
@@ -168,4 +177,7 @@
   t_ephGal(float rnxVersion, const QStringList& lines);
   virtual ~t_ephGal() {}
+
+  virtual e_type type() const {return t_eph::Galileo;}
+
   double TOC() const {return _TOC;}
 
