summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Factories/ViewModelFactory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Factories/ViewModelFactory.cs')
-rw-r--r--win/CS/HandBrakeWPF/Factories/ViewModelFactory.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Factories/ViewModelFactory.cs b/win/CS/HandBrakeWPF/Factories/ViewModelFactory.cs
index 6b110fcd1..2c840f441 100644
--- a/win/CS/HandBrakeWPF/Factories/ViewModelFactory.cs
+++ b/win/CS/HandBrakeWPF/Factories/ViewModelFactory.cs
@@ -13,6 +13,9 @@ namespace HandBrakeWPF.Factories
using HandBrake.ApplicationServices.Services.Interfaces;
+ using HandBrakeWPF.ViewModels;
+ using HandBrakeWPF.ViewModels.Interfaces;
+
/// <summary>
/// The View Model Factory
/// </summary>
@@ -42,5 +45,16 @@ namespace HandBrakeWPF.Factories
this.windowManager = windowManager;
this.userSettingsService = userSettingsService;
}
+
+ /// <summary>
+ /// Create an ErrorViewModel
+ /// </summary>
+ /// <returns>
+ /// An Error ViewModel
+ /// </returns>
+ public IErrorViewModel CreateErrorViewModel()
+ {
+ return new ErrorViewModel();
+ }
}
}