]> git.mxchange.org Git - flightgear.git/blob - Cockpit/cockpit.h
C++ - ifing the code a bit.
[flightgear.git] / Cockpit / cockpit.h
1 /**************************************************************************
2  * cockpit.h -- cockpit defines and prototypes (initial draft)
3  *
4  * Written by Michele America, started September 1997.
5  *
6  * Copyright (C) 1997  Michele F. America  - nomimarketing@mail.telepac.pt
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  * (Log is kept at end of this file)
24  **************************************************************************/
25  
26
27 #ifndef _COCKPIT_H
28 #define _COCKPIT_H
29
30
31 #include <Cockpit/hud.h>
32
33
34 #ifdef __cplusplus                                                          
35 extern "C" {                            
36 #endif                                   
37
38
39 // And in the future (near future i hope).
40 // #include <Cockpit/panel.h>
41
42 typedef struct  {
43         int code;
44         Hptr hud;
45         // As above.
46         // PANEL *panel;
47         int status;
48 }fgCOCKPIT, *pfgCockpit;
49
50 fgCOCKPIT *fgCockpitInit( fgAIRCRAFT *cur_aircraft );
51 void fgCockpitUpdate( void );
52
53
54 #ifdef __cplusplus
55 }
56 #endif
57
58
59 #endif /* _COCKPIT_H */
60
61
62 /* $Log$
63 /* Revision 1.8  1998/04/22 13:26:19  curt
64 /* C++ - ifing the code a bit.
65 /*
66  * Revision 1.7  1998/04/21 17:02:34  curt
67  * Prepairing for C++ integration.
68  *
69  * Revision 1.6  1998/02/07 15:29:33  curt
70  * Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
71  * <chotchkiss@namg.us.anritsu.com>
72  *
73  * Revision 1.5  1998/01/22 02:59:29  curt
74  * Changed #ifdef FILE_H to #ifdef _FILE_H
75  *
76  * Revision 1.4  1998/01/19 19:27:01  curt
77  * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
78  * This should simplify things tremendously.
79  *
80  * Revision 1.3  1998/01/19 18:40:19  curt
81  * Tons of little changes to clean up the code and to remove fatal errors
82  * when building with the c++ compiler.
83  *
84  * Revision 1.2  1997/12/10 22:37:39  curt
85  * Prepended "fg" on the name of all global structures that didn't have it yet.
86  * i.e. "struct WEATHER {}" became "struct fgWEATHER {}"
87  *
88  * Revision 1.1  1997/08/29 18:03:21  curt
89  * Initial revision.
90  *
91  */