StelPluginInterface.hpp   StelPluginInterface.hpp 
skipping to change at line 30 skipping to change at line 30
#ifndef _STELPLUGININTERFACE_HPP_ #ifndef _STELPLUGININTERFACE_HPP_
#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) {;}
//! 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", or "VirGO".
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;
//! Logo or preview image to display in the information dialog or an invalid image if not applicable. //! Logo or preview image to display in the information dialog or an invalid image if not applicable.
//! The image size should be x by x pixels. //! The image size should be x by x pixels.
QImage image; QImage image;
//! Whether the plugin should be started by default (if nothing spec
ified in config.ini)
bool startByDefault;
}; };
//! @class StelPluginInterface //! @class StelPluginInterface
//! Define the interface to implement when creating a plugin. //! Define the interface to implement when creating a plugin.
//! The interface is used by the <a href="http://doc.trolltech.com/4.5/qplu ginloader.html">QPluginLoader</a> to load Stellarium plugins dynamically. //! The interface is used by the <a href="http://doc.trolltech.com/4.5/qplu ginloader.html">QPluginLoader</a> to load Stellarium plugins dynamically.
//! @sa @ref plugins for documentation on how to develop external plugins. //! @sa @ref plugins for documentation on how to develop external plugins.
class StelPluginInterface class StelPluginInterface
{ {
public: public:
virtual ~StelPluginInterface() {} virtual ~StelPluginInterface() {}
 End of changes. 2 change blocks. 
0 lines changed or deleted 4 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/