summaryrefslogtreecommitdiff
path: root/src/pkl.h
blob: 2b58c590e0b3866b532c3413785514da2083bd7b (plain)
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
28
29
30
31
32
#include <boost/shared_ptr.hpp>
#include "xml.h"

namespace libdcp {

class PKLAsset : public XMLNode
{
public:
	PKLAsset () {}
	PKLAsset (xmlpp::Node const * node);

	std::string id;
	std::string annotation_text;
	std::string hash;
	int size;
	std::string type;
};

class PKL : public XMLFile
{
public:
	PKL (std::string file);

	std::string id;
	std::string annotation_text;
	std::string issue_date;
	std::string issuer;
	std::string creator;
	std::list<boost::shared_ptr<PKLAsset> > assets;
};
	
}