X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=generate_dvd.hpp;h=f77d7da1d4bdf9e59ed954e7eb42b11519af3d91;hb=a5e266131f57f8b891f03b5d6370171eed37dd54;hp=8ce8f7b89e97f1ef1285e640d00de990b3c5c5b4;hpb=3fb06bde35cdcd9864329517f4548e1c5f0ad97c;p=videolink.git diff --git a/generate_dvd.hpp b/generate_dvd.hpp index 8ce8f7b..f77d7da 100644 --- a/generate_dvd.hpp +++ b/generate_dvd.hpp @@ -10,6 +10,7 @@ #include #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 entries; }; - // Title definition. This is currently just an XML fragment - // consisting of one of more elements. It is included - // directly within the corresponding 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 menus; - std::vector titles; + std::vector<vob_list> titles; }; // Use dvdauthor to generate a DVD filesystem with the given contents.