20 #ifndef _STELSKYCULTUREMGR_HPP_
21 #define _STELSKYCULTUREMGR_HPP_
26 #include <QStringList>
101 QString directoryToSkyCultureEnglish(
const QString& directory);
107 QString directoryToSkyCultureI18(
const QString& directory)
const;
112 QString skyCultureI18ToDirectory(
const QString& cultureName)
const;
114 QMap<QString, StelSkyCulture> dirToNameEnglish;
117 QString currentSkyCultureDir;
120 QString defaultSkyCultureID;
123 #endif // _STELSKYCULTUREMGR_HPP_
QStringList getSkyCultureListIDs(void)
Get a list of sky culture IDs.
QString getCurrentSkyCultureNameI18() const
Get the current sky culture translated name.
QString englishName
English name.
QString getCurrentSkyCultureEnglishName() const
Get the current sky culture English name.
bool setDefaultSkyCultureID(const QString &id)
Set the default sky culture from the ID.
StelSkyCulture getSkyCulture() const
Get the current sky culture.
bool setCurrentSkyCultureID(const QString &id)
Set the current sky culture from the ID.
Manage sky cultures for stellarium.
QString getCurrentSkyCultureID()
Get the current sky culture ID.
Store basic info about a sky culture for stellarium.
void init()
Initialize the StelSkyCultureMgr object.
QString getSkyCultureListEnglish(void)
Get a list of sky culture names in English.
QString getDefaultSkyCultureID()
Get the default sky culture ID.
QStringList getSkyCultureListI18(void)
Get a list of sky culture names in the current language.
bool setCurrentSkyCultureNameI18(const QString &cultureName)
Set the sky culture from i18n name.
QString author
Name of the author.