]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/fdm_shell.hxx
Fix compilation with SYSTEM_SQLITE
[flightgear.git] / src / FDM / fdm_shell.hxx
index 04bbf1b722a1c409f3e8a5a25ae973d8304906f1..1b4a368e5b064ef97a32f08c63009d56a5a24d5c 100644 (file)
@@ -41,25 +41,33 @@ class FDMShell : public SGSubsystem
 {
 public:
   FDMShell();
-  ~FDMShell();
+  virtual ~FDMShell();
   
   virtual void init();
+  virtual void shutdown();
   virtual void reinit();
-  
+  virtual void postinit();
+    
   virtual void bind();
   virtual void unbind();
   
   virtual void update(double dt);
-  SGSubsystem* getFDM();
 
+    FGInterface* getInterface() const;
 private:
 
   void createImplementation();
   
   TankPropertiesList _tankProperties;
-  FGInterface* _impl;
-  SGPropertyNode* _props; // root property tree for this FDM instance
+  SGSharedPtr<FGInterface> _impl;
+  SGPropertyNode_ptr _props; // root property tree for this FDM instance
   bool _dataLogging;
+  
+  SGPropertyNode_ptr _wind_north, _wind_east,_wind_down;
+  SGPropertyNode_ptr _control_fdm_atmo,_temp_degc,_pressure_inhg;
+  SGPropertyNode_ptr _density_slugft, _data_logging, _replay_master;
+    
+  SGPropertyNode_ptr _initialFdmProperties;
 };
 
 #endif // of FG_FDM_SHELL_HXX