File: vob_list.hpp

package info (click to toggle)
videolink 1.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 368 kB
  • ctags: 502
  • sloc: cpp: 3,210; ansic: 880; makefile: 121
file content (27 lines) | stat: -rw-r--r-- 669 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2006 Ben Hutchings <ben@decadent.org.uk>.
// See the file "COPYING" for licence details.

#ifndef INC_VOB_LIST_HPP
#define INC_VOB_LIST_HPP

#include <list>
#include <stdexcept>
#include <string>

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_ref> 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