Scaffolding for the future

This commit is contained in:
Matt Nadareski
2025-11-06 08:01:04 -05:00
parent 831a272f4b
commit 1a9c8b5392
3 changed files with 25 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ namespace SabreTools.Data.Models.CDROM
/// A CD-ROM data sector
/// </summary>
/// <see href="https://ecma-international.org/wp-content/uploads/ECMA-130_2nd_edition_june_1996.pdf"/>
public abstract class DataSector
public abstract class DataSector : ISO9660.Sector
{
/// <summary>
/// Sync pattern, 12 bytes

View File

@@ -0,0 +1,14 @@
namespace SabreTools.Data.Models.ISO9660
{
/// <summary>
/// An ISO-9660 data sector
/// </summary>
/// <see href="https://ecma-international.org/wp-content/uploads/ECMA-119_5th_edition_december_2024.pdf"/>
public abstract class DataSector : Sector
{
// Data sectors only contain user data
// TODO: Create user data base class for all single-sector structures
// TODO: Create generic data sector with byte array data
// TODO: Update CD-ROM models to take advantage of this
}
}

View File

@@ -0,0 +1,10 @@
namespace SabreTools.Data.Models.ISO9660
{
/// <summary>
/// Represents a generic sector for a disc image
/// </summary>
public abstract class Sector
{
// There are no common fields between all sector types
}
}