16#ifndef LIEF_PE_RESOURCE_VAR_FILE_INFO_H
17#define LIEF_PE_RESOURCE_VAR_FILE_INFO_H
29class ResourcesManager;
31struct ResourcesParser;
40 friend struct ResourcesParser;
58 const std::u16string&
key()
const {
79 void key(std::u16string key) {
80 key_ = std::move(key);
83 void key(
const std::string& key);
86 translations_ = std::move(translations);
97 std::vector<uint32_t> translations_;
This object describes information about languages supported by the application.
Definition ResourceVarFileInfo.hpp:36
friend std::ostream & operator<<(std::ostream &os, const ResourceVarFileInfo &entry)
const std::u16string & key() const
Signature of the structure: Must be the unicode string "VarFileInfo".
Definition ResourceVarFileInfo.hpp:58
uint16_t type() const
The type of data in the version resource.
Definition ResourceVarFileInfo.hpp:52
void translations(std::vector< uint32_t > translations)
Definition ResourceVarFileInfo.hpp:85
void accept(Visitor &visitor) const override
const std::vector< uint32_t > & translations() const
List of languages that the application supports.
Definition ResourceVarFileInfo.hpp:67
ResourceVarFileInfo(uint16_t type, std::u16string key)
ResourceVarFileInfo & operator=(const ResourceVarFileInfo &)=default
void type(uint16_t type)
Definition ResourceVarFileInfo.hpp:75
void key(std::u16string key)
Definition ResourceVarFileInfo.hpp:79
~ResourceVarFileInfo() override=default
std::vector< uint32_t > & translations()
Definition ResourceVarFileInfo.hpp:71
void key(const std::string &key)
ResourceVarFileInfo(const ResourceVarFileInfo &)=default
Representation of the data associated with the RT_VERSION entry.
Definition ResourceVersion.hpp:38
The Resource Manager provides an enhanced API to manipulate the resource tree.
Definition ResourcesManager.hpp:38
Definition Visitor.hpp:224
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41