Add new write() method.
[libdcp.git] / src / mono_picture_asset_writer.h
index dcea0294022a57e0e1bede0535e009fd4b8920ba..9dffaa24799f25489cc476727fa62ce902db3013 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of libdcp.
 
     files in the program, then also delete it here.
 */
 
+
 /** @file  src/mono_picture_asset_writer.h
  *  @brief MonoPictureAssetWriter class
  */
 
+
 #ifndef LIBDCP_MONO_PICTURE_ASSET_WRITER_H
 #define LIBDCP_MONO_PICTURE_ASSET_WRITER_H
 
+
 #include "picture_asset_writer.h"
-#include <boost/shared_ptr.hpp>
+#include <memory>
 #include <boost/utility.hpp>
 #include <stdint.h>
 #include <string>
 
+
 namespace dcp {
 
+
 /** @class MonoPictureAssetWriter
  *  @brief A helper class for writing to MonoPictureAssets
  *
@@ -66,17 +71,19 @@ public:
 private:
        friend class MonoPictureAsset;
 
-       MonoPictureAssetWriter (PictureAsset *, boost::filesystem::path file, Standard standard, bool);
+       MonoPictureAssetWriter (PictureAsset* a, boost::filesystem::path file, bool);
+
        void start (uint8_t const *, int);
 
        /* do this with an opaque pointer so we don't have to include
           ASDCP headers
        */
-
        struct ASDCPState;
-       boost::shared_ptr<ASDCPState> _state;
+       std::shared_ptr<ASDCPState> _state;
 };
 
+
 }
 
+
 #endif