Index: trunk/BNC/src/bncantex.h
===================================================================
--- trunk/BNC/src/bncantex.h	(revision 10130)
+++ trunk/BNC/src/bncantex.h	(revision 10946)
@@ -47,7 +47,26 @@
                   double eleSat, double azSat, bool& found) const;
   t_irc   satCoMcorrection(const QString& prn, double Mjd,
-                           const ColumnVector& xSat, ColumnVector& dx);
+                           const ColumnVector& xSat, const ColumnVector& vSat,
+                           ColumnVector& dx);
 
  private:
+  // Per-satellite GLONASS yaw state, used to freeze the yaw angle while
+  // the satellite cannot follow the nominal Sun-pointing attitude law
+  // (see glonassYawAngle() below).
+  class t_glonassYaw {
+   public:
+    t_glonassYaw() {
+      yaw   = 0.0;
+      valid = false;
+    }
+    double yaw;
+    bool   valid;
+  };
+
+  double glonassYawAngle(const QString& prn, const ColumnVector& xSat,
+                          const ColumnVector& vSat, const ColumnVector& xSun);
+
+  QMap<QString, t_glonassYaw> _glonassYaw;
+
   class t_frqMap {
    public:
