Back to index

scribus-ng  1.3.4.dfsg+svn20071115
pluginmanager.h File Reference
#include <qobject.h>
#include <qstring.h>
#include <qmap.h>
#include <qvaluelist.h>
#include "scribusapi.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


protocol  SCRIBUS_API
 A Bookmark Palette. More...
struct  SCRIBUS_API::PluginData
 PluginData is structure for plugin related informations. More...

Class Documentation

struct SCRIBUS_API::PluginData

PluginData is structure for plugin related informations.

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.

Definition at line 148 of file pluginmanager.h.

Class Members
bool enabled
bool enableOnStartup
ScPlugin * plugin
void * pluginDLL
QString pluginFile
QCString pluginName