mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Wire up remaining OpenMSX machine fields
This commit is contained in:
@@ -205,6 +205,25 @@ namespace SabreTools.Library.Filtering
|
||||
|
||||
#endregion
|
||||
|
||||
#region OpenMSX
|
||||
|
||||
/// <summary>
|
||||
/// Include or exclude machine Generation MSX ID
|
||||
/// </summary>
|
||||
public FilterItem<string> GenMSXID { get; private set; } = new FilterItem<string>();
|
||||
|
||||
/// <summary>
|
||||
/// Include or exclude machine system
|
||||
/// </summary>
|
||||
public FilterItem<string> System { get; private set; } = new FilterItem<string>();
|
||||
|
||||
/// <summary>
|
||||
/// Include or exclude machine country
|
||||
/// </summary>
|
||||
public FilterItem<string> Country { get; private set; } = new FilterItem<string>();
|
||||
|
||||
#endregion
|
||||
|
||||
#region SoftwareList
|
||||
|
||||
/// <summary>
|
||||
@@ -762,6 +781,31 @@ namespace SabreTools.Library.Filtering
|
||||
|
||||
#endregion
|
||||
|
||||
#region OpenMSX
|
||||
|
||||
case Field.GenMSXID:
|
||||
if (negate)
|
||||
GenMSXID.NegativeSet.Add(value);
|
||||
else
|
||||
GenMSXID.PositiveSet.Add(value);
|
||||
break;
|
||||
|
||||
case Field.System:
|
||||
if (negate)
|
||||
System.NegativeSet.Add(value);
|
||||
else
|
||||
System.PositiveSet.Add(value);
|
||||
break;
|
||||
|
||||
case Field.Country:
|
||||
if (negate)
|
||||
Country.NegativeSet.Add(value);
|
||||
else
|
||||
Country.PositiveSet.Add(value);
|
||||
break;
|
||||
|
||||
#endregion
|
||||
|
||||
#region SoftwareList
|
||||
|
||||
case Field.Supported:
|
||||
|
||||
Reference in New Issue
Block a user