Use a block map in media scan in the GUI.

This commit is contained in:
2019-04-21 16:40:16 +01:00
parent b0efcddd25
commit 294ebe89dd
8 changed files with 97 additions and 41 deletions

View File

@@ -103,16 +103,16 @@ namespace DiscImageChef.Core
/// </summary>
public delegate void ErrorMessageHandler(string text);
public delegate void InitBlockMapHandler(ulong blocks, ulong blockSize, ulong blocksToRead);
/// <summary>
/// Updates lists of time taken on scanning the specified number of blocks
/// Updates lists of time taken on scanning from the specified sector
/// </summary>
/// <param name="time">Time in milliseconds</param>
/// <param name="blocks">Number of blocks scanned</param>
public delegate void ScanTimeHandler(double time, uint blocks);
/// <param name="duration">Time in milliseconds</param>
public delegate void ScanTimeHandler(ulong sector, double duration);
/// <summary>
/// Specified a number of blocks could not be read on scan
/// </summary>
/// <param name="blocks">Number of blocks scanned</param>
public delegate void ScanUnreadableHandler(uint blocks);
public delegate void ScanUnreadableHandler(ulong sector);
}