Scribus
Open source desktop publishing at your fingertips
PluginManager::PluginData Struct Reference

PluginData is structure for plugin related informations. More...

#include <pluginmanager.h>

Collaboration diagram for PluginManager::PluginData:

Public Attributes

QString pluginFile
 
QString pluginName
 
void * pluginDLL
 
ScPluginplugin
 
bool enableOnStartup
 
bool enabled
 

Detailed Description

PluginData is structure for plugin related informations.

Parameters
pluginFilepath to the share library (with name).
pluginNameinternal name of plug-in, used for prefix to dlsym() names
pluginDLLreference to plug-in data for dynamic loading
pluginis the pointer to the plugin instance
enableOnStartupenable or disable plugin at app start-up
enabledhas 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.


The documentation for this struct was generated from the following file: