StelSkyCultureMgr.hpp   StelSkyCultureMgr.hpp 
skipping to change at line 45 skipping to change at line 45
QString author; QString author;
}; };
//! @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" sub-directory containing one sub-directory per sky culture. //! In the installation data directory and user data directory are the "sky cultures" sub-directory 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
class StelSkyCultureMgr{ class StelSkyCultureMgr : public QObject
{
Q_OBJECT
public: public:
StelSkyCultureMgr(); StelSkyCultureMgr();
~StelSkyCultureMgr(); ~StelSkyCultureMgr();
//! Initialize the StelSkyCultureMgr object. //! Initialize the StelSkyCultureMgr object.
//! Gets the default sky culture name from the application's setting s, //! Gets the default sky culture name from the application's setting s,
//! sets that sky culture by calling setCurrentSkyCultureID(). //! sets that sky culture by calling setCurrentSkyCultureID().
void init(); void init();
//! Get the current sky culture. //! Get the current sky culture.
skipping to change at line 84 skipping to change at line 87
//! 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);
//! Get a list of sky culture names in English. //! Get a list of sky culture names in English.
//! @return A new-line delimited list of English sky culture names. //! @return A new-line delimited list of English sky culture names.
QString getSkyCultureListEnglish(void); QString getSkyCultureListEnglish(void);
//! Get a list of sky culture names in the current language. //! Get a list of sky culture names in the current language.
//! @return A new-line delimited list of translated sky culture name s. //! @return A list of translated sky culture names.
QStringList getSkyCultureListI18(void); QStringList getSkyCultureListI18(void);
//! Get a list of sky culture IDs
QStringList getSkyCultureListIDs(void);
private: private:
//! Get the culture name in English associated with a specified dire ctory. //! Get the culture name in English associated with a specified dire ctory.
//! @param directory The directory name. //! @param directory The directory name.
//! @return The English name for the culture associated with directo ry. //! @return The English name for the culture associated with directo ry.
QString directoryToSkyCultureEnglish(const QString& directory); QString directoryToSkyCultureEnglish(const QString& directory);
//! Get the culture name translated to current language associated w ith //! Get the culture name translated to current language associated w ith
//! a specified directory. //! a specified directory.
//! @param directory The directory name. //! @param directory The directory name.
//! @return The translated name for the culture associated with dire ctory. //! @return The translated name for the culture associated with dire ctory.
 End of changes. 3 change blocks. 
2 lines changed or deleted 8 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/