#include <albert/pluginloader.h>
Plugin loader interface class.
◆ ~PluginLoader()
virtual albert::PluginLoader::~PluginLoader |
( |
| ) |
|
|
protectedvirtual |
◆ createInstance()
The plugin instance.
Not called unless loaded. Creates an instance of the plugin if it does not exist.
- Returns
- The plugin instance.
◆ load()
virtual void albert::PluginLoader::load |
( |
| ) |
|
|
pure virtual |
Load the plugin.
Called in a background thread. Expects the plugin to be loaded after this call.
- Exceptions
-
std::exception | in case of errors. |
◆ metaData()
virtual const PluginMetaData & albert::PluginLoader::metaData |
( |
| ) |
const |
|
pure virtual |
The plugin metadata.
- Returns
- The plugin metadata.
◆ path()
virtual QString albert::PluginLoader::path |
( |
| ) |
const |
|
pure virtual |
The path to the plugin.
- Returns
- The path to the plugin.
◆ unload()
virtual void albert::PluginLoader::unload |
( |
| ) |
|
|
pure virtual |
Unload the plugin.
- Exceptions
-
std::exception | in case of errors. |
The documentation for this class was generated from the following file: