7#include <albert/export.h>
39 virtual QString
path()
const = 0;
Abstract plugin instance class.
Definition plugininstance.h:31
Asynchronous plugin loader.
Definition pluginloader.h:34
virtual const PluginMetadata & metadata() const =0
Returns the plugin metadata.
virtual albert::PluginInstance * instance()=0
Returns the PluginInstance if the plugin is loaded, else nullptr.
virtual void unload()=0
Unloads the plugin.
virtual void load()=0
Starts asynchronous loading process of the plugin.
static thread_local PluginLoader * current_loader
The static injection pointer.
Definition pluginloader.h:54
void finished(QString info)
Emitted when the loading process finished.
virtual QString path() const =0
Returns the path to the plugin.
The Albert namespace.
Definition app.h:55