diff -r 185e3ab53a56 -r 12515e11b357 client/src/Iri.Modernisation.Data/Models/VideoChapter.cs --- 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 + } + /// /// Chapitre d'un VideoLivre /// @@ -22,6 +30,11 @@ public VideoBook Book {get;set;} /// + /// Chapitre + /// + public VideoChapterType Type { get; set; } + + /// /// Titre du chapitre /// public String Title { get; set; } @@ -45,9 +58,10 @@ /// Constructeur /// /// Nom du chaptire - public VideoChapter(VideoBook fromBook,String name) + public VideoChapter(VideoBook fromBook,String name,VideoChapterType type) { Book = fromBook; + Type = type; Title = name; Index = new List(); Annotations = new List();