9 #include <PluginBase/PluginContext.hpp>
27 class FileLoaderInterface;
149 addRenderers( std::vector<std::shared_ptr<Ra::Engine::Rendering::Renderer>>* ) {}
162 addFileLoaders( std::vector<std::shared_ptr<Core::Asset::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 QAction * getAction(int id)=0
Returns the action to be added to the ui and then returns it.
virtual void addFileLoaders(std::vector< std::shared_ptr< Core::Asset::FileLoaderInterface >> *)
virtual QWidget * getWidget()=0
Creates the widget to be added to the ui and then returns it. If connections are needed (between plug...
virtual void addRenderers(std::vector< std::shared_ptr< Ra::Engine::Rendering::Renderer >> *)
addRenderers
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 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 QMenu * getMenu()=0
Creates to menu to be added to the ui and then returns it.
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 void openGlInitialize(const Context &)
openGlInitialize
virtual bool doAddRenderer()