moving ChangeHistory from the model to the viewmodel, since it now provides change notification.

This commit is contained in:
Benjamin Popp
2018-10-27 20:42:09 -05:00
parent 6a821d3741
commit 211ff8399d
3 changed files with 4 additions and 5 deletions

View File

@@ -52,7 +52,7 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Compile Include="Model\ChangeHistory.cs" />
<Compile Include="ViewModel\ChangeHistory.cs" />
<Compile Include="Model\Enums.cs" />
<Compile Include="Model\IFileSystem.cs" />
<Compile Include="Model\LoadedFile.cs" />

View File

@@ -1,10 +1,9 @@
using HavenSoft.Gen3Hex.ViewModel;
using System;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Windows.Input;
namespace HavenSoft.Gen3Hex.Model {
namespace HavenSoft.Gen3Hex.ViewModel {
/// <summary>
/// Represents a history of changes that can undo / redo.
/// The change can be reperesented by any class with an empty constructor.

View File

@@ -1,4 +1,4 @@
using HavenSoft.Gen3Hex.Model;
using HavenSoft.Gen3Hex.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;