// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // Tempory Class which manages services until Windosor is added back into the project to handle it for us. // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrake.ApplicationServices { using Caliburn.Micro; using HandBrake.ApplicationServices.Services.Interfaces; using HandBrake.Interop; /// /// Tempory Class which manages services until Windosor is added back into the project to handle it for us. /// public class ServiceManager { /// /// The Backing field for HandBrake Instance. /// private static HandBrakeInstance handBrakeInstance; /// /// Gets UserSettingService. /// public static IUserSettingService UserSettingService { get { return IoC.Get(); } } /// /// Gets HandBrakeInstance. /// public static HandBrakeInstance HandBrakeInstance { get { return handBrakeInstance ?? (handBrakeInstance = new HandBrakeInstance()); } } } }