summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-12-30 18:57:30 +0000
committersr55 <[email protected]>2011-12-30 18:57:30 +0000
commitcd3e951792f05944fb9ba4f1bc17e581318bfe8f (patch)
treecc36dcf807b7d371132429fd7a7a5550233ee737 /win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
parent1a4342793d9c7054b1a70030787af46f77208288 (diff)
WinGui: (WPF) Move all the main UI tab UserControls into an MVVM format. Mostly code shuffling.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4393 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs18
1 files changed, 10 insertions, 8 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
index d4a6f077c..c46792c7c 100644
--- a/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
@@ -7,18 +7,20 @@
// </summary>
// --------------------------------------------------------------------------------------------------------------------
-using System.Windows;
-using HandBrake.ApplicationServices.Model;
-using HandBrake.ApplicationServices.Services.Interfaces;
-using HandBrake.ApplicationServices.Utilities;
-using HandBrakeWPF.Services.Interfaces;
-
namespace HandBrakeWPF.ViewModels
{
using System.ComponentModel.Composition;
- using Interfaces;
+ using System.Windows;
+
using Caliburn.Micro;
+ using HandBrake.ApplicationServices.Model;
+ using HandBrake.ApplicationServices.Services.Interfaces;
+ using HandBrake.ApplicationServices.Utilities;
+
+ using HandBrakeWPF.Services.Interfaces;
+ using HandBrakeWPF.ViewModels.Interfaces;
+
/// <summary>
/// The Add Preset View Model
/// </summary>
@@ -47,7 +49,7 @@ namespace HandBrakeWPF.ViewModels
/// <param name="errorService">
/// The Error Service
/// </param>
- public AddPresetViewModel(IWindowManager windowManager, IPresetService presetService, IErrorService errorService) : base(windowManager)
+ public AddPresetViewModel(IWindowManager windowManager, IPresetService presetService, IErrorService errorService)
{
this.presetService = presetService;
this.errorService = errorService;