mirror of
https://github.com/jorio/Pomme.git
synced 2024-06-03 06:29:31 +00:00
25 lines
333 B
C
25 lines
333 B
C
|
#pragma once
|
||
|
|
||
|
namespace Pomme::Files
|
||
|
{
|
||
|
struct ResourceMetadata;
|
||
|
}
|
||
|
|
||
|
namespace Pomme::Memory
|
||
|
{
|
||
|
class BlockDescriptor
|
||
|
{
|
||
|
public:
|
||
|
Ptr buf;
|
||
|
OSType magic;
|
||
|
Size size;
|
||
|
const Pomme::Files::ResourceMetadata* rezMeta;
|
||
|
|
||
|
BlockDescriptor(Size theSize);
|
||
|
|
||
|
~BlockDescriptor();
|
||
|
|
||
|
static BlockDescriptor* HandleToBlock(Handle h);
|
||
|
};
|
||
|
}
|