MeteorShowersMgr.hpp   MeteorShowersMgr.hpp 
skipping to change at line 50 skipping to change at line 50
<b>Configuration</b> <b>Configuration</b>
The plug-ins' configuration data is stored in Stellarium's main configurati on The plug-ins' configuration data is stored in Stellarium's main configurati on
file (section [MeteorShowers]). file (section [MeteorShowers]).
@} @}
*/ */
//! @class MeteorShowersMgr //! @class MeteorShowersMgr
//! Main class of the %Meteor Showers plugin, inherits from StelObjectModul e. //! Main class of the %Meteor Showers plugin, inherits from StelModule.
//! @author Marcos Cardinot <mcardinot@gmail.com> //! @author Marcos Cardinot <mcardinot@gmail.com>
//! @ingroup meteorShowers //! @ingroup meteorShowers
class MeteorShowersMgr : public StelObjectModule class MeteorShowersMgr : public StelModule
{ {
Q_OBJECT Q_OBJECT
Q_PROPERTY(bool enablePlugin READ getEnablePlugin WRITE actionEnable Plugin NOTIFY enablePluginChanged) Q_PROPERTY(bool enablePlugin READ getEnablePlugin WRITE actionEnable Plugin NOTIFY enablePluginChanged)
Q_PROPERTY(bool enableLabels READ getEnableLabels WRITE setEnableLab els NOTIFY enableLabelsChanged) Q_PROPERTY(bool enableLabels READ getEnableLabels WRITE setEnableLab els NOTIFY enableLabelsChanged)
public: public:
//! @enum DownloadStatus //! @enum DownloadStatus
enum DownloadStatus { enum DownloadStatus {
OUTDATED, OUTDATED,
UPDATING, UPDATING,
skipping to change at line 128 skipping to change at line 128
// //
// Methods defined in the StelModule class // Methods defined in the StelModule class
// //
virtual void init(); virtual void init();
virtual void deinit(); virtual void deinit();
virtual void update(double deltaTime); virtual void update(double deltaTime);
virtual void draw(StelCore* core); virtual void draw(StelCore* core);
virtual double getCallOrder(StelModuleActionName actionName) const; virtual double getCallOrder(StelModuleActionName actionName) const;
virtual bool configureGui(bool show=true); virtual bool configureGui(bool show=true);
//
// Methods defined in StelObjectModule class
//
virtual QList<StelObjectP> searchAround(const Vec3d&, double, const
StelCore*) const { return QList<StelObjectP>(); }
virtual StelObjectP searchByNameI18n(const QString&) const { return
StelObjectP(); }
virtual StelObjectP searchByName(const QString&) const { return Stel
ObjectP(); }
virtual QStringList listMatchingObjects(const QString&, int, bool, b
ool) const { return QStringList(); }
virtual QStringList listAllObjects(bool) const { return QStringList(
); }
virtual QString getName() const { return QString(); }
signals: signals:
void downloadStatusChanged(DownloadStatus); void downloadStatusChanged(DownloadStatus);
void enablePluginChanged(bool b); void enablePluginChanged(bool b);
void enableLabelsChanged(bool b); void enableLabelsChanged(bool b);
public slots: public slots:
//! Enable the meteor showers plugin at Stellarium startup. //! Enable the meteor showers plugin at Stellarium startup.
//! @param b boolean flag //! @param b boolean flag
void setEnableAtStartup(const bool& b); void setEnableAtStartup(const bool& b);
//! True if the plugin is enabled at Stellarium startup. //! True if the plugin is enabled at Stellarium startup.
skipping to change at line 353 skipping to change at line 343
//! This class is used by Qt to manage a plug-in interface //! This class is used by Qt to manage a plug-in interface
class MeteorShowersStelPluginInterface : public QObject, public StelPluginI nterface class MeteorShowersStelPluginInterface : public QObject, public StelPluginI nterface
{ {
Q_OBJECT Q_OBJECT
Q_PLUGIN_METADATA(IID StelPluginInterface_iid) Q_PLUGIN_METADATA(IID StelPluginInterface_iid)
Q_INTERFACES(StelPluginInterface) Q_INTERFACES(StelPluginInterface)
public: public:
virtual StelModule* getStelModule() const; virtual StelModule* getStelModule() const;
virtual StelPluginInfo getPluginInfo() const; virtual StelPluginInfo getPluginInfo() const;
virtual QObjectList getExtensionList() const { return QObjectList(); }
}; };
#endif /*METEORSHOWERSMGR_HPP_*/ #endif /*METEORSHOWERSMGR_HPP_*/
 End of changes. 4 change blocks. 
17 lines changed or deleted 3 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/