plugify 1.0.0.0
Loading...
Searching...
No Matches
language_module_descriptor.hpp
1#pragma once
2
3#include <cstdint>
4#include <span>
5#include <string>
6
7#include "handle.hpp"
8#include "version.hpp"
9
10#include <plugify_export.h>
11
12namespace plugify {
13 struct LanguageModuleDescriptor;
14
19 class PLUGIFY_API LanguageModuleDescriptorHandle : public Handle<const LanguageModuleDescriptor> {
20 using Handle::Handle;
21 public:
27 int32_t GetFileVersion() const noexcept;
28
34 plg::version GetVersion() const noexcept;
35
41 std::string_view GetVersionName() const noexcept;
42
48 std::string_view GetFriendlyName() const noexcept;
49
55 std::string_view GetDescription() const noexcept;
56
62 std::string_view GetCreatedBy() const noexcept;
63
69 std::string_view GetCreatedByURL() const noexcept;
70
76 std::string_view GetDocsURL() const noexcept;
77
83 std::string_view GetDownloadURL() const noexcept;
84
90 std::string_view GetUpdateURL() const noexcept;
91
97 std::span<const std::string_view> GetSupportedPlatforms() const noexcept;
98
104 std::span<const std::string_view> GetResourceDirectories() const noexcept;
105
111 std::span<const std::string_view> GetLibraryDirectories() const noexcept;
112
118 std::string_view GetLanguage() const noexcept;
119
125 bool IsForceLoad() const noexcept;
126 };
127} // namespace plugify
A generic handle class that manages a pointer to an object of type T.
Definition handle.hpp:18
A handle class for the LanguageModuleDescriptor structure.
int32_t GetFileVersion() const noexcept
Retrieves the file version of the language module.