Index: trunk/BNC/rinex/reqcedit.cpp
===================================================================
--- trunk/BNC/rinex/reqcedit.cpp	(revision 4003)
+++ trunk/BNC/rinex/reqcedit.cpp	(revision 4004)
@@ -248,3 +248,16 @@
   qStableSort(_ephs.begin(), _ephs.end(), t_eph::earlierTime);
 
-}
+  // Initialize output observation file
+  // ----------------------------------
+  t_rnxNavFile outNavFile(_outNavFileName, t_rnxNavFile::output);
+  
+  // Loop over all ephemerides
+  // -------------------------
+  for (int ii = 0; ii < _ephs.size(); ii++) {
+    const t_eph* eph = _ephs[ii];
+    if (ii == 0) {
+      outNavFile.writeHeader();
+    }
+    outNavFile.writeEph(eph);
+  }
+}
Index: trunk/BNC/rinex/rnxnavfile.cpp
===================================================================
--- trunk/BNC/rinex/rnxnavfile.cpp	(revision 4003)
+++ trunk/BNC/rinex/rnxnavfile.cpp	(revision 4004)
@@ -235,2 +235,14 @@
   return 0;
 }
+
+// 
+////////////////////////////////////////////////////////////////////////////
+void t_rnxNavFile::writeHeader() {
+  *_stream << "Writing header ..." << endl;
+}
+
+// 
+////////////////////////////////////////////////////////////////////////////
+void t_rnxNavFile::writeEph(const t_eph* eph) {
+  *_stream << "PRN = " << eph->prn() << endl;
+}
Index: trunk/BNC/rinex/rnxnavfile.h
===================================================================
--- trunk/BNC/rinex/rnxnavfile.h	(revision 4003)
+++ trunk/BNC/rinex/rnxnavfile.h	(revision 4004)
@@ -60,4 +60,6 @@
   float version() const {return _header.version();}
   bool  glonass() const {return _header.glonass();}
+  void  writeHeader();
+  void  writeEph(const t_eph* eph);
 
  protected:
