Added documentation.

This commit is contained in:
2015-12-06 05:18:30 +00:00
parent 36e12eb1a7
commit 40951dd44e
4 changed files with 57 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2015-12-06 Natalia Portillo <claunia@claunia.com>
* ImagePlugin.cs:
Added documentation.
2015-12-06 Natalia Portillo <claunia@claunia.com>
* CDRWin.cs:

View File

@@ -467,22 +467,48 @@ namespace DiscImageChef.ImagePlugins
public string TrackDescription;
/// <summary>Indexes, 00 to 99 and sector offset</summary>
public Dictionary<int, UInt64> Indexes;
/// <summary>Which file stores this track</summary>
public string TrackFile;
/// <summary>Starting at which byte is this track stored</summary>
public ulong TrackFileOffset;
/// <summary>What kind of file is storing this track</summary>
public string TrackFileType;
/// <summary>How many main channel / user data bytes are per sector in this track</summary>
public int TrackBytesPerSector;
/// <summary>How many main channel bytes per sector are in the file with this track</summary>
public int TrackRawBytesPerSector;
/// <summary>Which file stores this track's subchannel</summary>
public string TrackSubchannelFile;
/// <summary>Starting at which byte are this track's subchannel stored</summary>
public ulong TrackSubchannelOffset;
/// <summary>Type of subchannel stored for this track</summary>
public TrackSubchannelType TrackSubchannelType;
}
/// <summary>
/// Type of subchannel in track
/// </summary>
public enum TrackSubchannelType
{
/// <summary>
/// Track does not has subchannel dumped, or it's not a CD
/// </summary>
None,
/// <summary>
/// Subchannel is packed and error corrected
/// </summary>
Packed,
/// <summary>
/// Subchannel is interleaved
/// </summary>
Raw,
/// <summary>
/// Subchannel is packed and comes interleaved with main channel in same file
/// </summary>
PackedInterleaved,
/// <summary>
/// Subchannel is interleaved and comes interleaved with main channel in same file
/// </summary>
RawInterleaved
}
@@ -639,11 +665,26 @@ namespace DiscImageChef.ImagePlugins
ATAPI_IDENTIFY
};
/// <summary>
/// Enumeration of media types defined in CICM metadata
/// </summary>
public enum XmlMediaType
{
/// <summary>
/// Purely optical discs
/// </summary>
OpticalDisc,
/// <summary>
/// Media that is physically block-based or abstracted like that
/// </summary>
BlockMedia,
/// <summary>
/// Media that can be accessed by-byte or by-bit, like chips
/// </summary>
LinearMedia,
/// <summary>
/// Media that can only store data when it is modulated to audio
/// </summary>
AudioMedia
}

View File

@@ -1,3 +1,8 @@
2015-12-06 Natalia Portillo <claunia@claunia.com>
* Plugin.cs:
Added documentation.
2015-12-06 Natalia Portillo <claunia@claunia.com>
* FFS.cs:

View File

@@ -51,6 +51,10 @@ namespace DiscImageChef.Plugins
public Guid PluginUUID;
internal Schemas.FileSystemType xmlFSType;
/// <summary>
/// Information about the filesystem as expected by CICM Metadata XML
/// </summary>
/// <value>Information about the filesystem as expected by CICM Metadata XML</value>
public Schemas.FileSystemType XmlFSType
{
get
@@ -76,7 +80,8 @@ namespace DiscImageChef.Plugins
/// Gets information about the identified filesystem.
/// </summary>
/// <param name="imagePlugin">Disk image.</param>
/// <param name="partitionOffset">Partition offset (LBA).</param>
/// <param name="partitionStart">Partition start sector (LBA).</param>
/// <param name="partitionEnd">Partition end sector (LBA).</param>
/// <param name="information">Filesystem information.</param>
public abstract void GetInformation(ImagePlugins.ImagePlugin imagePlugin, ulong partitionStart, ulong partitionEnd, out string information);
}