summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-09 13:48:35 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-09 13:48:35 +0100
commit58c574239f98b03f253934d061d976bdb3e30899 (patch)
treeaaa2ce9f918185d1c33b343e47e51761fa697780 /src/lib/dcp_content.h
parent0dc52cd6e69890cd8a2c539e80389ea8bac5cc3c (diff)
Save and re-load DCP content.
Diffstat (limited to 'src/lib/dcp_content.h')
-rw-r--r--src/lib/dcp_content.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h
index 22b5fa08d..a6ef97400 100644
--- a/src/lib/dcp_content.h
+++ b/src/lib/dcp_content.h
@@ -17,6 +17,7 @@
*/
+#include <libcxml/cxml.h>
#include "video_content.h"
#include "single_stream_audio_content.h"
#include "subtitle_content.h"
@@ -25,6 +26,7 @@ class DCPContent : public VideoContent, public SingleStreamAudioContent, public
{
public:
DCPContent (boost::shared_ptr<const Film> f, boost::filesystem::path p);
+ DCPContent (boost::shared_ptr<const Film> f, cxml::ConstNodePtr, int version);
boost::shared_ptr<DCPContent> shared_from_this () {
return boost::dynamic_pointer_cast<DCPContent> (Content::shared_from_this ());
@@ -44,7 +46,7 @@ public:
private:
void read_directory (boost::filesystem::path);
-
- boost::filesystem::path _directory;
+
std::string _name;
+ boost::filesystem::path _directory;
};