Move output type enum to better namespace

This commit is contained in:
Matt Nadareski
2020-12-12 13:40:46 -08:00
parent 8a401982eb
commit b426fbc199
7 changed files with 28 additions and 30 deletions

View File

@@ -6,6 +6,7 @@ using SabreTools.Core;
using SabreTools.DatFiles; using SabreTools.DatFiles;
using SabreTools.DatItems; using SabreTools.DatItems;
using SabreTools.DatTools; using SabreTools.DatTools;
using SabreTools.FileTypes;
using SabreTools.Help; using SabreTools.Help;
using Microsoft.Data.Sqlite; using Microsoft.Data.Sqlite;

View File

@@ -2,9 +2,9 @@
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using SabreTools.Core;
using SabreTools.DatFiles; using SabreTools.DatFiles;
using SabreTools.DatTools; using SabreTools.DatTools;
using SabreTools.FileTypes;
using SabreTools.Help; using SabreTools.Help;
using SabreTools.IO; using SabreTools.IO;

View File

@@ -1005,32 +1005,4 @@ namespace SabreTools.Core
} }
#endregion #endregion
#region FileTypes
/// <summary>
/// Output format for rebuilt files
/// </summary>
public enum OutputFormat
{
// Currently implemented
Folder,
ParentFolder,
TorrentZip,
TorrentGzip,
TorrentGzipRomba,
TorrentXZ,
TorrentXZRomba,
TapeArchive,
// Currently unimplemented fully
Torrent7Zip,
TorrentRar,
TorrentLRZip,
TorrentLZ4,
TorrentZstd,
TorrentZPAQ,
}
#endregion
} }

View File

@@ -1283,4 +1283,28 @@ namespace SabreTools.FileTypes
ZPAQArchive, ZPAQArchive,
ZstdArchive, ZstdArchive,
} }
/// <summary>
/// Output format for rebuilt files
/// </summary>
public enum OutputFormat
{
// Currently implemented
Folder,
ParentFolder,
TorrentZip,
TorrentGzip,
TorrentGzipRomba,
TorrentXZ,
TorrentXZRomba,
TapeArchive,
// Currently unimplemented fully
Torrent7Zip,
TorrentRar,
TorrentLRZip,
TorrentLZ4,
TorrentZstd,
TorrentZPAQ,
}
} }

View File

@@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using SabreTools.Core;
using SabreTools.Core.Tools; using SabreTools.Core.Tools;
using SabreTools.FileTypes.Archives; using SabreTools.FileTypes.Archives;
using SabreTools.IO; using SabreTools.IO;

View File

@@ -5,6 +5,7 @@ using System.IO;
using SabreTools.Core; using SabreTools.Core;
using SabreTools.Core.Tools; using SabreTools.Core.Tools;
using SabreTools.DatFiles; using SabreTools.DatFiles;
using SabreTools.FileTypes;
using SabreTools.Filtering; using SabreTools.Filtering;
using SabreTools.Help; using SabreTools.Help;
using SabreTools.IO; using SabreTools.IO;

View File

@@ -4,6 +4,7 @@ using System.IO;
using SabreTools.Core; using SabreTools.Core;
using SabreTools.DatFiles; using SabreTools.DatFiles;
using SabreTools.DatTools; using SabreTools.DatTools;
using SabreTools.FileTypes;
using SabreTools.Help; using SabreTools.Help;
using SabreTools.IO; using SabreTools.IO;
using SabreTools.Logging; using SabreTools.Logging;