9#include <PluginBase/PluginContext.hpp>
27class FileLoaderInterface;
196#define RadiumPluginInterface_IID "RadiumEngine.PluginInterface"
Data passed to the plugin constructor.
Interface class for Radiums plugins.
virtual void registerPlugin(const Context &context)=0
Pass arguments for plugin initialization. This method must create and register all the services that ...
virtual void addRenderers(std::vector< std::shared_ptr< Ra::Engine::Rendering::Renderer > > *rds)
addRenderers
virtual QAction * getAction(int id)=0
Returns the action to be added to the ui and then returns it.
virtual QMenu * getMenu()=0
Creates to menu to be added to the ui and then returns it.
virtual QWidget * getWidget()=0
Creates the widget to be added to the ui and then returns it. If connections are needed (between plug...
virtual bool doAddWidget(QString &name)=0
Tells wether the plugin wants to add a widget (inside the UI tab widget) or not. If it does,...
virtual void addFileLoaders(std::vector< std::shared_ptr< Core::Asset::FileLoaderInterface > > *fl)
virtual bool doAddROpenGLInitializer()
virtual bool doAddMenu()=0
Tells wether the plugin wants to add a menu or not. If it does, getMenu() will be called.
virtual void openGlInitialize(const Context &context)
openGlInitialize
virtual bool doAddAction(int &nb)=0
Tells wether the plugin wants to add actions or not. If it does, getAction() will be called for each ...
virtual bool doAddFileLoader()
virtual bool doAddRenderer()
hepler function to manage enum as underlying types in VariableSet