StelSkyCultureMgr.hpp   StelSkyCultureMgr.hpp 
skipping to change at line 37 skipping to change at line 37
//! @class StelSkyCulture //! @class StelSkyCulture
//! Store basic info about a sky culture for stellarium. //! Store basic info about a sky culture for stellarium.
class StelSkyCulture class StelSkyCulture
{ {
public: public:
//! English name //! English name
QString englishName; QString englishName;
//! Name of the author //! Name of the author
QString author; QString author;
//! Type of the boundaries (-1=none;0=generic;1=own)
int boundariesIdx;
}; };
//! @class StelSkyCultureMgr //! @class StelSkyCultureMgr
//! Manage sky cultures for stellarium. //! Manage sky cultures for stellarium.
//! Different human cultures have used different names for stars, and visua lised //! Different human cultures have used different names for stars, and visua lised
//! different constellations in the sky (and in different parts of the sky) . //! different constellations in the sky (and in different parts of the sky) .
//! In the installation data directory and user data directory are the "sky cultures" //! In the installation data directory and user data directory are the "sky cultures"
//! sub-directories containing one sub-directory per sky culture. //! sub-directories containing one sub-directory per sky culture.
//! This sub-directory name is that we refer to as sky culture ID here. //! This sub-directory name is that we refer to as sky culture ID here.
//! @author Fabien Chereau //! @author Fabien Chereau
skipping to change at line 74 skipping to change at line 76
//! Get the current sky culture. //! Get the current sky culture.
StelSkyCulture getSkyCulture() const {return currentSkyCulture;} StelSkyCulture getSkyCulture() const {return currentSkyCulture;}
public slots: public slots:
//! Get the current sky culture English name. //! Get the current sky culture English name.
QString getCurrentSkyCultureEnglishName() const; QString getCurrentSkyCultureEnglishName() const;
//! Get the current sky culture translated name. //! Get the current sky culture translated name.
QString getCurrentSkyCultureNameI18() const; QString getCurrentSkyCultureNameI18() const;
//! Set the sky culture from i18n name. //! Set the sky culture from i18n name.
//! @return true on success; false and doesn't change if skyculture is invalid. //! @return true on success; false and doesn't change if skyculture is invalid.
bool setCurrentSkyCultureNameI18(const QString& cultureName) {return setCurrentSkyCultureID(skyCultureI18ToDirectory(cultureName));} bool setCurrentSkyCultureNameI18(const QString& cultureName);
//! Get the current sky culture ID. //! Get the current sky culture ID.
QString getCurrentSkyCultureID() const {return currentSkyCultureDir; } QString getCurrentSkyCultureID() const {return currentSkyCultureDir; }
//! Set the current sky culture from the ID. //! Set the current sky culture from the ID.
//! @param id the sky culture ID. //! @param id the sky culture ID.
//! @return true on success; else false. //! @return true on success; else false.
bool setCurrentSkyCultureID(const QString& id); bool setCurrentSkyCultureID(const QString& id);
//! Get the type of boundaries of the current sky culture
//! Config option: info/boundaries
//! Possible values:
//! none (-1; using by default)
//! generic (0)
//! own (1)
int getCurrentSkyCultureBoundariesIdx() const;
//! Returns a localized HTML description for the current sky culture . //! Returns a localized HTML description for the current sky culture .
//! @return a HTML description of the current sky culture, suitable for display //! @return a HTML description of the current sky culture, suitable for display
QString getCurrentSkyCultureHtmlDescription() const; QString getCurrentSkyCultureHtmlDescription() const;
//! Get the default sky culture ID //! Get the default sky culture ID
QString getDefaultSkyCultureID() {return defaultSkyCultureID;} QString getDefaultSkyCultureID() {return defaultSkyCultureID;}
//! Set the default sky culture from the ID. //! Set the default sky culture from the ID.
//! @param id the sky culture ID. //! @param id the sky culture ID.
//! @return true on success; else false. //! @return true on success; else false.
bool setDefaultSkyCultureID(const QString& id); bool setDefaultSkyCultureID(const QString& id);
 End of changes. 3 change blocks. 
1 lines changed or deleted 11 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/