]> git.mxchange.org Git - flightgear.git/blobdiff - src/Systems/vacuum.hxx
Boris Koenig:
[flightgear.git] / src / Systems / vacuum.hxx
index 3087c46339236301ce3265264468605188847711..d3034e16fb6b9037d24daf8c9cee0983571b992e 100644 (file)
@@ -12,8 +12,7 @@
 #endif
 
 #include <simgear/props/props.hxx>
-
-#include <Main/fgfs.hxx>
+#include <simgear/structure/subsystem_mgr.hxx>
 
 
 /**
  *
  * Input properties:
  *
- * /engines/engine[0]/rpm
+ * "rpm"
  * /environment/pressure-inhg
- * /systems/vacuum[0]/serviceable
+ * /systems/"name"/serviceable
  *
  * Output properties:
  *
- * /systems/vacuum[n]/suction-inhg
+ * /systems/"name"/suction-inhg
  */
-class VacuumSystem : public FGSubsystem
+class VacuumSystem : public SGSubsystem
 {
 
 public:
 
+    VacuumSystem( SGPropertyNode *node );
     VacuumSystem( int i );
     virtual ~VacuumSystem ();
 
@@ -46,7 +46,10 @@ public:
 
 private:
 
+    string name;
     int num;
+    string rpm;
+    double scale;
     SGPropertyNode_ptr _serviceable_node;
     SGPropertyNode_ptr _rpm_node;
     SGPropertyNode_ptr _pressure_node;