X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fephemeris%2Fephemeris.hxx;h=398eb3ef2421c13a372611e3c1e17c64bb5eada7;hb=598b64fa9569c16878c904e344e2e2775e210c42;hp=7554391f1c37f9253b9dbf610edcfa64cd478c69;hpb=84dd54b33a6d8b35e57c32194b025f79245f35c4;p=simgear.git diff --git a/simgear/ephemeris/ephemeris.hxx b/simgear/ephemeris/ephemeris.hxx index 7554391f..398eb3ef 100644 --- a/simgear/ephemeris/ephemeris.hxx +++ b/simgear/ephemeris/ephemeris.hxx @@ -29,8 +29,7 @@ #ifndef _EPHEMERIS_HXX #define _EPHEMERIS_HXX - -#include +#include #include #include @@ -43,6 +42,9 @@ #include #include +#include +#include + /** Ephemeris class * @@ -95,7 +97,7 @@ public: * calling the constructor you need to provide a path pointing to * your star database file. * @param path path to your star database */ - SGEphemeris( const string &path ); + SGEphemeris( const std::string &path ); /** Destructor */ ~SGEphemeris( void ); @@ -156,6 +158,7 @@ public: * @return planets array */ inline SGVec3d *getPlanets() { return planets; } + inline const SGVec3d *getPlanets() const { return planets; } /** @return the numbers of defined stars. */ inline int getNumStars() const { return stars->getNumStars(); } @@ -168,6 +171,7 @@ public: * @returns star array */ inline SGVec3d *getStars() { return stars->getStars(); } + inline const SGVec3d *getStars() const { return stars->getStars(); } };