Try to warn if we're running the 32-bit version on 64-bit windows (WoW64) (#1569).
[dcpomatic.git] / src / lib / encrypted_ecinema_kdm.h
index ece1e3161b8ab003498ad3788a4c878055a3ed8e..c65620c8b2970de2a8a4529e37eb1fe458725f1e 100644 (file)
@@ -35,11 +35,16 @@ public:
        explicit EncryptedECinemaKDM (std::string xml);
 
        std::string as_xml () const;
+       void as_xml (boost::filesystem::path out) const;
 
        std::string id () const {
                return _id;
        }
 
+       std::string name () const {
+               return _name;
+       }
+
        dcp::Data key () const {
                return _content_key;
        }
@@ -47,9 +52,10 @@ public:
 private:
        friend class DecryptedECinemaKDM;
 
-       EncryptedECinemaKDM (std::string id, dcp::Key key, dcp::Certificate recipient);
+       EncryptedECinemaKDM (std::string id, std::string name, dcp::Key key, dcp::Certificate recipient);
 
        std::string _id;
+       std::string _name;
        /** encrypted content key */
        dcp::Data _content_key;
 };