[Enums] Reorganize enums

This commit is contained in:
Matt Nadareski
2016-09-12 21:35:25 -07:00
parent bd2141bc5c
commit 22b65ac1c3

View File

@@ -1,5 +1,7 @@
namespace SabreTools.Helper namespace SabreTools.Helper
{ {
#region DATabase
/// <summary> /// <summary>
/// Possible DAT import classes /// Possible DAT import classes
/// </summary> /// </summary>
@@ -17,58 +19,9 @@
Good, Good,
} }
/// <summary> #endregion
/// Possible detected header type
/// </summary>
public enum HeaderType
{
None = 0,
a7800,
fds,
lynx,
//n64,
nes,
pce,
psid,
snes,
spc,
}
/// <summary> #region DAT related
/// Severity of the logging statement
/// </summary>
public enum LogLevel
{
VERBOSE = 0,
USER,
WARNING,
ERROR,
}
/// <summary>
/// Determines which type of duplicate a file is
/// </summary>
public enum DupeType
{
None = 0,
InternalHash = 1,
InternalAll = 2,
ExternalHash = 3,
ExternalAll = 4,
}
/// <summary>
/// Determine what type of file an item is
/// </summary>
public enum ItemType
{
Rom = 0,
Disk = 1,
Sample = 2,
Release = 3,
BiosSet = 4,
Archive = 5,
}
/// <summary> /// <summary>
/// Determines forcemerging tag for DAT output /// Determines forcemerging tag for DAT output
@@ -101,14 +54,54 @@
Unzip, Unzip,
} }
#endregion
#region Rom related
/// <summary> /// <summary>
/// Determines the level to scan archives at /// Determines which type of duplicate a file is
/// </summary> /// </summary>
public enum ArchiveScanLevel public enum DupeType
{ {
Both = 0, None = 0,
Internal, InternalHash = 1,
External, InternalAll = 2,
ExternalHash = 3,
ExternalAll = 4,
}
/// <summary>
/// Determine what type of file an item is
/// </summary>
public enum ItemType
{
Rom = 0,
Disk = 1,
Sample = 2,
Release = 3,
BiosSet = 4,
Archive = 5,
}
#endregion
#region Skippers and Mappers
/// <summary>
/// Possible detected header type
/// </summary>
public enum HeaderType
{
None = 0,
a7800,
fds,
lynx,
//n64,
nes,
pce,
psid,
snes,
spc,
} }
/// <summary> /// <summary>
@@ -145,15 +138,30 @@
Greater, Greater,
} }
#endregion
#region Miscellaneous
/// <summary> /// <summary>
/// Determines which fields should be split on /// Severity of the logging statement
/// </summary> /// </summary>
public enum SplitType public enum LogLevel
{ {
None = 0, VERBOSE = 0,
Extension = 1, USER,
BestAvailableHash = 2, WARNING,
Type = 3, ERROR,
Size = 4,
} }
/// <summary>
/// Determines the level to scan archives at
/// </summary>
public enum ArchiveScanLevel
{
Both = 0,
Internal,
External,
}
#endregion
} }