Stellarium  HEAD
Public Member Functions
Scenery3dStelPluginInterface Class Reference

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

#include <Scenery3d.hpp>

Public Member Functions

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

Detailed Description

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

Member Function Documentation

◆ getExtensionList()

QObjectList Scenery3dStelPluginInterface::getExtensionList ( ) const
overridevirtual

A mechanism to provide arbitrary 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.

Reimplemented from StelPluginInterface.