]> git.mxchange.org Git - flightgear.git/blob - src/Network/opengc.hxx
Revert to pre-wind-sticking ground reaction forces until they can be debugged.
[flightgear.git] / src / Network / opengc.hxx
1 // opengc.hxx -- 
2 //
3 // This program is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU General Public License as
5 // published by the Free Software Foundation; either version 2 of the
6 // License, or (at your option) any later version.
7 //
8 // This program is distributed in the hope that it will be useful, but
9 // WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // General Public License for more details.
12 //
13 // You should have received a copy of the GNU General Public License
14 // along with this program; if not, write to the Free Software
15 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
16 //
17
18
19 #ifndef _FG_OPENGC_HXX
20 #define _FG_OPENGC_HXX
21
22 #include <simgear/compiler.h>
23
24 #include STL_STRING
25
26 #include <FDM/flight.hxx>
27
28 #include "protocol.hxx"
29 #include "opengc_data.hxx"
30
31 class FGOpenGC : public FGProtocol, public FGInterface, public FGEngInterface  {
32
33     ogcFGData buf;
34     int length;
35
36 public:
37
38     FGOpenGC();
39     ~FGOpenGC();
40
41     // open hailing frequencies
42     bool open();
43
44     // process work for this port
45     bool process();
46
47     // close the channel
48     bool close();
49
50    
51 };
52
53 #endif // _FG_OPENGC_HXX
54
55