Interface for plugins used with April. More...
#include <aprilplugininterf.h>
Public Member Functions | |
| AprilPluginInterf (void) | |
| constructor; | |
| virtual | ~AprilPluginInterf (void) |
| destructor; | |
| virtual QString | name (void)=0 |
| identify yourself; | |
Protected Member Functions | |
| virtual bool | initialised (void) |
| called after the plug-in is loaded | |
| virtual void | unloading (void) |
| called before the plug-in is unloaded | |
Friends | |
| class | april::AprilLibrary |
Interface for plugins used with April.
|
inlineprotectedvirtual |
called after the plug-in is loaded
The plug-in system allows initialisation after the plug-in is succesfully loaded. The plug-in may initialise itself and, if certain errors occur it may return false to indicate to the system that it failed and should be unloaded.
|
inlineprotectedvirtual |
called before the plug-in is unloaded
This method is called only if initialised() returned true.