summaryrefslogtreecommitdiff
path: root/src/cpl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-02-05 11:18:01 +0000
committerCarl Hetherington <cth@carlh.net>2014-02-05 11:18:01 +0000
commit9acb2e83ed4a39ece8d39dd479c160b79b02d7ab (patch)
tree9c597f01f907846b7c67fc72af07fad8ea4e72a5 /src/cpl.h
parent78c94420750c505e59d584c34b33acc953946c2a (diff)
Tidy up metadata handling.
Diffstat (limited to 'src/cpl.h')
-rw-r--r--src/cpl.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cpl.h b/src/cpl.h
index d28737e1..6af7fe56 100644
--- a/src/cpl.h
+++ b/src/cpl.h
@@ -24,6 +24,7 @@
#include "certificates.h"
#include "key.h"
#include "asset.h"
+#include "metadata.h"
#include <libxml++/libxml++.h>
#include <boost/shared_ptr.hpp>
#include <boost/function.hpp>
@@ -103,7 +104,6 @@ public:
void write_xml (
boost::filesystem::path file,
Standard standard,
- XMLMetadata,
boost::shared_ptr<const Signer>
) const;
@@ -117,8 +117,10 @@ protected:
private:
std::string _annotation_text; ///< <AnnotationText>
- std::string _issue_date; ///< <IssueDate>
- std::string _creator; ///< <Creator>
+ /** <Issuer>, <Creator> and <IssueDate>. These are grouped
+ * because they occur together in a few places.
+ */
+ XMLMetadata _metadata;
std::string _content_title_text; ///< <ContentTitleText>
ContentKind _content_kind; ///< <ContentKind>
std::string _content_version_id; ///< <Id> in <ContentVersion>