mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Enums, FileTypes/, Utilities] Use new enum, new class
Add a new "BaseFile" class for potential future use. This should be the "base" for all future files and folders that could exist. This is likely to change over time.
This commit is contained in:
@@ -88,7 +88,7 @@ namespace SabreTools.Library.FileTypes
|
||||
/// 0x68-0x7b - Parent SHA-1
|
||||
/// ----------------------------------------------
|
||||
/// </remarks>
|
||||
public class CHDFile : IDisposable
|
||||
public class CHDFile : BaseFile, IDisposable
|
||||
{
|
||||
#region Private instance variables
|
||||
|
||||
@@ -122,6 +122,7 @@ namespace SabreTools.Library.FileTypes
|
||||
/// <param name="chdstream">Stream representing the CHD file</param>
|
||||
public CHDFile(Stream chdstream)
|
||||
{
|
||||
_fileType = FileType.CHD;
|
||||
m_br = new BinaryReader(chdstream);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user