diff options
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;
}
}
}
|