# 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>
/**
*
* Output properties:
*
- * /systems/vacuum[0]/suction-inhg
+ * /systems/vacuum[n]/suction-inhg
*/
-class VacuumSystem : public FGSubsystem
+class VacuumSystem : public SGSubsystem
{
public:
- VacuumSystem ();
+ VacuumSystem( int i );
virtual ~VacuumSystem ();
virtual void init ();
private:
+ int num;
SGPropertyNode_ptr _serviceable_node;
SGPropertyNode_ptr _rpm_node;
SGPropertyNode_ptr _pressure_node;