]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/dclgps.hxx
Separate instruments from cockpit displays.
[flightgear.git] / src / Instrumentation / dclgps.hxx
index be3469aafc1f27dfd2119f29df2fe69d0c6c3648..405c5a70b28dbb760973ed0496fe5a19c3b3e183 100644 (file)
@@ -26,7 +26,8 @@
 #ifndef _DCLGPS_HXX
 #define _DCLGPS_HXX
 
-#include "render_area_2d.hxx"
+#include <Cockpit/render_area_2d.hxx>
+
 #include <string>
 #include <list>
 #include <vector>
@@ -34,6 +35,7 @@
 
 #include <simgear/structure/subsystem_mgr.hxx>
 #include <simgear/props/props.hxx>
+#include <simgear/props/tiedpropertylist.hxx>
 #include <Navaids/positioned.hxx>
 
 class SGTime;
@@ -433,12 +435,9 @@ protected:
        
        // Configuration that affects flightplan operation
        bool _turnAnticipationEnabled;
-        
-       // Magvar stuff.  Might get some of this stuff (such as time) from FG in future.
-       SGTime* _time;
-       
-  std::list<std::string> _messageStack;
-       
+
+       std::list<std::string> _messageStack;
+
        virtual void CreateFlightPlan(GPSFlightPlan* fp, std::vector<std::string> ids, std::vector<GPSWpType> wps);
        
        // Orientate the GPS unit to a flightplan - ie. figure out from current position
@@ -464,6 +463,8 @@ protected:
        // More hackery since we aren't actually storing an approach class... Doh!
        std::string _approachAbbrev;
        std::string _approachRwyStr;
+private:
+       simgear::TiedPropertyList _tiedProperties;
 };
 
 #endif  // _DCLGPS_HXX