Bump version
[libdcp.git] / src / asset_writer.h
index f9022899079973a5b08cbc227f9da332943aa8d6..183619d2cc1bfd3e9d6cc2bf793a274547aa89a1 100644 (file)
 #ifndef LIBDCP_ASSET_WRITER_H
 #define LIBDCP_ASSET_WRITER_H
 
+#include "types.h"
 #include <boost/filesystem.hpp>
 
 namespace ASDCP {
        class AESEncContext;
+       class HMACContext;
 }
 
 namespace dcp {
@@ -46,8 +48,12 @@ public:
        virtual ~AssetWriter ();
        virtual bool finalize ();
 
+       int64_t frames_written () const {
+               return _frames_written;
+       }
+
 protected:
-       AssetWriter (MXF* mxf, boost::filesystem::path file);
+       AssetWriter (MXF* mxf, boost::filesystem::path file, Standard standard);
 
        /** MXF that we are writing */
        MXF* _mxf;
@@ -62,6 +68,7 @@ protected:
        /** true if something has been written to this asset */
        bool _started;
        ASDCP::AESEncContext* _encryption_context;
+       ASDCP::HMACContext* _hmac_context;
 };
 
 }