namespace NexusShell.Services;

public sealed class NexusCalculatorService
{
    private readonly NexusCalculatorEngine _engine = new();

    public NexusCalculatorEngine Engine => _engine;

    public string ExpressionLine => _engine.ExpressionLine;

    public string Display => _engine.Display;

    public string ModeLabel => NexusCalculatorEngine.StandardModeLabel;

    public bool HasError => _engine.HasError;

    public void PressButton(string buttonId) => _engine.PressButton(buttonId);

    public void Reset() => _engine.Reset();
}
