File tree Expand file tree Collapse file tree 3 files changed +25
-1
lines changed
SabreTools.Serialization/Models Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace SabreTools.Data.Models.CDROM
44 /// A CD-ROM data sector
55 /// </summary>
66 /// <see href="https://ecma-international.org/wp-content/uploads/ECMA-130_2nd_edition_june_1996.pdf"/>
7- public abstract class DataSector
7+ public abstract class DataSector : ISO9660 . Sector
88 {
99 /// <summary>
1010 /// Sync pattern, 12 bytes
Original file line number Diff line number Diff line change 1+ namespace SabreTools . Data . Models . ISO9660
2+ {
3+ /// <summary>
4+ /// An ISO-9660 data sector
5+ /// </summary>
6+ /// <see href="https://ecma-international.org/wp-content/uploads/ECMA-119_5th_edition_december_2024.pdf"/>
7+ public abstract class DataSector : Sector
8+ {
9+ // Data sectors only contain user data
10+ // TODO: Create user data base class for all single-sector structures
11+ // TODO: Create generic data sector with byte array data
12+ // TODO: Update CD-ROM models to take advantage of this
13+ }
14+ }
Original file line number Diff line number Diff line change 1+ namespace SabreTools . Data . Models . ISO9660
2+ {
3+ /// <summary>
4+ /// Represents a generic sector for a disc image
5+ /// </summary>
6+ public abstract class Sector
7+ {
8+ // There are no common fields between all sector types
9+ }
10+ }
You can’t perform that action at this time.
0 commit comments