EquationOfTime.hpp   EquationOfTime.hpp 
skipping to change at line 87 skipping to change at line 87
//! Set up the plugin with default values. This means clearing out the Pulsars section in the //! Set up the plugin with default values. This means clearing out the Pulsars section in the
//! main config.ini (if one already exists), and populating it with default values. //! main config.ini (if one already exists), and populating it with default values.
void restoreDefaults(void); void restoreDefaults(void);
//! Read (or re-read) settings from the main config file. This will be called from init and also //! Read (or re-read) settings from the main config file. This will be called from init and also
//! when restoring defaults (i.e. from the configuration dialog / re store defaults button). //! when restoring defaults (i.e. from the configuration dialog / re store defaults button).
void readSettingsFromConfig(void); void readSettingsFromConfig(void);
//! Save the settings to the main configuration file. //! Save the settings to the main configuration file.
void saveSettingsToConfig(void); void saveSettingsToConfig(void) const;
//! Is plugin enabled? //! Is plugin enabled?
bool isEnabled() const bool isEnabled() const
{ {
return flagShowSolutionEquationOfTime; return flagShowSolutionEquationOfTime;
} }
//! Get font size for messages //! Get font size for messages
int getFontSize(void) int getFontSize(void) const
{ {
return fontSize; return fontSize;
} }
//! Get status of usage minutes and seconds for value of equation //! Get status of usage minutes and seconds for value of equation
bool getFlagMsFormat(void) const bool getFlagMsFormat(void) const
{ {
return flagUseMsFormat; return flagUseMsFormat;
} }
//! Get status of usage inverted values for equation of time //! Get status of usage inverted values for equation of time
bool getFlagInvertedValue(void) const bool getFlagInvertedValue(void) const
skipping to change at line 173 skipping to change at line 173
//! 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 EquationOfTimeStelPluginInterface : public QObject, public StelPlugin Interface class EquationOfTimeStelPluginInterface : public QObject, public StelPlugin Interface
{ {
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 /* _EQUATIONOFTIME_HPP_ */ #endif /* _EQUATIONOFTIME_HPP_ */
 End of changes. 3 change blocks. 
2 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/