summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/ServiceManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/ServiceManager.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/ServiceManager.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/ServiceManager.cs b/win/CS/HandBrake.ApplicationServices/ServiceManager.cs
new file mode 100644
index 000000000..06b4422e2
--- /dev/null
+++ b/win/CS/HandBrake.ApplicationServices/ServiceManager.cs
@@ -0,0 +1,27 @@
+namespace HandBrake.ApplicationServices
+{
+ using HandBrake.ApplicationServices.Services;
+ using HandBrake.ApplicationServices.Services.Interfaces;
+
+ /// <summary>
+ /// Tempory Class which manages services until Windosor is added back into the project to handle it for us.
+ /// </summary>
+ public class ServiceManager
+ {
+ /// <summary>
+ /// Backing Field for the User Setting Service.
+ /// </summary>
+ private static IUserSettingService userSettingService;
+
+ /// <summary>
+ /// Gets UserSettingService.
+ /// </summary>
+ public static IUserSettingService UserSettingService
+ {
+ get
+ {
+ return userSettingService ?? (userSettingService = new UserSettingService());
+ }
+ }
+ }
+}