MeteorShower.hpp   MeteorShower.hpp 
skipping to change at line 108 skipping to change at line 108
QDate getPeak() { return m_activity.peak; } QDate getPeak() { return m_activity.peak; }
//! Gets the current ZHR //! Gets the current ZHR
//! @return ZHR //! @return ZHR
int getZHR() { return m_activity.zhr; } int getZHR() { return m_activity.zhr; }
// //
// Methods defined in StelObject class // Methods defined in StelObject class
// //
virtual QString getInfoString(const StelCore* core, const InfoString Group& flags) const; virtual QString getInfoString(const StelCore* core, const InfoString Group& flags) const;
//! Return a map like StelObject, but with a few extra tags:
// TODO: Describe the fields!
//! - status
//! - id
//! - type (translated string "meteor shower")
//! - speed (km/s)
//! - pop-idx (population index)
//! - parent
//! - zhr-max (information string)
virtual QVariantMap getInfoMap(const StelCore *core) const;
virtual QString getType(void) const { return "MeteorShower"; } virtual QString getType(void) const { return "MeteorShower"; }
virtual QString getEnglishName(void) const { return m_designation.tr immed(); } virtual QString getEnglishName(void) const { return m_designation.tr immed(); }
virtual QString getNameI18n(void) const { return q_(m_designation.tr immed()); } virtual QString getNameI18n(void) const { return q_(m_designation.tr immed()); }
virtual Vec3d getJ2000EquatorialPos(const StelCore*) const { return m_position; } virtual Vec3d getJ2000EquatorialPos(const StelCore*) const { return m_position; }
virtual float getSelectPriority(const StelCore*) const { return -4.0 ; } virtual float getSelectPriority(const StelCore*) const { return -4.0 ; }
virtual Vec3f getInfoColor(void) const; virtual Vec3f getInfoColor(void) const;
virtual double getAngularSize(const StelCore*) const { return 0.001; } virtual double getAngularSize(const StelCore*) const { return 0.001; }
private: private:
MeteorShowersMgr* m_mgr; //! MeteorShowersMgr instance MeteorShowersMgr* m_mgr; //! MeteorShowersMgr instance
skipping to change at line 154 skipping to change at line 164
//! Draws all active meteors //! Draws all active meteors
void drawMeteors(StelCore* core); void drawMeteors(StelCore* core);
//! Calculates the ZHR using normal distribution //! Calculates the ZHR using normal distribution
//! @param current julian day //! @param current julian day
int calculateZHR(const double& currentJD); int calculateZHR(const double& currentJD);
//! Gets the solar longitude for a specified date //! Gets the solar longitude for a specified date
//! @param date QDate //! @param date QDate
//! @return solar longitude in degree //! @return solar longitude in degree
QString getSolarLongitude(QDate date) const; static QString getSolarLongitude(QDate date);
}; };
#endif /*_METEORSHOWER_HPP_*/ #endif /*_METEORSHOWER_HPP_*/
 End of changes. 2 change blocks. 
1 lines changed or deleted 11 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/