summaryrefslogtreecommitdiffstats
path: root/win/C#/HandBrake.ApplicationServices/Parsing/Chapter.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-01-16 19:50:00 +0000
committersr55 <[email protected]>2011-01-16 19:50:00 +0000
commit95c87ada9f0cd75956fd9a7b9b2bd1978d5ed1da (patch)
treecb78de27a05345b78de8d920e7d0639e94d44b88 /win/C#/HandBrake.ApplicationServices/Parsing/Chapter.cs
parent01dec62bd9e0838de24860544869403da43e87e5 (diff)
WinGui:
- Switch to .NET 4 Client Profile (Far smaller download size than the full profile .NET 3.5 installer that is currently required if the user does not have .Net installed) - Import HandBrakeInterop library (by RandomEngy) - Added experimental LibScan:IScan service to use libhb for scanning via the interop library. This is automatically used if hb.dll is detected in HandBrake's folder, otherwise HandBrakeCLI is used for the scan. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3752 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/HandBrake.ApplicationServices/Parsing/Chapter.cs')
-rw-r--r--win/C#/HandBrake.ApplicationServices/Parsing/Chapter.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/win/C#/HandBrake.ApplicationServices/Parsing/Chapter.cs b/win/C#/HandBrake.ApplicationServices/Parsing/Chapter.cs
index 949b73f97..4ec76fa1c 100644
--- a/win/C#/HandBrake.ApplicationServices/Parsing/Chapter.cs
+++ b/win/C#/HandBrake.ApplicationServices/Parsing/Chapter.cs
@@ -16,6 +16,32 @@ namespace HandBrake.ApplicationServices.Parsing
public class Chapter
{
/// <summary>
+ /// Initializes a new instance of the <see cref="Chapter"/> class.
+ /// </summary>
+ public Chapter()
+ {
+ }
+
+ /// <summary>
+ /// Initializes a new instance of the <see cref="Chapter"/> class.
+ /// </summary>
+ /// <param name="number">
+ /// The number.
+ /// </param>
+ /// <param name="Name">
+ /// The name.
+ /// </param>
+ /// <param name="duration">
+ /// The duration.
+ /// </param>
+ public Chapter(int number, string Name, TimeSpan duration)
+ {
+ this.ChapterName = Name;
+ this.ChapterNumber = number;
+ this.Duration = duration;
+ }
+
+ /// <summary>
/// Gets or sets The number of this Chapter, in regards to it's parent Title
/// </summary>
public int ChapterNumber { get; set; }