]> git.mxchange.org Git - flightgear.git/blobdiff - src/Model/acmodel.hxx
Don't restore initial screen geometry because there is nothing in fg_os* to resize...
[flightgear.git] / src / Model / acmodel.hxx
index a59bd954a111a0b131a26fa710b4bd64102919ed..bee322e8bbaa6ca0b3f5e0ea282794f4e15dcd3a 100644 (file)
 #endif
 
 #include <vector>
+#include <string>
 
 SG_USING_STD(string);
 SG_USING_STD(vector);
 
 #include <simgear/structure/subsystem_mgr.hxx> // for SGSubsystem
+#include <simgear/structure/ssgSharedPtr.hxx>
 
 
 // Don't pull in the headers, since we don't need them here.
@@ -42,8 +44,8 @@ public:
 private:
 
   SGModelPlacement * _aircraft;
-  ssgSelector * _selector;
-  ssgRoot * _scene;
+  ssgSharedPtr<ssgSelector> _selector;
+  ssgSharedPtr<ssgRoot> _scene;
   float _nearplane;
   float _farplane;