X-Git-Url: https://git.decadent.org.uk/gitweb/?p=videolink.git;a=blobdiff_plain;f=vob_list.hpp;fp=vob_list.hpp;h=aaa58b56e2c2fe4905c0e27ea361bbc3c1ce8cc1;hp=0000000000000000000000000000000000000000;hb=c13714f6498df33e02635421354f5fb88a60eb3d;hpb=d8d5c01a14ab3808a9c823996eb1b72d5c624807 diff --git a/vob_list.hpp b/vob_list.hpp new file mode 100644 index 0000000..aaa58b5 --- /dev/null +++ b/vob_list.hpp @@ -0,0 +1,27 @@ +// Copyright 2006 Ben Hutchings . +// See the file "COPYING" for licence details. + +#ifndef INC_VOB_LIST_HPP +#define INC_VOB_LIST_HPP + +#include +#include +#include + +struct vob_ref +{ + std::string file; // file name (absolute, resolved rel. to list) + std::string chapters; // chapters attribute, unmodified + std::string pause; // pause attribute, unmodified +}; + +typedef std::list vob_list; + +vob_list read_vob_list(const std::string & file_name); + +struct xml_error : public std::runtime_error +{ + xml_error(const std::string & path, int line, const std::string & message); +}; + +#endif // !INC_VOB_LIST_HPP