diff options
author | sr55 <[email protected]> | 2010-06-04 18:36:11 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-06-04 18:36:11 +0000 |
commit | 73177393028b107b844b69e540b9aa29310e57ac (patch) | |
tree | 713ead7ebc1cec2e68330574bb54679486000790 /win/C#/interop/Model/SrtSubtitle.cs | |
parent | 6141bbf563d067e4c2574f85871f1da4e1b664f2 (diff) |
WinGui:
- HandBrakeInterop Project. This can be used to tie into libhb.dll with C#. Thanks to RandomEdgy for writing this.
- Made a few minor changes to this source to make most of the libhb stuff internal to the library only. Added a 2008 project file. (This won't compile yet)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3352 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/interop/Model/SrtSubtitle.cs')
-rw-r--r-- | win/C#/interop/Model/SrtSubtitle.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/win/C#/interop/Model/SrtSubtitle.cs b/win/C#/interop/Model/SrtSubtitle.cs new file mode 100644 index 000000000..199fe6ac6 --- /dev/null +++ b/win/C#/interop/Model/SrtSubtitle.cs @@ -0,0 +1,28 @@ +using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace HandBrake.Interop
+{
+ public class SrtSubtitle
+ {
+ public bool Default { get; set; }
+ public string FileName { get; set; }
+ public string LanguageCode { get; set; }
+ public string CharacterCode { get; set; }
+ public int Offset { get; set; }
+
+ public SrtSubtitle Clone()
+ {
+ return new SrtSubtitle
+ {
+ Default = this.Default,
+ FileName = this.FileName,
+ LanguageCode = this.LanguageCode,
+ CharacterCode = this.CharacterCode,
+ Offset = this.Offset
+ };
+ }
+ }
+}
|