// /*************************************************************************** // The Disc Image Chef // ---------------------------------------------------------------------------- // // 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-2019 Natalia Portillo // ****************************************************************************/ using System.Collections.Generic; using DiscImageChef.CommonTypes; using DiscImageChef.CommonTypes.Enums; using DiscImageChef.CommonTypes.Interfaces; using DiscImageChef.CommonTypes.Structs; namespace DiscImageChef.DiscImages { public partial class Gdi { 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; } struct GdiDisc { /// Sessions public List Sessions; /// Tracks public List Tracks; /// Disk type public MediaType Disktype; } } }