List of all members.
Constructor & Destructor Documentation
PluginLoader::PluginLoader |
( |
unsigned int |
type, |
|
|
const QStringList & |
baseDirectories, |
|
|
const char * |
directory, |
|
|
int |
directoryLength = -1 |
|
) |
| |
Gathers information about plugins in a particular directory.
- Parameters:
-
directoryLength | length of the directory argument. You do not need to supply if directory is NULL terminated. |
Member Function Documentation
void PluginLoader::clearPlugins |
( |
| ) |
|
void PluginLoader::initConfig |
( |
| ) |
|
Inits configuration for plugins.
const unsigned int PluginLoader::numPlugins |
( |
| ) |
const |
Gets the number of loaded plugins. It will return 0 in safe mode.
Returns the requested plugin or NULL.
int PluginLoader::pluginIndexFromName |
( |
const QString & |
name | ) |
const |
Looks for a plugin which info::name equals to parameter.
- Parameters:
-
- Returns:
- index of found plugin in the plugin array, or -1 if not found.
void PluginLoader::resetPluginsDirectory |
( |
const QString & |
pluginsDirectory | ) |
|
Resets the plugins directory, clearing the loaded plugins and getting new loaded plugins in the process.
The documentation for this class was generated from the following files: