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.
24 lines
894 B
24 lines
894 B
#pragma once
|
|
#include <cstdint>
|
|
#include <lloutils.hpp>
|
|
|
|
namespace llo
|
|
{
|
|
class disposition_t
|
|
{
|
|
public:
|
|
explicit disposition_t( const llo::utils::hash_t< std::string > &iff_name,
|
|
const llo::utils::hash_t< std::string > §ion_name, std::uint32_t section_offset )
|
|
: iff_name( iff_name ), section_name( section_name ), offset( section_offset )
|
|
{
|
|
}
|
|
|
|
static std::shared_ptr< disposition_t > make( const llo::utils::hash_t< std::string > &iff_name,
|
|
const llo::utils::hash_t< std::string > §ion_name,
|
|
std::uint32_t section_offset );
|
|
|
|
llo::utils::hash_t< std::string > iff_name;
|
|
llo::utils::hash_t< std::string > section_name;
|
|
std::uint32_t offset;
|
|
};
|
|
} // namespace llo
|