--- a/client/src/Iri.Modernisation.Data/Models/VideoChapter.cs Mon Nov 23 14:52:34 2009 +0100
+++ b/client/src/Iri.Modernisation.Data/Models/VideoChapter.cs Mon Nov 23 17:05:00 2009 +0100
@@ -11,6 +11,14 @@
using System.Collections.Generic;
namespace Iri.Modernisation.Data.Models
{
+ public enum VideoChapterType
+ {
+ Modernite=0,
+ Modernisation=1,
+ Postmodernite,
+ Ouverture
+ }
+
/// <summary>
/// Chapitre d'un VideoLivre
/// </summary>
@@ -22,6 +30,11 @@
public VideoBook Book {get;set;}
/// <summary>
+ /// Chapitre
+ /// </summary>
+ public VideoChapterType Type { get; set; }
+
+ /// <summary>
/// Titre du chapitre
/// </summary>
public String Title { get; set; }
@@ -45,9 +58,10 @@
/// Constructeur
/// </summary>
/// <param name="name">Nom du chaptire</param>
- public VideoChapter(VideoBook fromBook,String name)
+ public VideoChapter(VideoBook fromBook,String name,VideoChapterType type)
{
Book = fromBook;
+ Type = type;
Title = name;
Index = new List<SegmentIndex>();
Annotations = new List<Annotation>();