Stellarium  0.90.0
List of all members | Public Member Functions
SupernovaeStelPluginInterface Class Reference

This class is used by Qt to manage a plug-in interface. More...

#include <Supernovae.hpp>

+ Inheritance diagram for SupernovaeStelPluginInterface:
+ Collaboration diagram for SupernovaeStelPluginInterface:

Public Member Functions

virtual StelModulegetStelModule () const
 Get the instance of StelModule to include in the list of standard StelModule. More...
 
virtual StelPluginInfo getPluginInfo () const
 Get information about the plugin. More...
 
virtual QObjectList getExtensionList () const
 A mechanism to provide abitrary QObjects to the StelModuleMgr. More...
 

Detailed Description

This class is used by Qt to manage a plug-in interface.

Definition at line 261 of file Supernovae.hpp.

Member Function Documentation

virtual QObjectList SupernovaeStelPluginInterface::getExtensionList ( ) const
inlinevirtual

A mechanism to provide abitrary QObjects to the StelModuleMgr.

Introduced to provide some limited form of inter-plugin communication. 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 interested in.

Implements StelPluginInterface.

Definition at line 269 of file Supernovae.hpp.

virtual StelPluginInfo SupernovaeStelPluginInterface::getPluginInfo ( ) const
virtual

Get information about the plugin.

Implements StelPluginInterface.

virtual StelModule* SupernovaeStelPluginInterface::getStelModule ( ) const
virtual

Get the instance of StelModule to include in the list of standard StelModule.

Implements StelPluginInterface.


The documentation for this class was generated from the following file: