StelModule.hpp   StelModule.hpp 
skipping to change at line 68 skipping to change at line 68
//! Update the module with respect to the time. //! Update the module with respect to the time.
//! @param deltaTime the time increment in second since last call. //! @param deltaTime the time increment in second since last call.
virtual void update(double deltaTime) = 0; virtual void update(double deltaTime) = 0;
//! Update i18n strings from english names according to current glob al sky and application language. //! Update i18n strings from english names according to current glob al sky and application language.
//! This method also reload the proper fonts depending on the langua ge. //! This method also reload the proper fonts depending on the langua ge.
//! The translation shall be done using the StelTranslator provided by the StelApp singleton instance. //! The translation shall be done using the StelTranslator provided by the StelApp singleton instance.
virtual void updateI18n() {;} virtual void updateI18n() {;}
//! Update sky culture, i.e. load data if necessary and translate th em to current sky language if needed. //! Update sky culture, i.e. load data if necessary and translate th em to current sky language if needed.
virtual void updateSkyCulture() {;} //! @param skyCultureDir the name of the directory containing the sk
y culture to use.
virtual void updateSkyCulture(const QString& skyCultureDir) {;}
//! Get the version of the module, default is stellarium main versio n //! Get the version of the module, default is stellarium main versio n
virtual QString getModuleVersion() const; virtual QString getModuleVersion() const;
//! Get the name of the module author //! Get the name of the module author
virtual QString getAuthorName() const {return "Stellarium's Team";} virtual QString getAuthorName() const {return "Stellarium's Team";}
//! Get the email adress of the module author //! Get the email adress of the module author
virtual QString getAuthorEmail() const {return "http://www.stellariu m.org";} virtual QString getAuthorEmail() const {return "http://www.stellariu m.org";}
//! Handle mouse clicks. Please note that most of the interactions w ill be done through the GUI module. //! Handle mouse clicks. Please note that most of the interactions w ill be done through the GUI module.
//! @return set the event as accepted if it was intercepted //! @return set the event as accepted if it was intercepted
virtual void handleMouseClicks(class QMouseEvent* event) {return;} virtual void handleMouseClicks(class QMouseEvent* e) {;}
//! Handle mouse wheel. Please note that most of the interactions wi ll be done through the GUI module. //! Handle mouse wheel. Please note that most of the interactions wi ll be done through the GUI module.
//! @return set the event as accepted if it was intercepted //! @return set the event as accepted if it was intercepted
virtual void handleMouseWheel(class QWheelEvent* event) {return;} virtual void handleMouseWheel(class QWheelEvent* e) {;}
//! Handle mouse moves. Please note that most of the interactions wi ll be done through the GUI module. //! Handle mouse moves. Please note that most of the interactions wi ll be done through the GUI module.
//! @return true if the event was intercepted //! @return true if the event was intercepted
virtual bool handleMouseMoves(int x, int y, Qt::MouseButtons b) {ret urn false;} virtual bool handleMouseMoves(int x, int y, Qt::MouseButtons b) {ret urn false;}
//! Handle key events. Please note that most of the interactions wil l be done through the GUI module. //! Handle key events. Please note that most of the interactions wil l be done through the GUI module.
//! @param event the Key event //! @param event the Key event
//! @return set the event as accepted if it was intercepted //! @return set the event as accepted if it was intercepted
virtual void handleKeys(class QKeyEvent* event) {return;} virtual void handleKeys(class QKeyEvent* e) {;}
//! Enum used when selecting objects to define whether to add to, re place, or remove from the existing selection list. //! Enum used when selecting objects to define whether to add to, re place, or remove from the existing selection list.
enum StelModuleSelectAction enum StelModuleSelectAction
{ {
AddToSelection, //!< Add the StelObject to the current l ist of selected ones. AddToSelection, //!< Add the StelObject to the current l ist of selected ones.
ReplaceSelection, //!< Set the StelObject as the new l ist of selected ones. ReplaceSelection, //!< Set the StelObject as the new l ist of selected ones.
RemoveFromSelection //!< Subtract the StelObject from the cu rrent list of selected ones. RemoveFromSelection //!< Subtract the StelObject from the cu rrent list of selected ones.
}; };
//! Indicate that the user requested selection of StelObjects. //! Indicate that the user requested selection of StelObjects.
 End of changes. 4 change blocks. 
4 lines changed or deleted 6 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/