MinorPlanet.hpp   MinorPlanet.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 _MINOR_PLANET_HPP_ #ifndef _MINOR_PLANET_HPP_
#define _MINOR_PLANET_HPP_ #define _MINOR_PLANET_HPP_
#include "Planet.hpp" #include "Planet.hpp"
/*! \class MinorPlanet /*! \class MinorPlanet
\author Bogdan Marinov \author Bogdan Marinov
skipping to change at line 73 skipping to change at line 73
//! - Size //! - Size
//! - PlainText //! - PlainText
//! \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 MinorPlanet. //! \return a QString containing an HMTL encoded description of the MinorPlanet.
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.
// \todo Decide if this is going to be "MinorPlanet" or "Asteroid" // \todo Decide if this is going to be "MinorPlanet" or "Asteroid"
//virtual QString getType() const {return "MinorPlanet";} //virtual QString getType() const {return "MinorPlanet";}
virtual float getVMagnitude(const StelCore* core) const; virtual float getVMagnitude(const StelCore* core, bool withExtinctio n=false) const;
//! sets the nameI18 property with the appropriate translation. //! sets the nameI18 property with the appropriate translation.
//! Function overriden to handle the problem with name conflicts. //! Function overriden to handle the problem with name conflicts.
virtual void translateName(StelTranslator& trans); virtual void translateName(StelTranslator& trans);
//! set the minor planet's number, if any. //! set the minor planet's number, if any.
//! The number should be specified as an additional parameter, as //! The number should be specified as an additional parameter, as
//! englishName is passed as a constant to Planet's constructor. //! englishName is passed as a constant to Planet's constructor.
//! The number can be set only once. Any further calls of this funct ion will //! The number can be set only once. Any further calls of this funct ion will
//! have no result. //! have no result.
void setMinorPlanetNumber(int number); void setMinorPlanetNumber(int number);
 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/