~petr-kubanek/stellarium/stellarium

« back to all changes in this revision

Viewing changes to plugins/Supernovae/src/Supernova.hpp

  • Committer: Georg Zotti
  • Date: 2017-05-16 11:21:44 UTC
  • mfrom: (8454.1.100 SoCiS2016)
  • Revision ID: georg.zotti@univie.ac.at-20170516112144-mckvrgf8acksrghd
Merge-in SoCiS2016: Irregular solar system objects, RemoteSync plugin, Scenery3D improvements. Big merge, and raises Qt requirement to Qt5.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
{
43
43
        friend class Supernovae;
44
44
public:
 
45
        static const QString SUPERNOVA_TYPE;
 
46
 
45
47
        //! @param id The official designation for a supernova, e.g. "SN 1054A"
46
48
        Supernova(const QVariantMap& map);
47
49
        ~Supernova();
59
61
 
60
62
        virtual QString getType(void) const
61
63
        {
62
 
                return "Supernova";
 
64
                return SUPERNOVA_TYPE;
 
65
        }
 
66
 
 
67
        virtual QString getID(void) const
 
68
        {
 
69
                return designation;
63
70
        }
64
71
 
65
72
        //! Get an HTML string to describe the object