1 // auto_gui.hxx -- autopilot gui interface
3 // Written by Norman Vine <nhv@cape.com>
4 // Arranged by Curt Olson <curt@flightgear.org>
6 // Copyright (C) 1998 - 2000
8 // This program is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU General Public License as
10 // published by the Free Software Foundation; either version 2 of the
11 // License, or (at your option) any later version.
13 // This program is distributed in the hope that it will be useful, but
14 // WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // General Public License for more details.
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the Free Software
20 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 #include <simgear/compiler.h>
34 #include <Aircraft/aircraft.hxx>
35 #include <FDM/flight.hxx>
36 #include <Controls/controls.hxx>
42 #define AP_CURRENT_HEADING -1
46 // void fgAPToggleWayPoint( void );
47 // void fgAPToggleHeading( void );
48 // void fgAPToggleAltitude( void );
49 // void fgAPToggleTerrainFollow( void );
50 // void fgAPToggleAutoThrottle( void );
52 // bool fgAPTerrainFollowEnabled( void );
53 // bool fgAPAltitudeEnabled( void );
54 // bool fgAPHeadingEnabled( void );
55 // bool fgAPWayPointEnabled( void );
56 // bool fgAPAutoThrottleEnabled( void );
58 // void fgAPAltitudeAdjust( double inc );
59 // void fgAPHeadingAdjust( double inc );
60 // void fgAPAutoThrottleAdjust( double inc );
62 // void fgAPHeadingSet( double value );
64 // double fgAPget_TargetLatitude( void );
65 // double fgAPget_TargetLongitude( void );
66 // // double fgAPget_TargetHeading( void );
67 // double fgAPget_TargetDistance( void );
68 // double fgAPget_TargetAltitude( void );
70 // char *fgAPget_TargetLatitudeStr( void );
71 // char *fgAPget_TargetLongitudeStr( void );
72 // char *fgAPget_TargetDistanceStr( void );
73 // char *fgAPget_TargetHeadingStr( void );
74 // char *fgAPget_TargetAltitudeStr( void );
75 // char *fgAPget_TargetLatLonStr( void );
77 //void fgAPset_tgt_airport_id( const string );
78 //string fgAPget_tgt_airport_id( void );
80 // void fgAPReset(void);
83 void fgAPAdjust( puObject * );
84 void NewHeading(puObject *cb);
85 void NewAltitude(puObject *cb);
86 void NewTgtAirport(puObject *cb);
88 void NewTgtAirportInit();
89 void fgAPAdjustInit() ;
90 void NewHeadingInit();
91 void NewAltitudeInit();
94 #endif // _AUTO_GUI_HXX