diff --git a/DiscImageChef.Filesystems/ISO9660/Structs/Internal.cs b/DiscImageChef.Filesystems/ISO9660/Structs/Internal.cs index 3a054762c..1ec78bd54 100644 --- a/DiscImageChef.Filesystems/ISO9660/Structs/Internal.cs +++ b/DiscImageChef.Filesystems/ISO9660/Structs/Internal.cs @@ -57,17 +57,56 @@ namespace DiscImageChef.Filesystems.ISO9660 class DecodedDirectoryEntry { + public byte? AppleDosType; + public byte[] AppleIcon; + public ushort? AppleProDosType; public DecodedDirectoryEntry AssociatedFile; public uint Extent; public string Filename; public byte FileUnitSize; + public FinderInfo FinderInfo; public FileFlags Flags; public byte Interleave; + public DecodedDirectoryEntry ResourceFork; public uint Size; public DateTime? Timestamp; public ushort VolumeSequenceNumber; 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; + } } } \ No newline at end of file