You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
956 B
29 lines
956 B
#pragma once
|
|
#include <cstdint>
|
|
#include <lloutils.hpp>
|
|
|
|
namespace llo
|
|
{
|
|
class disposition_t
|
|
{
|
|
llo::utils::hash_t< std::string > iff_name;
|
|
llo::utils::hash_t< std::string > section_name;
|
|
std::uint32_t offset;
|
|
|
|
public:
|
|
explicit disposition_t( llo::utils::hash_t< std::string > &iff_name,
|
|
llo::utils::hash_t< std::string > §ion_name, std::uint32_t section_offset )
|
|
: iff_name( iff_name ), section_name( section_name ), offset( offset )
|
|
{
|
|
}
|
|
|
|
disposition_t( llo::utils::hash_t< std::string > &&iff_name, llo::utils::hash_t< std::string > &§ion_name,
|
|
std::uint32_t section_offset )
|
|
: iff_name( iff_name ), section_name( section_name ), offset( offset )
|
|
{
|
|
}
|
|
|
|
llo::utils::hash_t< std::string > get_section() const;
|
|
std::uint32_t get_offset() const;
|
|
};
|
|
} // namespace llo
|