16#ifndef LIEF_PE_RESOURCE_VAR_FILE_INFO_H
17#define LIEF_PE_RESOURCE_VAR_FILE_INFO_H
23#include "LIEF/visibility.h"
25#include "LIEF/Object.hpp"
29class ResourcesManager;
31struct ResourcesParser;
40 friend struct ResourcesParser;
56 const std::u16string&
key()
const;
64 std::vector<uint32_t>& translations();
66 void type(uint16_t type);
68 void key(
const std::u16string& key);
69 void key(
const std::string& key);
71 void translations(
const std::vector<uint32_t>& translations);
73 void accept(
Visitor& visitor)
const override;
76 LIEF_API
friend std::ostream& operator<<(std::ostream& os,
const ResourceVarFileInfo& entry);
81 std::vector<uint32_t> translations_;
This object describes information about languages supported by the application.
Definition ResourceVarFileInfo.hpp:36
const std::u16string & key() const
Signature of the structure: Must be the unicode string "VarFileInfo".
uint16_t type() const
The type of data in the version resource.
const std::vector< uint32_t > & translations() const
List of languages that the application supports.
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:219
LIEF namespace.
Definition Abstract/Binary.hpp:32