20 #ifndef METEORSHOWERS_HPP_
21 #define METEORSHOWERS_HPP_
23 #include "MeteorShower.hpp"
24 #include "MeteorShowersMgr.hpp"
26 typedef QSharedPointer<MeteorShower> MeteorShowerP;
55 virtual void update(
double deltaTime);
68 QList<SearchResult>
searchEvents(QDate dateFrom, QDate dateTo)
const;
73 virtual QList<StelObjectP> searchAround(
const Vec3d& v,
double limitFov,
const StelCore* core)
const;
74 virtual StelObjectP searchByNameI18n(
const QString& nameI18n)
const;
75 virtual StelObjectP searchByName(
const QString& name)
const;
76 virtual QStringList listMatchingObjectsI18n(
const QString& objPrefix,
int maxNbItem=5,
bool useStartOfWords=
false)
const;
77 virtual QStringList listMatchingObjects(
const QString& objPrefix,
int maxNbItem=5,
bool useStartOfWords=
false)
const;
78 virtual QStringList listAllObjects(
bool inEnglish)
const;
79 virtual QString getName()
const {
return "Meteor Showers"; }
83 QList<MeteorShowerP> m_meteorShowers;
virtual ~MeteorShowers()
Destructor.
virtual void update(double deltaTime)
Update.
virtual void draw(StelCore *core)
Draw.
MeteorShowers(MeteorShowersMgr *mgr)
Constructor.
This class manages a collection of MeteorShower objects.
Main class of the Meteor Showers plugin, inherits from StelObjectModule.
QList< SearchResult > searchEvents(QDate dateFrom, QDate dateTo) const
Find all meteor_shower events in a given date interval.
void loadMeteorShowers(const QVariantMap &map)
Loads all meteor showers contained in a QVariantMap.