X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fephemeris%2Fephemeris.hxx;h=398eb3ef2421c13a372611e3c1e17c64bb5eada7;hb=6a07c2282673562f67d12d31cd618be85d80f45a;hp=d46650fb820a97c8965215897ada300ee5409c82;hpb=b13900402d7dddf41456fd424ae07c67bfebe7d1;p=simgear.git diff --git a/simgear/ephemeris/ephemeris.hxx b/simgear/ephemeris/ephemeris.hxx index d46650fb..398eb3ef 100644 --- a/simgear/ephemeris/ephemeris.hxx +++ b/simgear/ephemeris/ephemeris.hxx @@ -29,6 +29,7 @@ #ifndef _EPHEMERIS_HXX #define _EPHEMERIS_HXX +#include #include #include @@ -42,6 +43,7 @@ #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(); } };