Include trimming.
[libdcp.git] / src / decrypted_kdm.h
index 7bc9a217f2973f8361833d242064fe9dcf35c0ba..7db2937a0910e86cb128734b1a784d0dcdcdd0c2 100644 (file)
 #include "key.h"
 #include "local_time.h"
 #include "decrypted_kdm_key.h"
-#include "types.h"
 #include "certificate.h"
 #include <boost/filesystem.hpp>
 #include <boost/optional.hpp>
 
 
-class decrypted_kdm_test;
+struct decrypted_kdm_test;
 
 
 namespace dcp {
@@ -60,7 +59,7 @@ class DecryptedKDMKey;
 class EncryptedKDM;
 class CertificateChain;
 class CPL;
-class ReelMXF;
+class ReelFileAsset;
 
 
 /** @class DecryptedKDM
@@ -99,7 +98,7 @@ public:
         */
        DecryptedKDM (
                std::string cpl_id,
-               std::map<std::shared_ptr<const ReelMXF>, Key> keys,
+               std::map<std::shared_ptr<const ReelFileAsset>, Key> keys,
                LocalTime not_valid_before,
                LocalTime not_valid_after,
                std::string annotation_text,
@@ -173,7 +172,7 @@ public:
 
 private:
 
-       friend class ::decrypted_kdm_test;
+       friend struct ::decrypted_kdm_test;
 
        static void put_uuid (uint8_t ** d, std::string id);
        static std::string get_uuid (unsigned char ** p);