aboutsummaryrefslogtreecommitdiff
path: root/DvdLib/Ifo/Chapter.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2023-02-03 18:49:23 +0100
committerShadowghost <Ghost_of_Stone@web.de>2023-02-04 18:36:47 +0100
commit519709bf10e30a3666af100df4fcca206dcef498 (patch)
tree82eed199d4ca20cedeb7c9fa3db0977bb6dabd1b /DvdLib/Ifo/Chapter.cs
parent6bf34f8e22c6f72bde15cbb4b500fc6c4f3273b3 (diff)
Revert "Remove DvdLib (#9068)"
This reverts commit db1913b08fac0749133634efebd1ee7a7876147a.
Diffstat (limited to 'DvdLib/Ifo/Chapter.cs')
-rw-r--r--DvdLib/Ifo/Chapter.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/DvdLib/Ifo/Chapter.cs b/DvdLib/Ifo/Chapter.cs
new file mode 100644
index 000000000..e786cb553
--- /dev/null
+++ b/DvdLib/Ifo/Chapter.cs
@@ -0,0 +1,20 @@
+#pragma warning disable CS1591
+
+namespace DvdLib.Ifo
+{
+ public class Chapter
+ {
+ public ushort ProgramChainNumber { get; private set; }
+
+ public ushort ProgramNumber { get; private set; }
+
+ public uint ChapterNumber { get; private set; }
+
+ public Chapter(ushort pgcNum, ushort programNum, uint chapterNum)
+ {
+ ProgramChainNumber = pgcNum;
+ ProgramNumber = programNum;
+ ChapterNumber = chapterNum;
+ }
+ }
+}