StelSkyLayerMgr.hpp   StelSkyLayerMgr.hpp 
skipping to change at line 51 skipping to change at line 51
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Methods defined in the StelModule class // Methods defined in the StelModule class
//! Initialize //! Initialize
virtual void init(); virtual void init();
//! Draws sky background //! Draws sky background
virtual void draw(StelCore* core); virtual void draw(StelCore* core);
//! Update state which is time dependent. //! Update state which is time dependent.
virtual void update(double deltaTime) {;} virtual void update(double) {;}
//! Update i18 //! Update i18
virtual void updateI18n() {;} virtual void updateI18n() {;}
//! Determines the order in which the various modules are drawn. //! Determines the order in which the various modules are drawn.
virtual double getCallOrder(StelModuleActionName actionName) const; virtual double getCallOrder(StelModuleActionName actionName) const;
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Other specific methods // Other specific methods
//! Add a new layer. //! Add a new layer.
//! @param l the layer to insert.
//! @param keyHint a hint on which key to use for later referencing
the image.
//! @param show defined whether the layer should be shown by default //! @param show defined whether the layer should be shown by default
//! @return the reference key to use when accessing this layer later on. //! @return the reference key to use when accessing this layer later on.
QString insertSkyLayer(StelSkyLayerP l, const QString& keyHint=QStri ng(), bool show=true); QString insertSkyLayer(StelSkyLayerP l, const QString& keyHint=QStri ng(), bool show=true);
//! Remove a layer. //! Remove a layer.
void removeSkyLayer(StelSkyLayerP l); void removeSkyLayer(StelSkyLayerP l);
//! Get the list of all the currently loaded layers. //! Get the list of all the currently loaded layers.
QMap<QString, StelSkyLayerP> getAllSkyLayers() const; QMap<QString, StelSkyLayerP> getAllSkyLayers() const;
skipping to change at line 124 skipping to change at line 126
//! @return the current shown status of the specified image: //! @return the current shown status of the specified image:
//! - true means the specified image is currently shown. //! - true means the specified image is currently shown.
//! - false means the specified image is currently not shown. //! - false means the specified image is currently not shown.
bool getShowLayer(const QString& id) const; bool getShowLayer(const QString& id) const;
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Other slots // Other slots
//! Add a new SkyImage from its URI (URL or local file name). //! Add a new SkyImage from its URI (URL or local file name).
//! The image is owned by the manager and will be destroyed at the e nd of the program //! The image is owned by the manager and will be destroyed at the e nd of the program
//! or when removeSkyImage is called with the same URI //! or when removeSkyImage is called with the same URI
//! @param uri the local file or the URL where the JSON image descri //! @param uri the local file or the URL where the JSON image descri
ption is located ption is located.
//! @param show defined whether the image should be shown by default //! @param keyHint a hint on which key to use for later referencing
//! @return the reference key to use when accessing this image later the image.
on //! @param show defined whether the image should be shown by default
.
//! @return the reference key to use when accessing this image later
on.
QString insertSkyImage(const QString& uri, const QString& keyHint=QS tring(), bool show=true); QString insertSkyImage(const QString& uri, const QString& keyHint=QS tring(), bool show=true);
//! Remove a sky layer from the list. //! Remove a sky layer from the list.
//! Note: this is not thread safe, and so should not be used directl y //! Note: this is not thread safe, and so should not be used directl y
//! from scripts - use the similarly named function in the core //! from scripts - use the similarly named function in the core
//! scripting API object to delete SkyLayers. //! scripting API object to delete SkyLayers.
//! @param key the reference key (id) generated by insertSkyImage. //! @param key the reference key (id) generated by insertSkyImage.
void removeSkyLayer(const QString& key); void removeSkyLayer(const QString& key);
//! Return the list of all the layer currently loaded. //! Return the list of all the layer currently loaded.
 End of changes. 3 change blocks. 
6 lines changed or deleted 12 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/