]> 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 f040e26c21a716924a49f85fdf0e16e21bfd8345..d7c9b2a07b66ef2474f4b6dcd7f402b30a7ba66d 100644 (file)
@@ -16,8 +16,7 @@
 #endif
 
 #include <simgear/compiler.h>
-
-#include <Main/fgfs.hxx>
+#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 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