wabbajack/Wabbajack.App.Wpf/View Models/Compilers/MO2CompilerVM.cs

63 lines
1.7 KiB
C#
Raw Normal View History

2021-12-26 21:56:44 +00:00
using Microsoft.WindowsAPICodePack.Dialogs;
using ReactiveUI;
using ReactiveUI.Fody.Helpers;
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading.Tasks;
using DynamicData;
using Wabbajack.Common;
2021-12-28 00:24:53 +00:00
using Wabbajack.Compiler;
using Wabbajack.DTOs;
using Wabbajack.DTOs.GitHub;
2021-12-30 00:15:37 +00:00
using Wabbajack;
using Wabbajack.Extensions;
2021-12-28 00:24:53 +00:00
using Wabbajack.Paths;
using Wabbajack.Paths.IO;
2021-12-30 00:15:37 +00:00
using Consts = Wabbajack.Consts;
2021-12-26 21:56:44 +00:00
namespace Wabbajack
{
public class MO2CompilerVM : ViewModel, ISubCompilerVM
{
public CompilerVM Parent { get; }
private readonly MO2CompilationSettings _settings;
private readonly ObservableAsPropertyHelper<AbsolutePath> _mo2Folder;
public AbsolutePath Mo2Folder => _mo2Folder.Value;
private readonly ObservableAsPropertyHelper<string> _moProfile;
public string MOProfile => _moProfile.Value;
public FilePickerVM DownloadLocation { get; }
public FilePickerVM ModListLocation { get; }
[Reactive]
public ACompiler ActiveCompilation { get; private set; }
private readonly ObservableAsPropertyHelper<ModlistSettingsEditorVM> _modlistSettings;
private readonly IObservable<IChangeSet<string>> _authorKeys;
public ModlistSettingsEditorVM ModlistSettings => _modlistSettings.Value;
[Reactive]
2021-12-28 06:11:39 +00:00
public object StatusTracker { get; private set; }
2021-12-26 21:56:44 +00:00
2022-01-05 05:52:37 +00:00
public void Unload()
2021-12-26 21:56:44 +00:00
{
2022-01-05 05:52:37 +00:00
throw new NotImplementedException();
2021-12-26 21:56:44 +00:00
}
2022-01-05 05:52:37 +00:00
public IObservable<bool> CanCompile { get; }
public Task<GetResponse<ModList>> Compile()
2021-12-26 21:56:44 +00:00
{
2022-01-05 05:52:37 +00:00
throw new NotImplementedException();
2021-12-26 21:56:44 +00:00
}
2022-01-05 05:52:37 +00:00
public MO2CompilerVM(CompilerVM parent)
2021-12-26 21:56:44 +00:00
{
}
}
}