Add interface to pass dump hardware list and CICM XML metadata to/from images.

This commit is contained in:
2018-01-28 20:29:46 +00:00
parent db766ac76e
commit df5f062500
65 changed files with 3470 additions and 2727 deletions

View File

@@ -85,6 +85,7 @@ using DiscImageChef.Decoders.ATA;
using DiscImageChef.Decoders.SCSI;
using DiscImageChef.Decoders.SecureDigital;
using DiscImageChef.Filters;
using Schemas;
using SharpCompress.Compressors.LZMA;
using VendorString = DiscImageChef.Decoders.SecureDigital.VendorString;
@@ -1692,6 +1693,9 @@ namespace DiscImageChef.DiscImages
return true;
}
public List<DumpHardwareType> DumpHardware { get; private set; }
public CICMMetadataType CicmMetadata { get; private set; }
public IEnumerable<MediaTagType> SupportedMediaTags =>
Enum.GetValues(typeof(MediaTagType)).Cast<MediaTagType>();
public IEnumerable<SectorTagType> SupportedSectorTags =>
@@ -3471,6 +3475,18 @@ namespace DiscImageChef.DiscImages
}
}
public bool SetDumpHardware(List<DumpHardwareType> dumpHardware)
{
// TODO: Implement
return false;
}
public bool SetCicmMetadata(CICMMetadataType metadata)
{
// TODO: Implement
return false;
}
/// <summary>
/// Checks for media tags that may contain metadata and sets it up if not already set
/// </summary>