mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add interface to pass dump hardware list and CICM XML metadata to/from images.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user