]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/cockpit.hxx
Merge branch 'topic/atis' into merge/master-atis
[flightgear.git] / src / Cockpit / cockpit.hxx
index b3d7b420eb317abc2f2f194d8d679b88aa26a602..9c7a5c9d279bc1a93a35b5b3679a6e49cbde7543 100644 (file)
 # error This library requires C++
 #endif
 
+#include <osg/State>
 
 #include <Aircraft/aircraft.hxx>
 #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;
-    SGPropertyNode_ptr 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 */