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