|
QCAD
Open Source 2D CAD
|
Go to the documentation of this file.
20 #ifndef RPLUGININTERFACE_H
21 #define RPLUGININTERFACE_H
65 virtual void uninit(
bool remove =
false) = 0;
@ LoadedFiles
Loaded files given on command line.
Definition: RPluginInterface.h:47
InitStatus
Definition: RPluginInterface.h:41
Interface for all C++ QCAD plugins.
Definition: RPluginInterface.h:39
virtual RPluginInfo getPluginInfo()=0
virtual bool init()=0
Called immediately after the plugin has been loaded, directly after starting the application.
@ ScriptsExecuted
Executed scripts given on command line.
Definition: RPluginInterface.h:48
@ AddOnsInitialized
Add ons are initialized, actions created but not added to widgets.
Definition: RPluginInterface.h:43
Q_DECLARE_METATYPE(RMath *)
@ GotMainWindow
Main window with all tools and menus has been created.
Definition: RPluginInterface.h:46
virtual bool checkLicense()=0
Information about a plugin.
Definition: RPluginInfo.h:42
virtual void initScriptExtensions(QScriptEngine &engine)=0
Called whenever a new script engine is instantiated.
@ GotMainWindowBeforeShow
Main window created but not shown yet.
Definition: RPluginInterface.h:45
@ GotSplashWindow
Splashscreen showing.
Definition: RPluginInterface.h:42
@ ActionsAdded
Actions have been added to widgets.
Definition: RPluginInterface.h:44
virtual void uninit(bool remove=false)=0
Called before a plugin is removed / unloaded.
virtual void postInit(RPluginInterface::InitStatus status)=0
Called after the application has been fully loaded, directly before entering the main event loop.
virtual ~RPluginInterface()
Definition: RPluginInterface.h:53
virtual void initTranslations()=0
Called when the user chosen language changed.
#define QCADCORE_EXPORT
Definition: core_global.h:10