2021-12-26 21:56:44 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Wabbajack.Common;
|
|
|
|
|
using Wabbajack.Lib;
|
2021-12-26 22:05:28 +00:00
|
|
|
|
using Wabbajack.Lib.Interventions;
|
2021-12-26 21:56:44 +00:00
|
|
|
|
|
|
|
|
|
namespace Wabbajack
|
|
|
|
|
{
|
|
|
|
|
public class ConfirmUpdateOfExistingInstallVM : ViewModel, IUserIntervention
|
|
|
|
|
{
|
|
|
|
|
public ConfirmUpdateOfExistingInstall Source { get; }
|
|
|
|
|
|
|
|
|
|
public MO2InstallerVM Installer { get; }
|
|
|
|
|
|
|
|
|
|
public bool Handled => ((IUserIntervention)Source).Handled;
|
|
|
|
|
|
2021-12-28 20:13:00 +00:00
|
|
|
|
public int CpuID => 0;
|
2021-12-26 21:56:44 +00:00
|
|
|
|
|
2021-12-28 20:13:00 +00:00
|
|
|
|
public DateTime Timestamp => DateTime.Now;
|
2021-12-26 21:56:44 +00:00
|
|
|
|
|
2021-12-28 20:13:00 +00:00
|
|
|
|
public string ShortDescription => "Short Desc";
|
2021-12-26 21:56:44 +00:00
|
|
|
|
|
2021-12-28 20:13:00 +00:00
|
|
|
|
public string ExtendedDescription => "Extended Desc";
|
2021-12-26 21:56:44 +00:00
|
|
|
|
|
|
|
|
|
public ConfirmUpdateOfExistingInstallVM(MO2InstallerVM installer, ConfirmUpdateOfExistingInstall confirm)
|
|
|
|
|
{
|
|
|
|
|
Source = confirm;
|
|
|
|
|
Installer = installer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Cancel()
|
|
|
|
|
{
|
|
|
|
|
((IUserIntervention)Source).Cancel();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|