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.cs49
1 files changed, 0 insertions, 49 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/ServiceManager.cs b/win/CS/HandBrake.ApplicationServices/ServiceManager.cs
deleted file mode 100644
index 41775a287..000000000
--- a/win/CS/HandBrake.ApplicationServices/ServiceManager.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-// --------------------------------------------------------------------------------------------------------------------
-// <copyright file="ServiceManager.cs" company="HandBrake Project (http://handbrake.fr)">
-// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
-// </copyright>
-// <summary>
-// Tempory Class which manages services until Windosor is added back into the project to handle it for us.
-// </summary>
-// --------------------------------------------------------------------------------------------------------------------
-
-namespace HandBrake.ApplicationServices
-{
- using Caliburn.Micro;
-
- using HandBrake.ApplicationServices.Services.Interfaces;
- using HandBrake.Interop;
-
- /// <summary>
- /// Tempory Class which manages services until Windosor is added back into the project to handle it for us.
- /// </summary>
- public class ServiceManager
- {
- /// <summary>
- /// The Backing field for HandBrake Instance.
- /// </summary>
- private static HandBrakeInstance handBrakeInstance;
-
- /// <summary>
- /// Gets UserSettingService.
- /// </summary>
- public static IUserSettingService UserSettingService
- {
- get
- {
- return IoC.Get<IUserSettingService>();
- }
- }
-
- /// <summary>
- /// Gets HandBrakeInstance.
- /// </summary>
- public static HandBrakeInstance HandBrakeInstance
- {
- get
- {
- return handBrakeInstance ?? (handBrakeInstance = new HandBrakeInstance());
- }
- }
- }
-}