Add support for the config and storage API. Bump version to 0.6

This commit is contained in:
Maschell
2021-04-07 00:23:23 +02:00
parent ed792716fe
commit 13ed348f43
34 changed files with 28162 additions and 98 deletions

View File

@@ -52,6 +52,10 @@ public:
return this->size;
}
[[nodiscard]] const std::string getId() const {
return this->id;
}
private:
PluginMetaInformation() = default;
@@ -83,12 +87,17 @@ private:
this->size = _size;
}
void setId(const std::string &id) {
this->id = id;
}
std::string name;
std::string author;
std::string version;
std::string license;
std::string buildtimestamp;
std::string description;
std::string id;
size_t size{};
friend class PluginMetaInformationFactory;