summaryrefslogtreecommitdiff
path: root/src/lib/types.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-28 23:25:11 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-28 23:25:11 +0100
commit93439dbc6d93dafd88e80d51d6473c8d97aa02c7 (patch)
tree60696c8c2e35a7035800aa2b8b4becdd56b339a8 /src/lib/types.h
parent487b34e3dfdcbeea608aa89d4999c6f201a74583 (diff)
Modify KDM generation to work with CPLs rather than DCPs, and allow
user to specify a particular CPL to use. Tidy up the KDM dialog a bit.
Diffstat (limited to 'src/lib/types.h')
-rw-r--r--src/lib/types.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/types.h b/src/lib/types.h
index 3fab302fc..4eb3d927e 100644
--- a/src/lib/types.h
+++ b/src/lib/types.h
@@ -138,6 +138,21 @@ struct Crop
void as_xml (xmlpp::Node *) const;
};
+struct CPLSummary
+{
+ CPLSummary (std::string d, std::string i, std::string a, boost::filesystem::path f)
+ : dcp_directory (d)
+ , cpl_id (i)
+ , cpl_annotation_text (a)
+ , cpl_file (f)
+ {}
+
+ std::string dcp_directory;
+ std::string cpl_id;
+ std::string cpl_annotation_text;
+ boost::filesystem::path cpl_file;
+};
+
extern bool operator== (Crop const & a, Crop const & b);
extern bool operator!= (Crop const & a, Crop const & b);