]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/altimeter.hxx
ignore resets for now because every z/Z key press would trigger a call to NOAA. We...
[flightgear.git] / src / Instrumentation / altimeter.hxx
index b653a4c13ad13fc2e8166880547d74b03200515c..73c1c2c02aa628f6b80fde0c28d7c65df4f83150 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>
 
 
 class SGInterpTable;
@@ -31,7 +31,7 @@ class SGInterpTable;
  *
  * /instrumentation/altimeter/indicated-altitude-ft
  */
-class Altimeter : public FGSubsystem
+class Altimeter : public SGSubsystem
 {
 
 public:
@@ -40,14 +40,10 @@ public:
     virtual ~Altimeter ();
 
     virtual void init ();
-    virtual void bind ();
-    virtual void unbind ();
     virtual void update (double dt);
 
 private:
 
-    double _spin;
-
     SGPropertyNode_ptr _serviceable_node;
     SGPropertyNode_ptr _setting_node;
     SGPropertyNode_ptr _pressure_node;