6#include <albert/config.h>
7#include <albert/export.h>
62 [[nodiscard]] std::unique_ptr<QSettings>
settings()
const;
69 [[nodiscard]] std::unique_ptr<QSettings>
state()
const;
79 std::unique_ptr<Private> d;
96#define ALBERT_PLUGIN Q_OBJECT Q_PLUGIN_METADATA(IID ALBERT_PLUGIN_IID FILE "metadata.json")
Abstract plugin instance class.
Definition plugininstance.h:24
const PluginLoader & loader() const
The PluginLoader of this instance.
std::unique_ptr< QSettings > state() const
Persistent plugin state.
virtual ~PluginInstance()
std::filesystem::path dataLocation() const
The recommended data location.
std::unique_ptr< QSettings > settings() const
Persistent plugin settings.
std::filesystem::path cacheLocation() const
The recommended cache location.
virtual QWidget * buildConfigWidget()
The widget used to configure the plugin in the settings.
std::filesystem::path configLocation() const
The recommended config location.
virtual std::vector< albert::Extension * > extensions()
The extensions provided by this plugin.
Plugin loader interface class.
Definition pluginloader.h:17