From 44b2c7e69d5613631a4ab39a91e01b673046f030 Mon Sep 17 00:00:00 2001 From: sr55 Date: Mon, 15 Aug 2011 16:54:19 +0000 Subject: WinGui: Finished re-writing the user settings service to use xml file storage rather than built-in settings. Moved all the Services Library settings over to use the service. Main application will be done later. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4175 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrake.ApplicationServices/Parsing/Title.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'win/CS/HandBrake.ApplicationServices/Parsing/Title.cs') diff --git a/win/CS/HandBrake.ApplicationServices/Parsing/Title.cs b/win/CS/HandBrake.ApplicationServices/Parsing/Title.cs index 9b7146512..1ddb4730d 100644 --- a/win/CS/HandBrake.ApplicationServices/Parsing/Title.cs +++ b/win/CS/HandBrake.ApplicationServices/Parsing/Title.cs @@ -13,6 +13,8 @@ namespace HandBrake.ApplicationServices.Parsing using HandBrake.ApplicationServices.Model; using HandBrake.ApplicationServices.Model.Encoding; + using HandBrake.ApplicationServices.Services; + using HandBrake.ApplicationServices.Services.Interfaces; using HandBrake.Interop.Model; using Size = System.Drawing.Size; @@ -27,6 +29,11 @@ namespace HandBrake.ApplicationServices.Parsing /// private static readonly CultureInfo Culture = new CultureInfo("en-US", false); + /// + /// The User Setting Service + /// + private static IUserSettingService userSettingService = new UserSettingService(); + /// /// Initializes a new instance of the class. /// @@ -151,7 +158,7 @@ namespace HandBrake.ApplicationServices.Parsing } // Multi-Angle Support if LibDvdNav is enabled - if (!Properties.Settings.Default.DisableLibDvdNav) + if (!userSettingService.GetUserSetting(UserSettingConstants.DisableLibDvdNav)) { m = Regex.Match(nextLine, @" \+ angle\(s\) ([0-9])"); if (m.Success) -- cgit v1.2.3