2020-01-05 03:09:02 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using ReactiveUI;
|
|
|
|
|
using Wabbajack.Lib;
|
|
|
|
|
|
|
|
|
|
namespace Wabbajack
|
|
|
|
|
{
|
|
|
|
|
public class SettingsVM : BackNavigatingVM
|
|
|
|
|
{
|
|
|
|
|
public MainWindowVM MWVM { get; }
|
2020-01-06 04:49:11 +00:00
|
|
|
|
public LoginManagerVM Login { get; }
|
|
|
|
|
public PerformanceSettings Performance { get; }
|
2020-01-05 03:09:02 +00:00
|
|
|
|
|
2020-01-18 22:09:32 +00:00
|
|
|
|
public AuthorFilesVM AuthorFile { get; }
|
|
|
|
|
|
2020-01-05 03:09:02 +00:00
|
|
|
|
public SettingsVM(MainWindowVM mainWindowVM)
|
|
|
|
|
: base(mainWindowVM)
|
|
|
|
|
{
|
|
|
|
|
MWVM = mainWindowVM;
|
2020-01-06 04:49:11 +00:00
|
|
|
|
Login = new LoginManagerVM(this);
|
|
|
|
|
Performance = mainWindowVM.Settings.Performance;
|
2020-01-18 22:09:32 +00:00
|
|
|
|
AuthorFile = new AuthorFilesVM(this);
|
2020-01-05 03:09:02 +00:00
|
|
|
|
}
|
2020-01-18 22:09:32 +00:00
|
|
|
|
|
2020-01-05 03:09:02 +00:00
|
|
|
|
}
|
|
|
|
|
}
|