diff options
author | sr55 <[email protected]> | 2011-10-29 20:17:24 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-10-29 20:17:24 +0000 |
commit | 2f0f372b09897e703a8d01fe9774aa59c936a013 (patch) | |
tree | 2dcac02179e264e6f22745e28d1492b84d715d6c /win/CS/HandBrakeWPF/Factories | |
parent | 00176d7fd3e25fcdb3ce61f313b384d4c2508788 (diff) |
WinGui: (WPF) Continued work on the options window. Save Settings, Various functions and place holders for TODO's
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4328 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Factories')
-rw-r--r-- | win/CS/HandBrakeWPF/Factories/ViewModelFactory.cs | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Factories/ViewModelFactory.cs b/win/CS/HandBrakeWPF/Factories/ViewModelFactory.cs index e8e298546..6b110fcd1 100644 --- a/win/CS/HandBrakeWPF/Factories/ViewModelFactory.cs +++ b/win/CS/HandBrakeWPF/Factories/ViewModelFactory.cs @@ -9,16 +9,38 @@ namespace HandBrakeWPF.Factories
{
+ using Caliburn.Micro;
+
+ using HandBrake.ApplicationServices.Services.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>
- public ViewModelFactory()
+ /// <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;
}
}
}
|