using System; namespace SabreTools.Helper { /// /// Possible DAT import classes /// public enum DatType { none = 0, Custom, MAME, NoIntro, Redump, TOSEC, TruRip, NonGood, MaybeIntro, Good, } /// /// Possible detected header type /// public enum HeaderType { None = 0, a7800, fds, lynx, //n64, nes, pce, psid, snes, spc, } /// /// Severity of the logging statement /// public enum LogLevel { VERBOSE = 0, USER, WARNING, ERROR, } /// /// Determines which type of duplicate a file is /// public enum DupeType { None = 0, InternalHash = 1, InternalAll = 2, ExternalHash = 3, ExternalAll = 4, } /// /// Determine what type of file an item is /// public enum ItemType { Rom = 0, Disk = 1, Sample = 2, Release = 3, BiosSet = 4, Archive = 5, } /// /// Determines forcemerging tag for DAT output /// public enum ForceMerging { None = 0, Split, Full, } /// /// Determines forcenodump tag for DAT output /// public enum ForceNodump { None = 0, Obsolete, Required, Ignore, } /// /// Determines forcepacking tag for DAT output /// public enum ForcePacking { None = 0, Zip, Unzip, } /// /// Determines the DAT output format /// public enum OutputFormat { None = 0, Xml, ClrMamePro, RomCenter, DOSCenter, MissFile, SabreDat, RedumpMD5, RedumpSHA1, RedumpSFV, } /// /// Determines the level to scan archives at /// public enum ArchiveScanLevel { Both = 0, Internal, External, } /// /// Determines the header skip operation /// public enum HeaderSkipOperation { None = 0, Bitswap, Byteswap, Wordswap, WordByteswap, } /// /// Determines the type of test to be done /// public enum HeaderSkipTest { Data = 0, Or, Xor, And, File, } /// /// Determines the operator to be used in a file test /// public enum HeaderSkipTestFileOperator { Equal = 0, Less, Greater, } /// /// Determines which diffs should be created /// [Flags] public enum DiffMode { Dupes = 0x01, NoDupes = 0x02, Individuals = 0x04, All = Dupes | NoDupes | Individuals, } /// /// Determines which fields should be split on /// public enum SplitType { None = 0, Extension = 1, BestAvailableHash = 2, Type = 3, Size = 4, } }