plugify 1.0.0.0
Loading...
Searching...
No Matches
descriptor.hpp
1#pragma once
2
3#include <cstdint>
4#include <string>
5#include <vector>
6#include <optional>
7
8#include "version.hpp"
9
10namespace plugify {
15 struct Descriptor {
16 int32_t fileVersion{};
18 std::string versionName;
19 std::string friendlyName;
20 std::optional<std::string> description;
21 std::optional<std::string> createdBy;
22 std::optional<std::string> createdByURL;
23 std::optional<std::string> docsURL;
24 std::optional<std::string> downloadURL;
25 std::optional<std::string> updateURL;
26 std::optional<std::vector<std::string>> supportedPlatforms;
27 std::optional<std::vector<std::string>> resourceDirectories;
28 };
29} // namespace plugify
Describes the properties of an object. (e.g., module, plugin)
std::optional< std::string > updateURL
The update URL of the object.
std::string versionName
The version name of the object.
std::optional< std::vector< std::string > > resourceDirectories
Optional resource directories for the object.
std::optional< std::string > createdBy
The creator/author of the object.
std::optional< std::string > createdByURL
The URL of the creator/author.
std::string friendlyName
The friendly name of the object.
int32_t fileVersion
The file version of the object.
plg::version version
The semantic version of the object.
std::optional< std::vector< std::string > > supportedPlatforms
The platforms supported by the object.
std::optional< std::string > docsURL
The documentation URL of the object.
std::optional< std::string > downloadURL
The download URL of the object.
std::optional< std::string > description
The description of the object.