]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/airspeed_indicator.hxx
Multiplayer client/server system -- MessageBuf class and test harness complete
[flightgear.git] / src / Instrumentation / airspeed_indicator.hxx
index 1047608cb9863388ed0dcbe681cfec6446e67e53..0572a0eb120b5a97c2fec2a6c5cdcb72ccadb6e6 100644 (file)
@@ -11,8 +11,8 @@
 # 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>
 
 
 /**
  * /instrumentation/airspeed-indicator/serviceable
  * /systems/pitot[0]/total-pressure-inhg
  * /systems/static[0]/pressure-inhg
+ * /environment/density-slugft3
  *
  * Output properties:
  *
  * /instrumentation/airspeed-indicator/indicated-speed-kt
  */
-class AirspeedIndicator : public FGSubsystem
+class AirspeedIndicator : public SGSubsystem
 {
 
 public:
@@ -44,6 +45,7 @@ private:
     SGPropertyNode_ptr _serviceable_node;
     SGPropertyNode_ptr _total_pressure_node;
     SGPropertyNode_ptr _static_pressure_node;
+    SGPropertyNode_ptr _density_node;
     SGPropertyNode_ptr _speed_node;
     
 };