StelPluginInterface.hpp   StelPluginInterface.hpp 
skipping to change at line 31 skipping to change at line 31
#define _STELPLUGININTERFACE_HPP_ #define _STELPLUGININTERFACE_HPP_
#include <QtPlugin> #include <QtPlugin>
#include <QImage> #include <QImage>
//! @struct StelPluginInfo //! @struct StelPluginInfo
//! Contains information about a Stellarium plugin. //! Contains information about a Stellarium plugin.
struct StelPluginInfo struct StelPluginInfo
{ {
StelPluginInfo() : startByDefault(false) {;} StelPluginInfo() : startByDefault(false) {;}
//! The plugin ID. It MUST match the lib file name (case sensitive), e.g. "HelloStelModule", or "VirGO". //! The plugin ID. It MUST match the lib file name (case sensitive), e.g. "HelloStelModule".
QString id; QString id;
//! The displayed name, e.g. "Artificial Satellites". //! The displayed name, e.g. "Artificial Satellites".
QString displayedName; QString displayedName;
//! The comma separated list of authors, e.g. "Fabien Chereau, Matth ew Gates". //! The comma separated list of authors, e.g. "Fabien Chereau, Matth ew Gates".
QString authors; QString authors;
//! The contact email or URL. //! The contact email or URL.
QString contact; QString contact;
//! The HTML description of the plugin. //! The HTML description of the plugin.
QString description; QString description;
//! The version of the plugin, e.g. "1.0.0" //! The version of the plugin, e.g. "1.0.0"
skipping to change at line 66 skipping to change at line 66
public: public:
virtual ~StelPluginInterface() {} virtual ~StelPluginInterface() {}
//! Get the instance of StelModule to include in the list of standar d StelModule //! Get the instance of StelModule to include in the list of standar d StelModule
virtual class StelModule* getStelModule() const = 0; virtual class StelModule* getStelModule() const = 0;
//! Get information about the plugin. //! Get information about the plugin.
virtual StelPluginInfo getPluginInfo() const = 0; virtual StelPluginInfo getPluginInfo() const = 0;
}; };
Q_DECLARE_INTERFACE(StelPluginInterface, "stellarium.StelPluginInterface/2. #define StelPluginInterface_iid "org.stellarium.StelPluginInterface"
0") Q_DECLARE_INTERFACE(StelPluginInterface, StelPluginInterface_iid)
#endif // _STELPLUGININTERFACE_HPP_ #endif // _STELPLUGININTERFACE_HPP_
 End of changes. 2 change blocks. 
3 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/