diff options
Diffstat (limited to 'win/CS/HandBrake.Interop')
-rw-r--r-- | win/CS/HandBrake.Interop/Interop/HandBrakeInstance.cs | 12 | ||||
-rw-r--r-- | win/CS/HandBrake.Interop/Interop/Interfaces/IEncodeInstance.cs | 2 |
2 files changed, 10 insertions, 4 deletions
diff --git a/win/CS/HandBrake.Interop/Interop/HandBrakeInstance.cs b/win/CS/HandBrake.Interop/Interop/HandBrakeInstance.cs index a5027f72f..5d4dd98ac 100644 --- a/win/CS/HandBrake.Interop/Interop/HandBrakeInstance.cs +++ b/win/CS/HandBrake.Interop/Interop/HandBrakeInstance.cs @@ -13,6 +13,7 @@ namespace HandBrake.Interop.Interop using System.Collections.Generic; using System.Diagnostics; using System.Linq; + using System.Runtime.CompilerServices; using System.Runtime.ExceptionServices; using System.Runtime.InteropServices; using System.Timers; @@ -73,10 +74,6 @@ namespace HandBrake.Interop.Interop /// </summary> public event EventHandler<EncodeCompletedEventArgs> EncodeCompleted; - /// <summary> - /// Gets the handle. - /// </summary> - internal IntPtr Handle { get; private set; } /// <summary> /// Gets the number of previews created during scan. @@ -108,6 +105,13 @@ namespace HandBrake.Interop.Interop /// </summary> public int Build => hbFunctions.hb_get_build(this.Handle); + public bool IsRemoteInstance => false; + + /// <summary> + /// Gets the handle. + /// </summary> + internal IntPtr Handle { get; private set; } + /// <summary> /// Initializes this instance. /// </summary> diff --git a/win/CS/HandBrake.Interop/Interop/Interfaces/IEncodeInstance.cs b/win/CS/HandBrake.Interop/Interop/Interfaces/IEncodeInstance.cs index 5a0957cb9..e7a52fbfa 100644 --- a/win/CS/HandBrake.Interop/Interop/Interfaces/IEncodeInstance.cs +++ b/win/CS/HandBrake.Interop/Interop/Interfaces/IEncodeInstance.cs @@ -27,6 +27,8 @@ namespace HandBrake.Interop.Interop.Interfaces /// </summary> event EventHandler<EncodeProgressEventArgs> EncodeProgress; + bool IsRemoteInstance { get; } + /// <summary> /// Initializes this instance. /// </summary> |