20#ifndef RPLUGININTERFACE_H
21#define RPLUGININTERFACE_H
31#if QT_VERSION < 0x060000
69 virtual void uninit(
bool remove =
false) = 0;
78#if QT_VERSION < 0x060000
Q_DECLARE_METATYPE(RMath *)
Information about a plugin.
Definition RPluginInfo.h:42
Interface for all C++ QCAD plugins.
Definition RPluginInterface.h:43
virtual void initScriptExtensions(QScriptEngine &engine)=0
Called whenever a new script engine is instantiated.
InitStatus
Definition RPluginInterface.h:45
@ ActionsAdded
Actions have been added to widgets.
Definition RPluginInterface.h:48
@ ScriptsExecuted
Executed scripts given on command line.
Definition RPluginInterface.h:52
@ GotSplashWindow
Splashscreen showing.
Definition RPluginInterface.h:46
@ AddOnsInitialized
Add ons are initialized, actions created but not added to widgets.
Definition RPluginInterface.h:47
@ LoadedFiles
Loaded files given on command line.
Definition RPluginInterface.h:51
@ GotMainWindowBeforeShow
Main window created but not shown yet.
Definition RPluginInterface.h:49
@ GotMainWindow
Main window with all tools and menus has been created.
Definition RPluginInterface.h:50
virtual void postInit(RPluginInterface::InitStatus status)=0
Called after the application has been fully loaded, directly before entering the main event loop.
virtual bool init()=0
Called immediately after the plugin has been loaded, directly after starting the application.
virtual void uninit(bool remove=false)=0
Called before a plugin is removed / unloaded.
virtual RPluginInfo getPluginInfo()=0
virtual ~RPluginInterface()
Definition RPluginInterface.h:57
virtual bool checkLicense()=0
virtual void initTranslations()=0
Called when the user chosen language changed.
Abstract base class for all script handlers.
Definition RScriptHandler.h:58
#define QCADCORE_EXPORT
Definition core_global.h:10