// PRE-GENERATED (design session). Auto-switch rules (Peace-style per-app / per-device).
namespace DansoriEQ.Core.Switching;

public enum SwitchTrigger { App, Device }

public sealed class SwitchRule
{
    public SwitchTrigger Trigger { get; set; } = SwitchTrigger.App;
    public string Match { get; set; } = "";        // process name (App) or device name (Device), substring
    public string PresetName { get; set; } = "";    // library preset to apply
    public bool Enabled { get; set; } = true;
}

public sealed class SwitchContext
{
    public string? AppProcess { get; set; }
    public string? DeviceName { get; set; }
}
