]> git.decadent.org.uk Git - videolink.git/blobdiff - generate_dvd.hpp
Moved xml_escape into a separate file.
[videolink.git] / generate_dvd.hpp
index 8ce8f7b89e97f1ef1285e640d00de990b3c5c5b4..f77d7da1d4bdf9e59ed954e7eb42b11519af3d91 100644 (file)
@@ -10,6 +10,7 @@
 #include <boost/shared_ptr.hpp>
 
 #include "temp_file.hpp"
+#include "vob_list.hpp"
 
 // Description of menus and titles to go on a DVD.
 
@@ -54,21 +55,8 @@ struct dvd_contents
        std::vector<pgc_ref> entries;
     };
 
-    // Title definition.  This is currently just an XML fragment
-    // consisting of one of more <vob> elements.  It is included
-    // directly within the corresponding <pgc> element in the file
-    // passed to dvdauthor.
-    struct title
-    {
-       explicit title(const std::string & vob_list)
-               : vob_list(vob_list)
-           {}
-
-       std::string vob_list;
-    };
-
     std::vector<menu> menus;
-    std::vector<title> titles;
+    std::vector<vob_list> titles;
 };
 
 // Use dvdauthor to generate a DVD filesystem with the given contents.