messageviewer
#include <pluginloaderbase.h>
Public Member Functions | |
const PluginMetaData * | infoForName (const QString &type) const |
virtual void | scan ()=0 |
QStringList | types () const |
Protected Member Functions | |
PluginLoaderBase () | |
virtual | ~PluginLoaderBase () |
void | doScan (const char *path) |
KLibrary::void_function_ptr | mainFunc (const QString &type, const char *main_func) const |
Detailed Description
Definition at line 45 of file pluginloaderbase.h.
Constructor & Destructor Documentation
|
protected |
Definition at line 37 of file pluginloaderbase.cpp.
|
protectedvirtual |
Definition at line 38 of file pluginloaderbase.cpp.
Member Function Documentation
|
protected |
Rescans the plugin directory to find any newly installed plugins.
Extend this method in subclasses to add any builtins. Subclasses must call this explicitly. It's not called for them in the constructor.
Definition at line 53 of file pluginloaderbase.cpp.
const PluginMetaData * PluginLoaderBase::infoForName | ( | const QString & | type | ) | const |
Returns the PluginMetaData structure for a given type.
Definition at line 48 of file pluginloaderbase.cpp.
|
protected |
Returns a pointer to symbol main_func
in the library that implements the plugin of type type
.
Definition at line 98 of file pluginloaderbase.cpp.
|
pure virtual |
Overload this method in subclasses to call doScan with the right path
argument.
Implemented in PluginLoader< T, T_config >.
QStringList PluginLoaderBase::types | ( | ) | const |
Returns a list of all available plugin objects (of kind T
)
Definition at line 40 of file pluginloaderbase.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.