diff options
Diffstat (limited to 'win/C#/interop/Model/EncodeJob.cs')
-rw-r--r-- | win/C#/interop/Model/EncodeJob.cs | 69 |
1 files changed, 7 insertions, 62 deletions
diff --git a/win/C#/interop/Model/EncodeJob.cs b/win/C#/interop/Model/EncodeJob.cs index d454c6b30..53058a921 100644 --- a/win/C#/interop/Model/EncodeJob.cs +++ b/win/C#/interop/Model/EncodeJob.cs @@ -1,32 +1,14 @@ -// --------------------------------------------------------------------------------------------------------------------
-// <copyright file="EncodeJob.cs" company="HandBrake Project (http://handbrake.fr)">
-// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
-// </copyright>
-// <summary>
-// Defines the EncodeJob type.
-// </summary>
-// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Xml.Serialization;
-namespace HandBrake.Interop.Model
+namespace HandBrake.Interop
{
- using System;
- using System.Collections.Generic;
- using System.Xml.Serialization;
- using Encoding;
-
- /// <summary>
- /// An Encode Job
- /// </summary>
public class EncodeJob
{
- /// <summary>
- /// Gets or sets SourceType.
- /// </summary>
public SourceType SourceType { get; set; }
-
- /// <summary>
- /// Gets or sets SourcePath.
- /// </summary>
public string SourcePath { get; set; }
/// <summary>
@@ -38,56 +20,25 @@ namespace HandBrake.Interop.Model /// Gets or sets the angle to encode. 0 for default, 1+ for specified angle.
/// </summary>
public int Angle { get; set; }
-
- /// <summary>
- /// Gets or sets ChapterStart.
- /// </summary>
public int ChapterStart { get; set; }
-
- /// <summary>
- /// Gets or sets ChapterEnd.
- /// </summary>
public int ChapterEnd { get; set; }
/// <summary>
/// Gets or sets the list of chosen audio tracks (1-based)
/// </summary>
public List<int> ChosenAudioTracks { get; set; }
-
- /// <summary>
- /// Gets or sets Subtitles.
- /// </summary>
public Subtitles Subtitles { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether UseDefaultChapterNames.
- /// </summary>
public bool UseDefaultChapterNames { get; set; }
-
- /// <summary>
- /// Gets or sets CustomChapterNames.
- /// </summary>
public List<string> CustomChapterNames { get; set; }
- /// <summary>
- /// Gets or sets OutputPath.
- /// </summary>
public string OutputPath { get; set; }
- /// <summary>
- /// Gets or sets EncodingProfile.
- /// </summary>
public EncodingProfile EncodingProfile { get; set; }
- /// <summary>
- /// The length of video to encode.
- /// </summary>
+ // The length of video to encode.
[XmlIgnore]
public TimeSpan Length { get; set; }
- /// <summary>
- /// Gets or sets XmlLength.
- /// </summary>
[XmlElement("Length")]
public string XmlLength
{
@@ -95,12 +46,6 @@ namespace HandBrake.Interop.Model set { this.Length = TimeSpan.Parse(value); }
}
- /// <summary>
- /// Clone the Encode Job
- /// </summary>
- /// <returns>
- /// An EncodeJob Ojbect
- /// </returns>
public EncodeJob Clone()
{
EncodeJob clone = new EncodeJob
|