blob: e6cb2f152a2ad06a5a3436ac3bcb2c3baac34828 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SrtSubtitle.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 SrtSubtitle type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace HandBrake.Interop.Model
{
/// <summary>
/// A Srt Subtitle
/// </summary>
public class SrtSubtitle
{
/// <summary>
/// Gets or sets a value indicating whether Default.
/// </summary>
public bool Default { get; set; }
/// <summary>
/// Gets or sets FileName.
/// </summary>
public string FileName { get; set; }
/// <summary>
/// Gets or sets LanguageCode.
/// </summary>
public string LanguageCode { get; set; }
/// <summary>
/// Gets or sets CharacterCode.
/// </summary>
public string CharacterCode { get; set; }
/// <summary>
/// Gets or sets Offset.
/// </summary>
public int Offset { get; set; }
/// <summary>
/// Close the SRT Subtitle object
/// </summary>
/// <returns>
/// a SrtSubtitle
/// </returns>
public SrtSubtitle Clone()
{
return new SrtSubtitle
{
Default = this.Default,
FileName = this.FileName,
LanguageCode = this.LanguageCode,
CharacterCode = this.CharacterCode,
Offset = this.Offset
};
}
}
}
|