Stellarium  0.22.2
Public Member Functions
MeteorShowersStelPluginInterface Class Reference

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

#include <MeteorShowersMgr.hpp>

Public Member Functions

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

Member Function Documentation

◆ getExtensionList()

virtual QObjectList MeteorShowersStelPluginInterface::getExtensionList ( ) const
inlinevirtual

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.