# 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"
/**
*
* /instrumentation/heading-indicator/indicated-heading-deg
*/
-class HeadingIndicator : public FGSubsystem
+class HeadingIndicator : public SGSubsystem
{
public:
private:
+ Gyro _gyro;
double _last_heading_deg;
- SGPropertyNode_ptr _serviceable_node;
- SGPropertyNode_ptr _spin_node;
SGPropertyNode_ptr _offset_node;
SGPropertyNode_ptr _heading_in_node;
SGPropertyNode_ptr _suction_node;