]> 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 9beb293e15cb3ac02eea929514a761571d3f0fe1..1b4a368e5b064ef97a32f08c63009d56a5a24d5c 100644 (file)
@@ -44,8 +44,10 @@ public:
   virtual ~FDMShell();
   
   virtual void init();
+  virtual void shutdown();
   virtual void reinit();
-  
+  virtual void postinit();
+    
   virtual void bind();
   virtual void unbind();
   
@@ -57,13 +59,15 @@ private:
   void createImplementation();
   
   TankPropertiesList _tankProperties;
-  FGInterface* _impl;
+  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