muffin v7.5.6
This commit is contained in:
parent
6266f9e6b7
commit
addf2d530f
619 changed files with 264792 additions and 446022 deletions
49
Questionable/Questionable.Windows.Setup/PluginsStep.cs
Normal file
49
Questionable/Questionable.Windows.Setup/PluginsStep.cs
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using Questionable.Windows.ConfigComponents;
|
||||
|
||||
namespace Questionable.Windows.Setup;
|
||||
|
||||
internal sealed class PluginsStep : ISetupStep
|
||||
{
|
||||
private readonly PluginConfigComponent _pluginConfigComponent;
|
||||
|
||||
private bool _allRequiredInstalled;
|
||||
|
||||
public string Title
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
return global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-1242474630);
|
||||
}
|
||||
}
|
||||
|
||||
public bool CanAdvance => _allRequiredInstalled;
|
||||
|
||||
public PluginsStep(PluginConfigComponent pluginConfigComponent)
|
||||
{
|
||||
_pluginConfigComponent = pluginConfigComponent;
|
||||
}
|
||||
|
||||
public bool ShouldShow()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ISetupStep.ShouldShow()
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in ShouldShow
|
||||
return this.ShouldShow();
|
||||
}
|
||||
|
||||
public void Draw()
|
||||
{
|
||||
_pluginConfigComponent.Draw(out _allRequiredInstalled);
|
||||
}
|
||||
|
||||
void ISetupStep.Draw()
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in Draw
|
||||
this.Draw();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue