]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/heading_indicator.hxx
ignore resets for now because every z/Z key press would trigger a call to NOAA. We...
[flightgear.git] / src / Instrumentation / heading_indicator.hxx
index 7941010fa8b3007133fd8554da2ef5e60c13d7f8..75b1bc5c3c41493e149412a54dc9b87cd3aed067 100644 (file)
 # error This library requires C++
 #endif
 
-#include <simgear/misc/props.hxx>
-#include <Main/fgfs.hxx>
+#include <simgear/props/props.hxx>
+#include <simgear/structure/subsystem_mgr.hxx>
+
+#include "gyro.hxx"
 
 
 /**
@@ -32,7 +34,7 @@
  *
  * /instrumentation/heading-indicator/indicated-heading-deg
  */
-class HeadingIndicator : public FGSubsystem
+class HeadingIndicator : public SGSubsystem
 {
 
 public:
@@ -47,10 +49,9 @@ public:
 
 private:
 
+    Gyro _gyro;
     double _last_heading_deg;
 
-    SGPropertyNode_ptr _serviceable_node;
-    SGPropertyNode_ptr _spin_node;
     SGPropertyNode_ptr _offset_node;
     SGPropertyNode_ptr _heading_in_node;
     SGPropertyNode_ptr _suction_node;