X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCockpit%2Fcockpit.hxx;h=9c7a5c9d279bc1a93a35b5b3679a6e49cbde7543;hb=5f134cdec82692e4a414af302a8f30c3825ebe64;hp=7510574ada47a15625f263b86914d6591c303f3a;hpb=72c7dc57fd6a7642c4f998feaa0a76b7d6e8e21d;p=flightgear.git diff --git a/src/Cockpit/cockpit.hxx b/src/Cockpit/cockpit.hxx index 7510574ad..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; - SGPropertyNode * 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 */