summaryrefslogtreecommitdiffstats
path: root/win/C#/interop/Model/SourceSubtitle.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/interop/Model/SourceSubtitle.cs')
-rw-r--r--win/C#/interop/Model/SourceSubtitle.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/win/C#/interop/Model/SourceSubtitle.cs b/win/C#/interop/Model/SourceSubtitle.cs
new file mode 100644
index 000000000..edfb68bf7
--- /dev/null
+++ b/win/C#/interop/Model/SourceSubtitle.cs
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace HandBrake.Interop
+{
+ public class SourceSubtitle
+ {
+ /// <summary>
+ /// Gets or sets the 1-based subtitle track number. 0 means foriegn audio search.
+ /// </summary>
+ public int TrackNumber { get; set; }
+ public bool Default { get; set; }
+ public bool Forced { get; set; }
+ public bool BurnedIn { get; set; }
+
+ public SourceSubtitle Clone()
+ {
+ return new SourceSubtitle
+ {
+ TrackNumber = this.TrackNumber,
+ Default = this.Default,
+ Forced = this.Forced,
+ BurnedIn = this.BurnedIn
+ };
+ }
+ }
+}