diff options
author | brianmario <[email protected]> | 2007-07-18 17:40:13 +0000 |
---|---|---|
committer | brianmario <[email protected]> | 2007-07-18 17:40:13 +0000 |
commit | cdac5d3a33743512011783afc9dd7f90c4f3a762 (patch) | |
tree | de665fe36440d25486f240148c10a5dee250709a /win/C#/Parsing/Chapter.cs | |
parent | b369e49dd79586f06af713ae4398f8e7c6c3eb6e (diff) |
WinGui:
added some more source comments
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@710 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Parsing/Chapter.cs')
-rw-r--r-- | win/C#/Parsing/Chapter.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/win/C#/Parsing/Chapter.cs b/win/C#/Parsing/Chapter.cs index c74f0d56e..c824fcd68 100644 --- a/win/C#/Parsing/Chapter.cs +++ b/win/C#/Parsing/Chapter.cs @@ -5,9 +5,15 @@ using System.IO; namespace Handbrake.Parsing
{
+ /// <summary>
+ /// An object representing a Chapter aosciated with a Title, in a DVD
+ /// </summary>
public class Chapter
{
private int m_chapterNumber;
+ /// <summary>
+ /// The number of this Chapter, in regards to it's parent Title
+ /// </summary>
public int ChapterNumber
{
get
@@ -17,6 +23,9 @@ namespace Handbrake.Parsing }
private TimeSpan m_duration;
+ /// <summary>
+ /// The length in time this Chapter spans
+ /// </summary>
public TimeSpan Duration
{
get
@@ -25,6 +34,10 @@ namespace Handbrake.Parsing }
}
+ /// <summary>
+ /// Override of the ToString method to make this object easier to use in the UI
+ /// </summary>
+ /// <returns>A string formatted as: {chapter #}</returns>
public override string ToString()
{
return this.m_chapterNumber.ToString();
|