qstbak/Questionable/Questionable.Windows.Setup/PluginsStep.cs
2026-08-17 20:29:32 +10:00

29 lines
589 B
C#

using Questionable.Windows.ConfigComponents;
namespace Questionable.Windows.Setup;
internal sealed class PluginsStep : ISetupStep
{
private readonly PluginConfigComponent _pluginConfigComponent;
private bool _allRequiredInstalled;
public string Title => "Required plugins";
public bool CanAdvance => _allRequiredInstalled;
public PluginsStep(PluginConfigComponent pluginConfigComponent)
{
_pluginConfigComponent = pluginConfigComponent;
}
public bool ShouldShow()
{
return true;
}
public void Draw()
{
_pluginConfigComponent.Draw(out _allRequiredInstalled);
}
}