#ifndef _EPHEMERIS_HXX
#define _EPHEMERIS_HXX
+#include <string>
#include <simgear/ephemeris/star.hxx>
#include <simgear/ephemeris/moonpos.hxx>
#include <simgear/ephemeris/stardata.hxx>
#include <simgear/math/SGMath.hxx>
+#include <simgear/misc/sg_path.hxx>
/** Ephemeris class
* 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 );
* @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(); }
* @returns star array
*/
inline SGVec3d *getStars() { return stars->getStars(); }
+ inline const SGVec3d *getStars() const { return stars->getStars(); }
};