// /*************************************************************************** // Aaru Data Preservation Suite // ---------------------------------------------------------------------------- // // Filename : Structs.cs // Author(s) : Natalia Portillo // // Component : Disk image plugins. // // --[ Description ] ---------------------------------------------------------- // // Contains structures for Dreamcast GDI disc images. // // --[ License ] -------------------------------------------------------------- // // This library is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation; either version 2.1 of the // License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, see . // // ---------------------------------------------------------------------------- // Copyright © 2011-2024 Natalia Portillo // ****************************************************************************/ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Aaru.CommonTypes; using Aaru.CommonTypes.Enums; using Aaru.CommonTypes.Interfaces; using Aaru.CommonTypes.Structs; namespace Aaru.Images; [SuppressMessage("ReSharper", "UnusedType.Global")] public sealed partial class Gdi { #region Nested type: GdiDisc struct GdiDisc { /// Sessions public List Sessions; /// Tracks public List Tracks; /// Disk type public MediaType Disktype; } #endregion #region Nested type: GdiTrack struct GdiTrack { /// Track # public uint Sequence; /// Track filter public IFilter TrackFilter; /// Track file public string TrackFile; /// Track byte offset in file public long Offset; /// Track flags public byte Flags; /// Track starting sector public ulong StartSector; /// Bytes per sector public ushort Bps; /// Sectors in track public ulong Sectors; /// Track type public TrackType TrackType; /// Track session public bool HighDensity; /// Pregap sectors not stored in track file public ulong Pregap; } #endregion }