LandscapeMgr.hpp   LandscapeMgr.hpp 
skipping to change at line 270 skipping to change at line 270
//! @returns an empty string if there is no such landscape or some o ther //! @returns an empty string if there is no such landscape or some o ther
//! error occurs //! error occurs
QString loadLandscapeName(QString landscapeID); QString loadLandscapeName(QString landscapeID);
//! This function calculates and returns a landscape's disc size in bytes. //! This function calculates and returns a landscape's disc size in bytes.
//! It adds up the sizes of all files in the landscape's folder. It assumes //! It adds up the sizes of all files in the landscape's folder. It assumes
//! that there are no sub-directories. (There shouldn't be any anywa y.) //! that there are no sub-directories. (There shouldn't be any anywa y.)
//! @param landscapeID an installed landscape's identifier (the fold er name) //! @param landscapeID an installed landscape's identifier (the fold er name)
quint64 loadLandscapeSize(QString landscapeID); quint64 loadLandscapeSize(QString landscapeID);
//! Get flag for autoselect of landscapes for planets.
bool getFlagLandscapeAutoSelection() const;
//! Set flag for autoselect of landscapes for planets.
void setFlagLandscapeAutoSelection(bool enableAutoSelect);
signals: signals:
void atmosphereDisplayedChanged(const bool displayed); void atmosphereDisplayedChanged(const bool displayed);
void cardinalsPointsDisplayedChanged(const bool displayed); void cardinalsPointsDisplayedChanged(const bool displayed);
void fogDisplayedChanged(const bool displayed); void fogDisplayedChanged(const bool displayed);
void landscapeDisplayedChanged(const bool displayed); void landscapeDisplayedChanged(const bool displayed);
//! Emitted when a landscape has been installed or un-installed. //! Emitted when a landscape has been installed or un-installed.
//! For example, it is used to update the list of landscapes in //! For example, it is used to update the list of landscapes in
//! the Sky and viewing options window (the ViewDialog class) //! the Sky and viewing options window (the ViewDialog class)
void landscapesChanged(); void landscapesChanged();
skipping to change at line 340 skipping to change at line 345
//! @returns an empty string, if no such landscape was found. //! @returns an empty string, if no such landscape was found.
QString getLandscapePath(QString landscapeID); QString getLandscapePath(QString landscapeID);
Atmosphere* atmosphere; // Atmosphere Atmosphere* atmosphere; // Atmosphere
Cardinals* cardinalsPoints; // Cardinals points Cardinals* cardinalsPoints; // Cardinals points
Landscape* landscape; // The landscape i.e. the fo g, the ground and "decor" Landscape* landscape; // The landscape i.e. the fo g, the ground and "decor"
// Define whether the observer location is to be updated when the la ndscape is updated. // Define whether the observer location is to be updated when the la ndscape is updated.
bool flagLandscapeSetsLocation; bool flagLandscapeSetsLocation;
bool flagLandscapeAutoSelection;
// The ID of the currently loaded landscape // The ID of the currently loaded landscape
QString currentLandscapeID; QString currentLandscapeID;
// The ID of the default landscape // The ID of the default landscape
QString defaultLandscapeID; QString defaultLandscapeID;
//! List of the IDs of the landscapes packaged by default with Stell arium. //! List of the IDs of the landscapes packaged by default with Stell arium.
//! (So that they can't be removed.) //! (So that they can't be removed.)
//! It is populated in LandscapeMgr() and has to be updated //! It is populated in LandscapeMgr() and has to be updated
//! manually on changes. //! manually on changes.
 End of changes. 2 change blocks. 
0 lines changed or deleted 7 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/