X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Finstrument_mgr.hxx;h=0d0069733b7bb1bd00e91080b8799b46bd9afe99;hb=010e03fab49219813f2957b0e494672d01d62ff4;hp=6e0bf4d12a072e0cd6bc48b3272aa7af30a48581;hpb=682feb8f2d4803444b5a95d956de3979a7a7fcc7;p=flightgear.git diff --git a/src/Instrumentation/instrument_mgr.hxx b/src/Instrumentation/instrument_mgr.hxx index 6e0bf4d12..0d0069733 100644 --- a/src/Instrumentation/instrument_mgr.hxx +++ b/src/Instrumentation/instrument_mgr.hxx @@ -16,12 +16,7 @@ #endif #include - -#include
- -#include - -SG_USING_STD(vector); +#include /** @@ -30,21 +25,16 @@ SG_USING_STD(vector); * 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 _instruments; - + SGPropertyNode *config_props; }; #endif // __INSTRUMENT_MGR_HXX