Comet.hpp   Comet.hpp 
skipping to change at line 17 skipping to change at line 17
* as published by the Free Software Foundation; either version 2 * as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version. * of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U SA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#ifndef _COMET_HPP_ #ifndef _COMET_HPP_
#define _COMET_HPP_ #define _COMET_HPP_
#include "Planet.hpp" #include "Planet.hpp"
/*! \class Comet /*! \class Comet
\author Bogdan Marinov \author Bogdan Marinov
skipping to change at line 68 skipping to change at line 68
//! - PlainText //! - PlainText
// - Size <- Size of what? // - Size <- Size of what?
//! \param core the StelCore object //! \param core the StelCore object
//! \param flags a set of InfoStringGroup items to include in the re turn value. //! \param flags a set of InfoStringGroup items to include in the re turn value.
//! \return a QString containing an HMTL encoded description of the Comet. //! \return a QString containing an HMTL encoded description of the Comet.
virtual QString getInfoString(const StelCore *core, const InfoString Group &flags) const; virtual QString getInfoString(const StelCore *core, const InfoString Group &flags) const;
//The Comet class inherits the "Planet" type because the SolarSystem class //The Comet class inherits the "Planet" type because the SolarSystem class
//was not designed to handle different types of objects. //was not designed to handle different types of objects.
//virtual QString getType() const {return "Comet";} //virtual QString getType() const {return "Comet";}
//! \todo Find better sources for the g,k system //! \todo Find better sources for the g,k system
virtual float getVMagnitude(const StelCore* core) const; virtual float getVMagnitude(const StelCore* core, bool withExtinctio n=false) const;
//! \brief sets absolute magnitude and slope parameter. //! \brief sets absolute magnitude and slope parameter.
//! These are the parameters in the IAU's two-parameter magnitude sy stem //! These are the parameters in the IAU's two-parameter magnitude sy stem
//! for comets. They are used to calculate the apparent magnitude at //! for comets. They are used to calculate the apparent magnitude at
//! different distances from the Sun. They are not used in the same way //! different distances from the Sun. They are not used in the same way
//! as the same parameters in MinorPlanet. //! as the same parameters in MinorPlanet.
void setAbsoluteMagnitudeAndSlope(double magnitude, double slope); void setAbsoluteMagnitudeAndSlope(double magnitude, double slope);
private: private:
double absoluteMagnitude; double absoluteMagnitude;
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 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/