1
0
Fork 0

Clean fg_init.hxx

This commit is contained in:
James Turner 2010-07-01 22:43:28 +01:00
parent 01e0156b5d
commit d279c394d7
4 changed files with 7 additions and 21 deletions

View file

@ -21,6 +21,7 @@
#include <simgear/props/props.hxx>
#include <simgear/structure/event_mgr.hxx>
#include <simgear/sound/soundmgr_openal.hxx>
#include <simgear/timing/sg_time.hxx>
#include <Cockpit/panel.hxx>
#include <Cockpit/panel_io.hxx>

View file

@ -25,25 +25,11 @@
#ifndef _FG_INIT_HXX
#define _FG_INIT_HXX
#ifndef __cplusplus
# error This library requires C++
#endif
#ifdef HAVE_CONFIG
# include <config.h>
#endif
#include <simgear/compiler.h>
#include <simgear/timing/sg_time.hxx>
#include <string>
#include <Airports/simple.hxx>
using std::string;
// forward decls
class SGPropertyNode;
class SGTime;
// Read in configuration (files and command line optoins) but only set
// fg_root
@ -51,7 +37,7 @@ bool fgInitFGRoot ( int argc, char **argv );
// Return the current base package version
string fgBasePackageVersion();
std::string fgBasePackageVersion();
// Read in configuration (file and command line)

View file

@ -28,6 +28,7 @@
#include <simgear/compiler.h>
#include <simgear/structure/exception.hxx>
#include <simgear/debug/logstream.hxx>
#include <simgear/timing/sg_time.hxx>
#include <math.h> // rint()
#include <stdio.h>

View file

@ -27,9 +27,7 @@
#include <simgear/debug/logstream.hxx>
#include <simgear/math/sg_geodesy.hxx>
#include <simgear/io/iochannel.hxx>
#include <simgear/timing/sg_time.hxx>
#include <FDM/flightProperties.hxx>
#include <Main/globals.hxx>