]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/KLN89/kln89_page_nav.hxx
Clean-up some SGMath dependencies.
[flightgear.git] / src / Instrumentation / KLN89 / kln89_page_nav.hxx
index 7b722e3351337afa2a0079753c6262d72e802bf7..aff3747d8ae8df8f70ab34ce371516e3fe4261b4 100644 (file)
@@ -3,7 +3,7 @@
 //
 // Written by David Luff, started 2005.
 //
-// Copyright (C) 2005 - David C Luff - david.luff@nottingham.ac.uk
+// Copyright (C) 2005 - David C Luff - daveluff AT ntlworld.com
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -17,7 +17,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 // $Id$
 
@@ -41,6 +41,9 @@ public:
        
        void LooseFocus();
        
+       // Returns the id string of the selected waypoint on NAV4 if valid, else returns an empty string.
+       std::string GetNav4WpId();
+       
 private:
        int _posFormat;         // 0 => lat,lon; 1 => ref to wp.
        
@@ -60,4 +63,8 @@ private:
        // NAV 4 menu stuff
        bool _menuActive;
        int _menuPos;
+       
+       // NAV 4 waypoint scan drawing housekeeping.
+       bool _scanWpSet;
+       int _scanWpIndex;
 };