#endif
#include <simgear/compiler.h>
-
-#include <Main/fgfs.hxx>
-
-#include <vector>
-
-SG_USING_STD(vector);
+#include <simgear/structure/subsystem_mgr.hxx>
/**
* In the initial draft, the instruments present are hard-coded, but they
* will soon be configurable for individual aircraft.
*/
-class FGInstrumentMgr : public FGSubsystem
+class FGInstrumentMgr : public SGSubsystemGroup
{
public:
FGInstrumentMgr ();
virtual ~FGInstrumentMgr ();
-
- virtual void init ();
- virtual void bind ();
- virtual void unbind ();
- virtual void update (double dt);
+ bool build ();
private:
- vector<FGSubsystem *> _instruments;
-
+ SGPropertyNode *config_props;
};
#endif // __INSTRUMENT_MGR_HXX