]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/instrument_mgr.hxx
Fix a dumb bug in NavDisplay text-enable.
[flightgear.git] / src / Instrumentation / instrument_mgr.hxx
index 68a2294045072ff066e9443ce29f6411e87f37c3..d7c9b2a07b66ef2474f4b6dcd7f402b30a7ba66d 100644 (file)
 #endif
 
 #include <simgear/compiler.h>
-
-#include <Main/fgfs.hxx>
-
-#include <vector>
-
-SG_USING_STD(vector);
+#include <simgear/structure/subsystem_mgr.hxx>
 
 
 /**
@@ -30,13 +25,21 @@ 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 FGSubsystemGroup
+class FGInstrumentMgr : public SGSubsystemGroup
 {
 public:
 
     FGInstrumentMgr ();
     virtual ~FGInstrumentMgr ();
-
+    
+    virtual void init();
+    virtual void reinit();
+private:
+    bool build (SGPropertyNode* config_props);
+    
+    bool _explicitGps;
+    
+    std::vector<std::string> _instruments;
 };
 
 #endif // __INSTRUMENT_MGR_HXX