From 3f5b3d10fdceec98fd59b70235710e4f446f90e8 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Tue, 31 Mar 2026 19:48:26 -0400 Subject: [PATCH] Not sure why this enum was separate --- SabreTools.Data.Models/Metadata/Enums.cs | 58 ++++++++++++++++++++ SabreTools.Data.Models/Metadata/ItemType.cs | 60 --------------------- 2 files changed, 58 insertions(+), 60 deletions(-) delete mode 100644 SabreTools.Data.Models/Metadata/ItemType.cs diff --git a/SabreTools.Data.Models/Metadata/Enums.cs b/SabreTools.Data.Models/Metadata/Enums.cs index dd84bd6f..ae8a0447 100644 --- a/SabreTools.Data.Models/Metadata/Enums.cs +++ b/SabreTools.Data.Models/Metadata/Enums.cs @@ -246,6 +246,64 @@ namespace SabreTools.Data.Models.Metadata Verified, } + /// + /// Determine what type of file an item is + /// + public enum ItemType + { + /// + /// This is a fake flag that is used for filter only + /// + NULL = 0, + + Adjuster, + Analog, + Archive, + BiosSet, + Chip, + Condition, + Configuration, + ConfLocation, + ConfSetting, + Control, + DataArea, + Device, + DeviceRef, + DipLocation, + DipSwitch, + DipValue, + Disk, + DiskArea, + Display, + Driver, + Dump, + Extension, + Feature, + Info, + Input, + Instance, + Media, + Original, + Part, + Port, + RamOption, + Release, + Rom, + Sample, + SharedFeat, + Slot, + SlotOption, + Software, + SoftwareList, + Sound, + Video, + + /// + /// This is not a real type, only used internally + /// + Blank = int.MaxValue, + } + /// /// Determine the loadflag value /// diff --git a/SabreTools.Data.Models/Metadata/ItemType.cs b/SabreTools.Data.Models/Metadata/ItemType.cs deleted file mode 100644 index 72755d26..00000000 --- a/SabreTools.Data.Models/Metadata/ItemType.cs +++ /dev/null @@ -1,60 +0,0 @@ -namespace SabreTools.Data.Models.Metadata -{ - /// - /// Determine what type of file an item is - /// - public enum ItemType - { - /// - /// This is a fake flag that is used for filter only - /// - NULL = 0, - - Adjuster, - Analog, - Archive, - BiosSet, - Chip, - Condition, - Configuration, - ConfLocation, - ConfSetting, - Control, - DataArea, - Device, - DeviceRef, - DipLocation, - DipSwitch, - DipValue, - Disk, - DiskArea, - Display, - Driver, - Dump, - Extension, - Feature, - Info, - Input, - Instance, - Media, - Original, - Part, - Port, - RamOption, - Release, - Rom, - Sample, - SharedFeat, - Slot, - SlotOption, - Software, - SoftwareList, - Sound, - Video, - - /// - /// This is not a real type, only used internally - /// - Blank = int.MaxValue, - } -}