mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add fields for decoded Apple extensions to ISO9660 directory record.
This commit is contained in:
@@ -57,17 +57,56 @@ namespace DiscImageChef.Filesystems.ISO9660
|
|||||||
|
|
||||||
class DecodedDirectoryEntry
|
class DecodedDirectoryEntry
|
||||||
{
|
{
|
||||||
|
public byte? AppleDosType;
|
||||||
|
public byte[] AppleIcon;
|
||||||
|
public ushort? AppleProDosType;
|
||||||
public DecodedDirectoryEntry AssociatedFile;
|
public DecodedDirectoryEntry AssociatedFile;
|
||||||
public uint Extent;
|
public uint Extent;
|
||||||
public string Filename;
|
public string Filename;
|
||||||
public byte FileUnitSize;
|
public byte FileUnitSize;
|
||||||
|
public FinderInfo FinderInfo;
|
||||||
public FileFlags Flags;
|
public FileFlags Flags;
|
||||||
public byte Interleave;
|
public byte Interleave;
|
||||||
|
public DecodedDirectoryEntry ResourceFork;
|
||||||
public uint Size;
|
public uint Size;
|
||||||
public DateTime? Timestamp;
|
public DateTime? Timestamp;
|
||||||
public ushort VolumeSequenceNumber;
|
public ushort VolumeSequenceNumber;
|
||||||
|
|
||||||
public override string ToString() => Filename;
|
public override string ToString() => Filename;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Flags]
|
||||||
|
enum FinderFlags : ushort
|
||||||
|
{
|
||||||
|
kIsOnDesk = 0x0001,
|
||||||
|
kColor = 0x000E,
|
||||||
|
kRequireSwitchLaunch = 0x0020,
|
||||||
|
kIsShared = 0x0040,
|
||||||
|
kHasNoINITs = 0x0080,
|
||||||
|
kHasBeenInited = 0x0100,
|
||||||
|
kHasCustomIcon = 0x0400,
|
||||||
|
kLetter = 0x0200,
|
||||||
|
kChanged = 0x0200,
|
||||||
|
kIsStationery = 0x0800,
|
||||||
|
kNameLocked = 0x1000,
|
||||||
|
kHasBundle = 0x2000,
|
||||||
|
kIsInvisible = 0x4000,
|
||||||
|
kIsAlias = 0x8000
|
||||||
|
}
|
||||||
|
|
||||||
|
struct Point
|
||||||
|
{
|
||||||
|
public short x;
|
||||||
|
public short y;
|
||||||
|
}
|
||||||
|
|
||||||
|
class FinderInfo
|
||||||
|
{
|
||||||
|
public uint fdCreator;
|
||||||
|
public FinderFlags fdFlags;
|
||||||
|
public short fdFldr;
|
||||||
|
public Point fdLocation;
|
||||||
|
public uint fdType;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user