X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCockpit%2Fcockpit.hxx;h=9c7a5c9d279bc1a93a35b5b3679a6e49cbde7543;hb=5f134cdec82692e4a414af302a8f30c3825ebe64;hp=c48a1954321988dafb6f39f9c119b4f8d2996b8b;hpb=576432ec75ce0c8f860e5df503cab37e3b8d9024;p=flightgear.git diff --git a/src/Cockpit/cockpit.hxx b/src/Cockpit/cockpit.hxx index c48a19543..9c7a5c9d2 100644 --- a/src/Cockpit/cockpit.hxx +++ b/src/Cockpit/cockpit.hxx @@ -17,7 +17,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * $Id$ **************************************************************************/ @@ -31,29 +31,12 @@ # error This library requires C++ #endif +#include -#include "hud.hxx" +#include #include "panel.hxx" -// Class fg_Cockpit This class is a holder for the heads up display -// and is initialized with a -class fg_Cockpit { - private: - int Code; - int cockpitStatus; - SGValue * hud_status; - - public: - fg_Cockpit () : Code(1), cockpitStatus(0) {}; - int code ( void ) { return Code; } - int status( void ) { return cockpitStatus; } -}; - - -typedef fg_Cockpit * pCockpit; - bool fgCockpitInit( fgAIRCRAFT *cur_aircraft ); -void fgCockpitUpdate( void ); - +void fgCockpitUpdate( osg::State* ); #endif /* _COCKPIT_HXX */