#include </home/clem/local/src/opie/libopie2/opiecore/opluginloader.h>
Inheritance diagram for Opie::Core::OPluginLoader:


Public Member Functions | |
| OPluginLoader (const QString &name, bool sorted=false) | |
| Simple c'tor. | |
| virtual | ~OPluginLoader () |
| template<class IFace> | |
| IFace * | load (const OPluginItem &item, const QUuid &) |
This class takes care of activation and even the order if you need it. It is normally good to place a .directory file into your plugin directory if you need order of activation.
You'll create the OPluginLoader and then use it to load the filtered plugins.
There is also a GUI for the configuration and a Manager to write the mentioned .directory file
On crash the safe mode is activated for the next run. You can then decide if you want to load plugins or come up with the Configuration on next start yourself then.
Definition at line 137 of file opluginloader.h.
|
||||||||||||
|
Simple c'tor. Simple C'tor same as the one of the base class. Additional this class can cast for you if you nee it.
Definition at line 665 of file opluginloader.cpp. |
|
|
d'tor Definition at line 674 of file opluginloader.cpp. |
|
||||||||||||||||
|
This is a template method allowing you to safely cast your load function
MyTypePlugin *plug = load->load<MyTypePlugin>( item, IID_MyPlugin ); Reimplemented from Opie::Core::OGenericPluginLoader. Definition at line 198 of file opluginloader.h. References Opie::Core::OGenericPluginLoader::load(). Referenced by DateBookHoliday::init(), Today::loadPluginWidgets(), main(), DateBookSettings::setPluginList(), and TodayConfig::writeConfig(). |
1.4.2