summaryrefslogtreecommitdiff
path: root/src/pkl.h
blob: 56cda9664f01fc5d4f086713f765a29de08ca5d3 (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;
	int64_t 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;
};
	
}