]> git.mxchange.org Git - flightgear.git/blob - src/Autopilot/auto_gui.hxx
5de09364e932ba41a082a7233fe5d0504e73eb48
[flightgear.git] / src / Autopilot / auto_gui.hxx
1 // auto_gui.hxx -- autopilot gui interface
2 //
3 // Written by Norman Vine <nhv@cape.com>
4 // Arranged by Curt Olson <curt@flightgear.org>
5 //
6 // Copyright (C) 1998 - 2000
7 //
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.
12 //
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.
17 //
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.
21 //
22 // $Id$
23                        
24                        
25 #ifndef _AUTO_GUI_HXX
26 #define _AUTO_GUI_HXX
27
28 #include <simgear/compiler.h>
29                        
30 #include STL_STRING
31
32 #include <string.h>
33
34 #include <Aircraft/aircraft.hxx>
35 #include <FDM/flight.hxx>
36 #include <Controls/controls.hxx>
37                        
38 FG_USING_STD(string);
39
40                   
41 // Defines
42 #define AP_CURRENT_HEADING -1
43
44
45 // prototypes
46 // void fgAPToggleWayPoint( void );
47 // void fgAPToggleHeading( void );
48 // void fgAPToggleAltitude( void );
49 // void fgAPToggleTerrainFollow( void );
50 // void fgAPToggleAutoThrottle( void );
51
52 // bool fgAPTerrainFollowEnabled( void );
53 // bool fgAPAltitudeEnabled( void );
54 // bool fgAPHeadingEnabled( void );
55 // bool fgAPWayPointEnabled( void );
56 // bool fgAPAutoThrottleEnabled( void );
57
58 // void fgAPAltitudeAdjust( double inc );
59 // void fgAPHeadingAdjust( double inc );
60 // void fgAPAutoThrottleAdjust( double inc );
61
62 // void fgAPHeadingSet( double value );
63
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 );
69
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 );
76
77 //void fgAPset_tgt_airport_id( const string );
78 //string fgAPget_tgt_airport_id( void );
79
80 // void fgAPReset(void);
81
82 class puObject;
83 void fgAPAdjust( puObject * );
84 void NewHeading(puObject *cb);
85 void NewAltitude(puObject *cb);
86 void NewTgtAirport(puObject *cb);
87
88 void NewTgtAirportInit();
89 void fgAPAdjustInit() ;
90 void NewHeadingInit();
91 void NewAltitudeInit();
92
93
94 #endif // _AUTO_GUI_HXX