X-Git-Url: https://git.decadent.org.uk/gitweb/?p=videolink.git;a=blobdiff_plain;f=generate_dvd.hpp;h=91e8da8d5e808ec4e52eef5cf234483e1aaf6b36;hp=8ce8f7b89e97f1ef1285e640d00de990b3c5c5b4;hb=c5f98ff303d670f72a5d491a5f4e1989d2043219;hpb=3fb06bde35cdcd9864329517f4548e1c5f0ad97c diff --git a/generate_dvd.hpp b/generate_dvd.hpp index 8ce8f7b..91e8da8 100644 --- a/generate_dvd.hpp +++ b/generate_dvd.hpp @@ -1,4 +1,4 @@ -// Copyright 2005-6 Ben Hutchings . +// Copyright 2005-6 Ben Hutchings . // See the file "COPYING" for licence details. #ifndef INC_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.