2022-03-13 22:47:30 +00:00
|
|
|
|
using Microsoft.WindowsAPICodePack.Dialogs;
|
|
|
|
|
using ReactiveUI.Fody.Helpers;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Reactive.Disposables;
|
|
|
|
|
using System.Reactive.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using DynamicData;
|
|
|
|
|
using Wabbajack.Common;
|
|
|
|
|
using Wabbajack.Compiler;
|
|
|
|
|
using Wabbajack.DTOs;
|
|
|
|
|
using Wabbajack.DTOs.GitHub;
|
|
|
|
|
using Wabbajack;
|
|
|
|
|
using Wabbajack.Extensions;
|
|
|
|
|
using Wabbajack.Paths.IO;
|
|
|
|
|
using Consts = Wabbajack.Consts;
|
|
|
|
|
|
|
|
|
|
namespace Wabbajack
|
|
|
|
|
{
|
2022-10-08 03:43:44 +00:00
|
|
|
|
public class MO2CompilerVM : ViewModel
|
2022-03-13 22:47:30 +00:00
|
|
|
|
{
|
|
|
|
|
public CompilerVM Parent { get; }
|
|
|
|
|
|
|
|
|
|
public FilePickerVM DownloadLocation { get; }
|
|
|
|
|
|
|
|
|
|
public FilePickerVM ModListLocation { get; }
|
|
|
|
|
|
|
|
|
|
[Reactive]
|
|
|
|
|
public ACompiler ActiveCompilation { get; private set; }
|
2022-10-08 03:43:44 +00:00
|
|
|
|
|
2022-03-13 22:47:30 +00:00
|
|
|
|
[Reactive]
|
|
|
|
|
public object StatusTracker { get; private set; }
|
|
|
|
|
|
|
|
|
|
public void Unload()
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IObservable<bool> CanCompile { get; }
|
|
|
|
|
public Task<GetResponse<ModList>> Compile()
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public MO2CompilerVM(CompilerVM parent)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|