Albert
Loading...
Searching...
No Matches
pluginmetadata.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2024 Manuel Schneider
2// SPDX-License-Identifier: MIT
3
4#pragma once
5#include <QStringList>
6#include <albert/export.h>
7
8namespace albert
9{
10
14class ALBERT_EXPORT PluginMetaData
15{
16public:
17
19 QString iid;
20
24 QString id;
25
27 QString version;
28
30 QString name;
31
33 QString description;
34
36 QString license;
37
39 QString url;
40
42 QStringList translations;
43
45 QStringList authors;
46
49
52
56
59
61 QStringList platforms;
62
68 enum class LoadType {
69 User,
70 Frontend,
71 };
72
75 LoadType load_type{LoadType::User};
76
77};
78
79}
The interface for albert frontends.
Definition frontend.h:32
Common plugin metadata of plugins.
Definition pluginmetadata.h:15
LoadType
The load type of the plugin.
Definition pluginmetadata.h:68
QStringList plugin_dependencies
Required plugins.
Definition pluginmetadata.h:55
QString iid
Interface identifier.
Definition pluginmetadata.h:19
QStringList translations
Available translations.
Definition pluginmetadata.h:42
QString license
Short form e.g. BSD-2.
Definition pluginmetadata.h:36
QStringList binary_dependencies
Required executables.
Definition pluginmetadata.h:51
QStringList runtime_dependencies
Required libraries.
Definition pluginmetadata.h:48
QString id
GUID, no duplicates allowed.
Definition pluginmetadata.h:24
QStringList third_party_credits
Third party credits and license notes.
Definition pluginmetadata.h:58
QString version
https://semver.org/
Definition pluginmetadata.h:27
QString url
Browsable source, README, issues.
Definition pluginmetadata.h:39
QStringList authors
The copyright holders.
Definition pluginmetadata.h:45
QString description
Brief, imperative description.
Definition pluginmetadata.h:33
QString name
Human readable name.
Definition pluginmetadata.h:30
QStringList platforms
List of supported platforms. Empty means all.
Definition pluginmetadata.h:61
Definition action.h:10