summaryrefslogtreecommitdiff
path: root/src/dcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dcp.h')
-rw-r--r--src/dcp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dcp.h b/src/dcp.h
index e2e2314f..0ee4a8fc 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -32,7 +32,7 @@
#include "certificates.h"
namespace xmlpp {
- class Node;
+ class Element;
}
/** @brief Namespace for everything in libdcp */
@@ -88,7 +88,7 @@ public:
void write_xml (bool, CertificateChain const &, std::string const &) const;
void write_to_assetmap (std::ostream& s) const;
- void write_to_pkl (std::ostream& s) const;
+ void write_to_pkl (xmlpp::Element* p) const;
private:
std::string _directory;
@@ -168,6 +168,8 @@ public:
*/
boost::signals2::signal<void (float)> Progress;
+ static void sign (xmlpp::Element* parent, CertificateChain const & certificates, std::string const & signer_key);
+
private:
/** Write the PKL file.