summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-07-20 17:06:08 +0000
committersr55 <[email protected]>2012-07-20 17:06:08 +0000
commit7f7055ee54f9dfb0cdad5c73841452fd8491f51e (patch)
tree88bb4b64e1a2ef82b11bbb8c2a89d41aaabac30e /win/CS/HandBrake.ApplicationServices/Services/ScanService.cs
parent1aadfe267e451acfbc900590a53cd9df87fe50ff (diff)
WinGui: Move some stuff around in the services library and refactor out some legacy code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4868 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/ScanService.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/ScanService.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs b/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs
index 5eb1f0a37..7edbdb320 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs
@@ -16,12 +16,16 @@ namespace HandBrake.ApplicationServices.Services
using System.Threading;
using System.Windows.Forms;
+ using Caliburn.Micro;
+
using HandBrake.ApplicationServices.EventArgs;
using HandBrake.ApplicationServices.Exceptions;
using HandBrake.ApplicationServices.Parsing;
using HandBrake.ApplicationServices.Services.Interfaces;
using HandBrake.ApplicationServices.Utilities;
+ using Parser = HandBrake.ApplicationServices.Parsing.Parser;
+
/// <summary>
/// Scan a Source
/// </summary>
@@ -52,7 +56,7 @@ namespace HandBrake.ApplicationServices.Services
/// <summary>
/// The User Setting Service
/// </summary>
- private IUserSettingService userSettingService = ServiceManager.UserSettingService;
+ private IUserSettingService userSettingService = IoC.Get<IUserSettingService>();
#endregion