projects
/
libdcp.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
It builds again.
[libdcp.git]
/
test
/
subs_in_out.cc
1
#include <iostream>
2
#include "subtitle_content.h"
3
4
using namespace std;
5
6
int main (int argc, char* argv[])
7
{
8
if (argc < 2) {
9
cerr << "Syntax: " << argv[0] << " <subtitle file>\n";
10
exit (EXIT_FAILURE);
11
}
12
13
dcp::SubtitleContent s (argv[1]);
14
cout << s.xml_as_string ();
15
return 0;
16
}