Clean fg_init.hxx
This commit is contained in:
parent
01e0156b5d
commit
d279c394d7
4 changed files with 7 additions and 21 deletions
|
@ -21,6 +21,7 @@
|
||||||
#include <simgear/props/props.hxx>
|
#include <simgear/props/props.hxx>
|
||||||
#include <simgear/structure/event_mgr.hxx>
|
#include <simgear/structure/event_mgr.hxx>
|
||||||
#include <simgear/sound/soundmgr_openal.hxx>
|
#include <simgear/sound/soundmgr_openal.hxx>
|
||||||
|
#include <simgear/timing/sg_time.hxx>
|
||||||
|
|
||||||
#include <Cockpit/panel.hxx>
|
#include <Cockpit/panel.hxx>
|
||||||
#include <Cockpit/panel_io.hxx>
|
#include <Cockpit/panel_io.hxx>
|
||||||
|
|
|
@ -25,25 +25,11 @@
|
||||||
#ifndef _FG_INIT_HXX
|
#ifndef _FG_INIT_HXX
|
||||||
#define _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 <string>
|
||||||
|
|
||||||
#include <Airports/simple.hxx>
|
// forward decls
|
||||||
|
class SGPropertyNode;
|
||||||
using std::string;
|
class SGTime;
|
||||||
|
|
||||||
|
|
||||||
// Read in configuration (files and command line optoins) but only set
|
// Read in configuration (files and command line optoins) but only set
|
||||||
// fg_root
|
// fg_root
|
||||||
|
@ -51,7 +37,7 @@ bool fgInitFGRoot ( int argc, char **argv );
|
||||||
|
|
||||||
|
|
||||||
// Return the current base package version
|
// Return the current base package version
|
||||||
string fgBasePackageVersion();
|
std::string fgBasePackageVersion();
|
||||||
|
|
||||||
|
|
||||||
// Read in configuration (file and command line)
|
// Read in configuration (file and command line)
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <simgear/compiler.h>
|
#include <simgear/compiler.h>
|
||||||
#include <simgear/structure/exception.hxx>
|
#include <simgear/structure/exception.hxx>
|
||||||
#include <simgear/debug/logstream.hxx>
|
#include <simgear/debug/logstream.hxx>
|
||||||
|
#include <simgear/timing/sg_time.hxx>
|
||||||
|
|
||||||
#include <math.h> // rint()
|
#include <math.h> // rint()
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -27,9 +27,7 @@
|
||||||
#include <simgear/debug/logstream.hxx>
|
#include <simgear/debug/logstream.hxx>
|
||||||
#include <simgear/math/sg_geodesy.hxx>
|
#include <simgear/math/sg_geodesy.hxx>
|
||||||
#include <simgear/io/iochannel.hxx>
|
#include <simgear/io/iochannel.hxx>
|
||||||
|
#include <simgear/timing/sg_time.hxx>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include <FDM/flightProperties.hxx>
|
#include <FDM/flightProperties.hxx>
|
||||||
#include <Main/globals.hxx>
|
#include <Main/globals.hxx>
|
||||||
|
|
Loading…
Add table
Reference in a new issue