summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-08-24 16:40:26 +0000
committersr55 <[email protected]>2013-08-24 16:40:26 +0000
commitf8e7adc789a0a426907bad279c0c6741da32aba5 (patch)
treef1195bfc0e45a9056d7f29adc80b94db5d9fc860 /win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs
parent2526f515e8221cf8a955a3ea2dd405806d3aa259 (diff)
WinGui: Additional fixes to libhb logging, libdvdnav option and min duration setting.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5745 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs')
-rw-r--r--win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs b/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs
index 701579d5b..073105694 100644
--- a/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs
+++ b/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs
@@ -45,10 +45,13 @@ namespace HandBrakeWPF.Services
/// <summary>
/// Initializes a new instance of the <see cref="ScanServiceWrapper"/> class.
/// </summary>
- public ScanServiceWrapper()
+ /// <param name="userSettingService">
+ /// The user Setting Service.
+ /// </param>
+ public ScanServiceWrapper(IUserSettingService userSettingService)
{
HandbrakeInstance = new HandBrakeInstance();
- this.scanService = new LibScan(HandbrakeInstance);
+ this.scanService = new LibScan(HandbrakeInstance, userSettingService);
this.scanService.ScanCompleted += this.ScanServiceScanCompleted;
this.scanService.ScanStared += this.ScanServiceScanStared;
this.scanService.ScanStatusChanged += this.ScanServiceScanStatusChanged;