diff options
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/ServiceManager.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/ServiceManager.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/ServiceManager.cs b/win/CS/HandBrake.ApplicationServices/ServiceManager.cs index 06b4422e2..e0ad65ae5 100644 --- a/win/CS/HandBrake.ApplicationServices/ServiceManager.cs +++ b/win/CS/HandBrake.ApplicationServices/ServiceManager.cs @@ -2,6 +2,7 @@ {
using HandBrake.ApplicationServices.Services;
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.
@@ -14,6 +15,11 @@ private static IUserSettingService userSettingService;
/// <summary>
+ /// The Backing field for HandBrake Instance.
+ /// </summary>
+ private static HandBrakeInstance handBrakeInstance;
+
+ /// <summary>
/// Gets UserSettingService.
/// </summary>
public static IUserSettingService UserSettingService
@@ -23,5 +29,16 @@ return userSettingService ?? (userSettingService = new UserSettingService());
}
}
+
+ /// <summary>
+ /// Gets HandBrakeInstance.
+ /// </summary>
+ public static HandBrakeInstance HandBrakeInstance
+ {
+ get
+ {
+ return handBrakeInstance ?? (handBrakeInstance = new HandBrakeInstance());
+ }
+ }
}
}
|