summaryrefslogtreecommitdiff
path: root/drivers/pe_bliss/resource_data_info.h
blob: 65953e708e5961fd7b5951e148115c16bb2c8569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
#include <string>
#include "stdint_defs.h"

namespace pe_bliss
{
class resource_data_entry;

//Class representing resource data
class resource_data_info
{
public:
	//Constructor from data
	resource_data_info(const std::string& data, uint32_t codepage);
	//Constructor from data
	explicit resource_data_info(const resource_data_entry& data);

	//Returns resource data
	const std::string& get_data() const;
	//Returns resource codepage
	uint32_t get_codepage() const;

private:
	std::string data_;
	uint32_t codepage_;
};
}