[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:
Matt Nadareski
2018-02-15 22:06:20 -08:00
parent 336388c717
commit 3a45dcc1a5
18 changed files with 192 additions and 36 deletions

View File

@@ -21,7 +21,6 @@ using SeekOrigin = System.IO.SeekOrigin;
using Stream = System.IO.Stream;
#endif
using Ionic.Zlib;
using SharpCompress.Common;
namespace SabreTools.Library.FileTypes
{
@@ -38,6 +37,7 @@ namespace SabreTools.Library.FileTypes
public GZipArchive()
: base()
{
_fileType = FileType.GZipArchive;
}
/// <summary>
@@ -48,7 +48,7 @@ namespace SabreTools.Library.FileTypes
public GZipArchive(string filename)
: base(filename)
{
_archiveType = ArchiveType.GZip;
_fileType = FileType.GZipArchive;
}
#endregion