Albert
|
#include <albert/pluginmetadata.h>
Common plugin metadata of plugins.
Public Types | |
enum class | LoadType { User , Frontend } |
The load type of the plugin. More... | |
Public Attributes | |
QString | iid |
Interface identifier. | |
QString | id |
GUID, no duplicates allowed. | |
QString | version |
https://semver.org/ | |
QString | name |
Human readable name. | |
QString | description |
Brief, imperative description. | |
QString | license |
Short form e.g. BSD-2. | |
QString | url |
Browsable source, README, issues. | |
QStringList | translations |
Available translations. | |
QStringList | authors |
The copyright holders. | |
QStringList | runtime_dependencies |
Required libraries. | |
QStringList | binary_dependencies |
Required executables. | |
QStringList | plugin_dependencies |
Required plugins. | |
QStringList | third_party_credits |
Third party credits and license notes. | |
QStringList | platforms |
List of supported platforms. Empty means all. | |
LoadType | load_type {LoadType::User} |
The load type of the plugin. | |
|
strong |
The load type of the plugin.
Some plugins have to be treated differently when loading. E.g. a frontends are an integral part of the app, there has to be exactly one frontend which will be loaded before any other plugins. Some other pluins cannot be safely unloaded at runtime (e.g. Python).
Enumerator | |
---|---|
User | Plugin should be user (un-)loadable. |
Frontend | Loading handled by the core. Requires Frontend interface. |
QStringList albert::PluginMetaData::authors |
The copyright holders.
QStringList albert::PluginMetaData::binary_dependencies |
Required executables.
QString albert::PluginMetaData::description |
Brief, imperative description.
QString albert::PluginMetaData::id |
GUID, no duplicates allowed.
QString albert::PluginMetaData::iid |
Interface identifier.
QString albert::PluginMetaData::license |
Short form e.g. BSD-2.
LoadType albert::PluginMetaData::load_type {LoadType::User} |
The load type of the plugin.
QString albert::PluginMetaData::name |
Human readable name.
QStringList albert::PluginMetaData::platforms |
List of supported platforms. Empty means all.
QStringList albert::PluginMetaData::plugin_dependencies |
Required plugins.
QStringList albert::PluginMetaData::runtime_dependencies |
Required libraries.
QStringList albert::PluginMetaData::third_party_credits |
Third party credits and license notes.
QStringList albert::PluginMetaData::translations |
Available translations.
QString albert::PluginMetaData::url |
Browsable source, README, issues.
QString albert::PluginMetaData::version |