]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/slip_skid_ball.hxx
- move HUDText constructor/methods to HUD.cxx
[flightgear.git] / src / Instrumentation / slip_skid_ball.hxx
index 14010af025c9a5892862f8c0ce908affd8f74308..7266cdfce4c2b3033d10adf454bb81fb9eed29f9 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>
 
 #include "gyro.hxx"
 
  *
  * Input properties:
  *
- * /instrumentation/slip-skid-ball/serviceable
+ * /instrumentation/"name"/serviceable
  * /accelerations/pilot/y-accel-fps_sec
  * /accelerations/pilot/z-accel-fps_sec
  *
  * Output properties:
  *
- * /instrumentation/slip-skid-ball/indicated-slip-skid
+ * /instrumentation/"name"/indicated-slip-skid
  */
-class SlipSkidBall : public FGSubsystem
+class SlipSkidBall : public SGSubsystem
 {
 
 public:
 
+    SlipSkidBall ( SGPropertyNode *node );
     SlipSkidBall ();
     virtual ~SlipSkidBall ();
 
@@ -46,11 +47,15 @@ private:
     Gyro _gyro;
     double _last_pos;
 
+    string name;
+    int num;
+
     SGPropertyNode_ptr _serviceable_node;
     SGPropertyNode_ptr _y_accel_node;
     SGPropertyNode_ptr _z_accel_node;
     SGPropertyNode_ptr _out_node;
-    
+    SGPropertyNode_ptr _override_node;
+   
 };
 
 #endif // __INSTRUMENTS_SLIP_SKID_BALL_HXX