summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-05-17 21:01:30 +0000
committersr55 <[email protected]>2015-05-17 21:01:30 +0000
commit525d9fae34a7981eb5f6de46135d909551480043 (patch)
treea38306689787207fbd346fe32e69f261b455f6ec /win/CS/HandBrake.ApplicationServices
parentf44ed828e6e1fa5f64d48be8f19bb5525434f263 (diff)
WinGui: General tidy up and remove the custom styling for the app. The app will now always honour the system defaults.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7207 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstanceManager.cs12
-rw-r--r--win/CS/HandBrake.ApplicationServices/Interop/HandBrakePresetService.cs9
2 files changed, 7 insertions, 14 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstanceManager.cs b/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstanceManager.cs
index aee941447..a84f5f657 100644
--- a/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstanceManager.cs
+++ b/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstanceManager.cs
@@ -17,7 +17,7 @@ namespace HandBrake.ApplicationServices.Interop
/// The HandBrake Instance manager.
/// Only supports scanning right now.
/// </summary>
- internal static class HandBrakeInstanceManager
+ public static class HandBrakeInstanceManager
{
private static HandBrakeInstance scanInstance;
private static HandBrakeInstance encodeInstance;
@@ -49,7 +49,7 @@ namespace HandBrake.ApplicationServices.Interop
/// <returns>
/// The <see cref="IHandBrakeInstance"/>.
/// </returns>
- public static IHandBrakeInstance GetScanInstance(int verbosity)
+ internal static IHandBrakeInstance GetScanInstance(int verbosity)
{
if (scanInstance != null)
{
@@ -73,7 +73,7 @@ namespace HandBrake.ApplicationServices.Interop
/// <returns>
/// The <see cref="IHandBrakeInstance"/>.
/// </returns>
- public static IHandBrakeInstance GetEncodeInstance(int verbosity)
+ internal static IHandBrakeInstance GetEncodeInstance(int verbosity)
{
if (encodeInstance != null)
{
@@ -91,7 +91,7 @@ namespace HandBrake.ApplicationServices.Interop
/// <summary>
/// Gets the master instance.
/// </summary>
- public static IHandBrakeInstance MasterInstance
+ internal static IHandBrakeInstance MasterInstance
{
get
{
@@ -102,7 +102,7 @@ namespace HandBrake.ApplicationServices.Interop
/// <summary>
/// Gets the last scan scan instance.
/// </summary>
- public static IHandBrakeInstance LastScanScanInstance
+ internal static IHandBrakeInstance LastScanScanInstance
{
get
{
@@ -124,7 +124,7 @@ namespace HandBrake.ApplicationServices.Interop
/// <summary>
/// Gets the last encode scan instance.
/// </summary>
- public static IHandBrakeInstance LastEncodeScanInstance
+ internal static IHandBrakeInstance LastEncodeScanInstance
{
get
{
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/HandBrakePresetService.cs b/win/CS/HandBrake.ApplicationServices/Interop/HandBrakePresetService.cs
index 0fdf95211..e2610905d 100644
--- a/win/CS/HandBrake.ApplicationServices/Interop/HandBrakePresetService.cs
+++ b/win/CS/HandBrake.ApplicationServices/Interop/HandBrakePresetService.cs
@@ -26,15 +26,8 @@ namespace HandBrake.ApplicationServices.Interop
public class HandBrakePresetService
{
/// <summary>
- /// Initializes static members of the <see cref="HandBrakePresetService"/> class.
- /// </summary>
- static HandBrakePresetService()
- {
- HandBrakeInstanceManager.Init();
- }
-
- /// <summary>
/// The get built in presets.
+ /// Requires an hb_init to have been invoked.
/// </summary>
/// <returns>
/// The <see cref="string"/>.