![]() |
Scribus
Open source desktop publishing at your fingertips
|
PluginData is structure for plugin related informations. More...
#include <pluginmanager.h>
Public Attributes | |
QString | pluginFile |
QString | pluginName |
void * | pluginDLL |
ScPlugin * | plugin |
bool | enableOnStartup |
bool | enabled |
PluginData is structure for plugin related informations.
pluginFile | path to the share library (with name). |
pluginName | internal name of plug-in, used for prefix to dlsym() names |
pluginDLL | reference to plug-in data for dynamic loading |
plugin | is the pointer to the plugin instance |
enableOnStartup | enable or disable plugin at app start-up |
enabled | has the plug-in been set up and activated (gui connected, setup called, etc)? |
Note that there are some constraints on this structure. enabled == true depends on: plugin != 0 which depends on: pluginDLL != 0
In other words, a plugin cannot be enabled unless we have an ScPlugin instance for it. We can't have an ScPlugin instance for a plugin unless it's linked.