summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Interop/Interop/Interfaces/IHandBrakeInstance.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.Interop/Interop/Interfaces/IHandBrakeInstance.cs')
-rw-r--r--win/CS/HandBrake.Interop/Interop/Interfaces/IHandBrakeInstance.cs39
1 files changed, 4 insertions, 35 deletions
diff --git a/win/CS/HandBrake.Interop/Interop/Interfaces/IHandBrakeInstance.cs b/win/CS/HandBrake.Interop/Interop/Interfaces/IHandBrakeInstance.cs
index 7714e5222..b6d46c80c 100644
--- a/win/CS/HandBrake.Interop/Interop/Interfaces/IHandBrakeInstance.cs
+++ b/win/CS/HandBrake.Interop/Interop/Interfaces/IHandBrakeInstance.cs
@@ -12,28 +12,17 @@ namespace HandBrake.Interop.Interop.Interfaces
using System;
using HandBrake.Interop.Interop.EventArgs;
- using HandBrake.Interop.Interop.Json.Encode;
using HandBrake.Interop.Interop.Json.Scan;
using HandBrake.Interop.Interop.Model.Preview;
/// <summary>
/// The Interface for HandBrakeInstance
/// </summary>
- public interface IHandBrakeInstance
+ public interface IHandBrakeInstance : IEncodeInstance
{
#region Events
/// <summary>
- /// Fires when an encode has completed.
- /// </summary>
- event EventHandler<EncodeCompletedEventArgs> EncodeCompleted;
-
- /// <summary>
- /// Fires for progress updates when encoding.
- /// </summary>
- event EventHandler<EncodeProgressEventArgs> EncodeProgress;
-
- /// <summary>
/// Fires when a scan has completed.
/// </summary>
event EventHandler<EventArgs> ScanCompleted;
@@ -105,24 +94,6 @@ namespace HandBrake.Interop.Interop.Interfaces
RawPreviewData GetPreview(PreviewSettings job, int previewNumber, bool deinterlace);
/// <summary>
- /// Pauses the current encode.
- /// </summary>
- void PauseEncode();
-
- /// <summary>
- /// Resumes a paused encode.
- /// </summary>
- void ResumeEncode();
-
- /// <summary>
- /// Starts an encode with the given job.
- /// </summary>
- /// <param name="jobToStart">
- /// The job to start.
- /// </param>
- void StartEncode(JsonEncodeObject jobToStart);
-
- /// <summary>
/// Starts a scan of the given path.
/// </summary>
/// <param name="path">
@@ -134,14 +105,12 @@ namespace HandBrake.Interop.Interop.Interfaces
/// <param name="minDuration">
/// The min Duration.
/// </param>
+ /// <param name="titleIndex">
+ /// The title Index.
+ /// </param>
void StartScan(string path, int previewCount, TimeSpan minDuration, int titleIndex);
/// <summary>
- /// Stops the current encode.
- /// </summary>
- void StopEncode();
-
- /// <summary>
/// Stop any running scans
/// </summary>
void StopScan();