summaryrefslogtreecommitdiffstats
path: root/win/C#/interop/Model/SrtSubtitle.cs
blob: 199fe6ac6653a1cb3ce25c30cd6eb84a36aae693 (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
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
            };
        }
    }
}