StelPluginInterface.hpp   StelPluginInterface.hpp 
skipping to change at line 64 skipping to change at line 64
class StelPluginInterface class StelPluginInterface
{ {
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;
//! A mechanism to provide abitrary QObjects to the StelModuleMgr.
//! Introduced to provide some limited form of inter-plugin communic
ation.
//! If you do not need this, return an empty list.
//!
//! The StelModuleMgr remembers all loaded extensions and provides
//! methods to access them. You should use qobject_cast to try to
//! cast each object to a specific interface in which you are intere
sted in.
virtual QObjectList getExtensionList() const = 0;
}; };
#define StelPluginInterface_iid "org.stellarium.StelPluginInterface" #define StelPluginInterface_iid "org.stellarium.StelPluginInterface/2.0"
Q_DECLARE_INTERFACE(StelPluginInterface, StelPluginInterface_iid) Q_DECLARE_INTERFACE(StelPluginInterface, StelPluginInterface_iid)
#endif // _STELPLUGININTERFACE_HPP_ #endif // _STELPLUGININTERFACE_HPP_
 End of changes. 2 change blocks. 
1 lines changed or deleted 12 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/