]> git.mxchange.org Git - flightgear.git/blobdiff - src/Autopilot/route_mgr.hxx
Remove un-needed header.
[flightgear.git] / src / Autopilot / route_mgr.hxx
index d0adfb4a1e0526ddf9493a5254109146ba7c9d95..b66a06b72f4cb697a4113c1f66c0083378a0a045 100644 (file)
@@ -84,6 +84,11 @@ public:
    * route could not be activated for some reason
    */
   bool activate();
+  
+  /**
+   * deactivate the route if active
+   */
+  void deactivate();
 
   /**
    * Step to the next waypoint on the active route
@@ -189,6 +194,11 @@ private:
      */
     bool checkFinished();
     
+    /*
+     * update state when we pass the final waypoint
+     */
+    void endOfRoute();
+    
     /**
      * Predicate for helping the UI - test if at least one waypoint was
      * entered by the user (as opposed to being generated by the route-manager)