Add flux image interfaces

This commit is contained in:
Rebecca Wallander
2023-02-06 12:02:18 +01:00
parent 39c2a7e230
commit 69b26f6cd5
2 changed files with 13 additions and 3 deletions

View File

@@ -44,6 +44,15 @@ namespace Aaru.CommonTypes.Interfaces;
/// <summary>Abstract class to implement flux reading plugins.</summary>
public interface IFluxImage : IBaseImage
{
/// <summary>
/// An image may have tracks split into sub-steps. This returns the highest sub-step index for the track.
/// </summary>
/// <returns>Error number</returns>
/// <param name="head">Physical head (0-based)</param>
/// <param name="track">Physical track (position of the heads over the floppy media, 0-based)</param>
/// <param name="length">The number of captures</param>
ErrorNumber SubTrackLength(uint head, ushort track, out byte length);
/// <summary>
/// An image may have more than one capture for a specific head/track/sub-track combination. This returns
/// the amount of captures in the image for the specified head/track/sub-track combination.