summaryrefslogtreecommitdiff
path: root/src/lib/types.h
diff options
context:
space:
mode:
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);