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

@@ -417,6 +417,7 @@ namespace DiscImageChef.Core.Devices.Dumping
(double)blockSize * (double)(blocks + 1) / 1024 / (totalDuration / 1000));
}
outputPlugin.SetDumpHardware(resume.Tries);
dumpLog.WriteLine("Closing output file.");
DicConsole.WriteLine("Closing output file.");
outputPlugin.Close();

View File

@@ -886,6 +886,7 @@ namespace DiscImageChef.Core.Devices.Dumping
throw new ArgumentException(outputPlugin.ErrorMessage);
}
outputPlugin.SetDumpHardware(resume.Tries);
dumpLog.WriteLine("Closing output file.");
DicConsole.WriteLine("Closing output file.");
outputPlugin.Close();

View File

@@ -645,6 +645,7 @@ namespace DiscImageChef.Core.Devices.Dumping
}
}
outputPlugin.SetDumpHardware(resume.Tries);
dumpLog.WriteLine("Closing output file.");
DicConsole.WriteLine("Closing output file.");
outputPlugin.Close();

View File

@@ -390,6 +390,7 @@ namespace DiscImageChef.Core.Devices.Dumping
currentTry.Extents = ExtentsConverter.ToMetadata(extents);
outputPlugin.SetDumpHardware(resume.Tries);
dumpLog.WriteLine("Closing output file.");
DicConsole.WriteLine("Closing output file.");
outputPlugin.Close();

View File

@@ -770,6 +770,7 @@ namespace DiscImageChef.Core.Devices.Dumping
throw new ArgumentException(outputPlugin.ErrorMessage);
}
outputPlugin.SetDumpHardware(resume.Tries);
dumpLog.WriteLine("Closing output file.");
DicConsole.WriteLine("Closing output file.");
outputPlugin.Close();