plugify 1.0.0.0
Loading...
Searching...
No Matches
language_module_descriptor.hpp
1#pragma once
2
3#include <cstdint>
4#include <plugify/reference_wrapper.hpp>
5#include <plugify_export.h>
6#include <span>
7#include <string>
8
9namespace plugify {
10 struct LanguageModuleDescriptor;
11
20 class PLUGIFY_API LanguageModuleDescriptorRef : public Ref<const LanguageModuleDescriptor> {
21 using Ref::Ref;
22 public:
28 int32_t GetFileVersion() const noexcept;
29
35 int32_t GetVersion() const noexcept;
36
42 std::string_view GetVersionName() const noexcept;
43
49 std::string_view GetFriendlyName() const noexcept;
50
56 std::string_view GetDescription() const noexcept;
57
63 std::string_view GetCreatedBy() const noexcept;
64
70 std::string_view GetCreatedByURL() const noexcept;
71
77 std::string_view GetDocsURL() const noexcept;
78
84 std::string_view GetDownloadURL() const noexcept;
85
91 std::string_view GetUpdateURL() const noexcept;
92
98 std::span<std::string_view> GetSupportedPlatforms() const noexcept;
99
105 std::span<std::string_view> GetResourceDirectories() const noexcept;
106
112 std::span<std::string_view> GetLibraryDirectories() const noexcept;
113
119 std::string_view GetLanguage() const noexcept;
120
126 bool IsForceLoad() const noexcept;
127 };
128 static_assert(is_ref_v<LanguageModuleDescriptorRef>);
129} // namespace plugify
A reference class for the LanguageModuleDescriptor structure.
int32_t GetFileVersion() const noexcept
< Inherit constructors from Ref<const LanguageModuleDescriptor>.
A lightweight reference wrapper for objects of type T.