Tidying.
[libdcp.git] / src / mono_picture_asset_writer.h
index a5799d2737ce6319bd55429d37d6fbf69ed4a9f8..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 <memory>
 #include <boost/utility.hpp>
 #include <stdint.h>
 #include <string>
 
+
 namespace dcp {
 
+
 /** @class MonoPictureAssetWriter
  *  @brief A helper class for writing to MonoPictureAssets
  *
@@ -59,8 +64,6 @@ namespace dcp {
 class MonoPictureAssetWriter : public PictureAssetWriter
 {
 public:
-       MonoPictureAssetWriter (PictureAsset *, boost::filesystem::path file, bool);
-
        FrameInfo write (uint8_t const *, int);
        void fake_write (int size);
        bool finalize ();
@@ -68,6 +71,8 @@ public:
 private:
        friend class MonoPictureAsset;
 
+       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
@@ -77,6 +82,8 @@ private:
        std::shared_ptr<ASDCPState> _state;
 };
 
+
 }
 
+
 #endif