mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-03-07 07:01:09 +00:00
21 lines
563 B
C#
21 lines
563 B
C#
using Avalonia.Controls.Presenters;
|
|
using Ryujinx.Ava.Common.Locale;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Ryujinx.Ava.Systems.SetupWizard
|
|
{
|
|
public abstract class BaseSetupWizard(ContentPresenter presenter)
|
|
{
|
|
/// <summary>
|
|
/// Define the logic and flow of this <see cref="BaseSetupWizard"/>.
|
|
/// </summary>
|
|
public abstract Task Start();
|
|
|
|
protected SetupWizardPage FirstPage()
|
|
=> new(presenter, isFirstPage: true);
|
|
|
|
protected SetupWizardPage NextPage()
|
|
=> new(presenter);
|
|
}
|
|
}
|