]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/AIMgr.hxx
Recent SimGear changes seem to require more additions of config.h to FG in order...
[flightgear.git] / src / ATC / AIMgr.hxx
index 885536dd57d25e51322b5c9a2e6425eed2f0935a..5dcdba70c700a694ea9ca22908d7ee819a4346e0 100644 (file)
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 #ifndef _FG_AIMGR_HXX
 #define _FG_AIMGR_HXX
 
 #include <simgear/structure/subsystem_mgr.hxx>
+#include <simgear/structure/ssgSharedPtr.hxx>
 
 #include <Main/fg_props.hxx>
 
@@ -109,8 +110,8 @@ public:
 
 private:
        
-       ssgBranch* _defaultModel;  // Cessna 172!
-       ssgBranch* _piperModel;    // pa28-161
+       ssgSharedPtr<ssgBranch> _defaultModel;  // Cessna 172!
+       ssgSharedPtr<ssgBranch> _piperModel;    // pa28-161
 
        bool initDone;  // Hack - guard against update getting called before init