Add explicit list of supported types

This commit is contained in:
Matt Nadareski
2020-09-18 17:12:31 -07:00
parent 5a8ff006bd
commit ae3bae2d0a
14 changed files with 138 additions and 1 deletions

View File

@@ -1126,6 +1126,34 @@ namespace SabreTools.Library.DatFiles
}
}
/// <inheritdoc/>
protected override ItemType[] GetSupportedTypes()
{
return new ItemType[]
{
ItemType.Adjuster,
ItemType.BiosSet,
ItemType.Chip,
ItemType.Condition,
ItemType.Configuration,
ItemType.Device,
ItemType.DeviceReference,
ItemType.DipSwitch,
ItemType.Disk,
ItemType.Display,
ItemType.Driver,
ItemType.Feature,
ItemType.Input,
ItemType.Port,
ItemType.RamOption,
ItemType.Rom,
ItemType.Sample,
ItemType.Slot,
ItemType.SoftwareList,
ItemType.Sound,
};
}
/// <summary>
/// Create and open an output file for writing direct from a dictionary
/// </summary>