client/src/Iri.Modernisation.Data/Models/FactoryVideoLivre.cs
changeset 32 36302cc9688d
parent 30 644e3cd48034
child 36 b6df6fce6e5d
--- a/client/src/Iri.Modernisation.Data/Models/FactoryVideoLivre.cs	Fri Jan 15 11:30:56 2010 +0100
+++ b/client/src/Iri.Modernisation.Data/Models/FactoryVideoLivre.cs	Fri Jan 15 11:31:05 2010 +0100
@@ -18,7 +18,7 @@
         private static XDocument _configDoc; 
          public static VideoChapterDescription[] VideoChapterDescriptions {get;private set;}
          public static PolemicTypeDescription[] AnnotationDescriptions { get; private set; }
-
+         public static String VideoBookListPath;
          public static int NumberOfChapters
          {
              get
@@ -57,6 +57,7 @@
                 List<VideoChapterDescription> temp = new List<VideoChapterDescription>();
                 List<PolemicTypeDescription> temp_an = new List<PolemicTypeDescription>();
                 int nb = 0;
+                VideoBookListPath = _configDoc.Root.Attribute("VideoBookList").Value;
                 foreach (XElement XChapter in _configDoc.Root.Element("VideoBook").Elements())
                 {
                     temp.Add(new VideoChapterDescription(nb, XChapter.Attribute("name").Value, XChapter.Attribute("color").Value));