]> git.mxchange.org Git - flightgear.git/blobdiff - src/Autopilot/auto_gui.hxx
replace depreciated plib symbols with their new forms
[flightgear.git] / src / Autopilot / auto_gui.hxx
index 6b7e490d8192b992556bbceab511c34868ee7c0b..69e455d4e0d74fe4aaf6c4fc08a94520f133979a 100644 (file)
@@ -1,7 +1,7 @@
 // auto_gui.hxx -- autopilot gui interface
 //
 // Written by Norman Vine <nhv@cape.com>
-// Arranged by Curt Olson <curt@flightgear.org>
+// Arranged by Curt Olson <http://www.flightgear.org/~curt>
 //
 // Copyright (C) 1998 - 2000
 //
 #define _AUTO_GUI_HXX
 
 #include <simgear/compiler.h>
-                       
+
 #include STL_STRING
 
-#include <string.h>
+SG_USING_STD( string );
 
-#include <Aircraft/aircraft.hxx>
-#include <FDM/flight.hxx>
-#include <Controls/controls.hxx>
-                       
-SG_USING_STD(string);
-
-                  
 // Defines
 #define AP_CURRENT_HEADING -1
 
 // prototypes
 
 class puObject;
-void fgAPAdjust( puObject * );
+// void fgAPAdjust( puObject * );
 void NewHeading(puObject *cb);
 void NewAltitude(puObject *cb);
 void AddWayPoint(puObject *cb);
@@ -56,5 +49,7 @@ void fgAPAdjustInit() ;
 void NewHeadingInit();
 void NewAltitudeInit();
 
+int NewWaypoint( const string& Tgt_Alt );
+
 
 #endif // _AUTO_GUI_HXX