summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Factories
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-11-28 20:27:02 +0000
committersr55 <[email protected]>2011-11-28 20:27:02 +0000
commitd40d2fe37b2e9a61067f2f13fdabaf4ff4c2a69a (patch)
treeff897b7664fc414aef2a4b8cb87713de671b0a27 /win/CS/HandBrakeWPF/Factories
parent044fa5acfdfba93e70f9ade5586f14aee0958532 (diff)
WinGui: (WPF) Further UI work on the new interface.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4366 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Factories')
-rw-r--r--win/CS/HandBrakeWPF/Factories/ViewModelFactory.cs60
1 files changed, 0 insertions, 60 deletions
diff --git a/win/CS/HandBrakeWPF/Factories/ViewModelFactory.cs b/win/CS/HandBrakeWPF/Factories/ViewModelFactory.cs
deleted file mode 100644
index 2c840f441..000000000
--- a/win/CS/HandBrakeWPF/Factories/ViewModelFactory.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-// --------------------------------------------------------------------------------------------------------------------
-// <copyright file="ViewModelFactory.cs" company="HandBrake Project (http://handbrake.fr)">
-// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
-// </copyright>
-// <summary>
-// The View Model Factory
-// </summary>
-// --------------------------------------------------------------------------------------------------------------------
-
-namespace HandBrakeWPF.Factories
-{
- using Caliburn.Micro;
-
- using HandBrake.ApplicationServices.Services.Interfaces;
-
- using HandBrakeWPF.ViewModels;
- using HandBrakeWPF.ViewModels.Interfaces;
-
- /// <summary>
- /// The View Model Factory
- /// </summary>
- public class ViewModelFactory
- {
- /// <summary>
- /// The Window Manager
- /// </summary>
- private readonly IWindowManager windowManager;
-
- /// <summary>
- /// The User Setting Service
- /// </summary>
- private readonly IUserSettingService userSettingsService;
-
- /// <summary>
- /// Initializes a new instance of the <see cref="ViewModelFactory"/> class.
- /// </summary>
- /// <param name="windowManager">
- /// The window Manager.
- /// </param>
- /// <param name="userSettingsService">
- /// The user Settings Service.
- /// </param>
- public ViewModelFactory(IWindowManager windowManager, IUserSettingService userSettingsService)
- {
- this.windowManager = windowManager;
- this.userSettingsService = userSettingsService;
- }
-
- /// <summary>
- /// Create an ErrorViewModel
- /// </summary>
- /// <returns>
- /// An Error ViewModel
- /// </returns>
- public IErrorViewModel CreateErrorViewModel()
- {
- return new ErrorViewModel();
- }
- }
-}