Stellarium
0.21.3
|
#include <StelPluginInterface.hpp>
Public Member Functions | |
virtual class StelModule * | getStelModule () const =0 |
Get the instance of StelModule to include in the list of standard StelModule. | |
virtual StelPluginInfo | getPluginInfo () const =0 |
Get information about the plugin. | |
virtual QObjectList | getExtensionList () const =0 |
A mechanism to provide abitrary QObjects to the StelModuleMgr. More... | |
Define the interface to implement when creating a plugin. The interface is used by the QPluginLoader to load Stellarium plugins dynamically.
|
pure virtual |
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.
Implemented in SatellitesStelPluginInterface, ArchaeoLinesStelPluginInterface, OcularsStelPluginInterface, ExoplanetsStelPluginInterface, TelescopeControlStelPluginInterface, ObservabilityStelPluginInterface, PulsarsStelPluginInterface, Scenery3dStelPluginInterface, MeteorShowersStelPluginInterface, QuasarsStelPluginInterface, SolarSystemEditorStelPluginInterface, NovaeStelPluginInterface, SupernovaeStelPluginInterface, NavStarsStelPluginInterface, CalendarsStelPluginInterface, PointerCoordinatesStelPluginInterface, AngleMeasureStelPluginInterface, RemoteSyncStelPluginInterface, RemoteControlStelPluginInterface, EquationOfTimeStelPluginInterface, OnlineQueriesPluginInterface, TextUserInterfaceStelPluginInterface, OculusStelPluginInterface, HelloStelModuleStelPluginInterface, SimpleDrawLineStelPluginInterface, and VtsStelPluginInterface.