/*
- Copyright (C) 2016 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2016-2021 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
files in the program, then also delete it here.
*/
+
/** @file src/atmos_asset_writer.h
- * @brief AtmosAssetWriter class.
+ * @brief AtmosAssetWriter class
*/
+
+#ifndef LIBDCP_ATMOS_ASSET_WRITER_H
+#define LIBDCP_ATMOS_ASSET_WRITER_H
+
+
#include "asset_writer.h"
#include "types.h"
#include "atmos_frame.h"
-#include <boost/shared_ptr.hpp>
+#include <memory>
#include <boost/filesystem.hpp>
+
namespace dcp {
+
class AtmosAsset;
+
/** @class AtmosAssetWriter
* @brief A helper class for writing to AtmosAssets.
*
class AtmosAssetWriter : public AssetWriter
{
public:
- void write (boost::shared_ptr<const AtmosFrame> frame);
+ void write (std::shared_ptr<const AtmosFrame> frame);
void write (uint8_t const * data, int size);
bool finalize ();
ASDCP headers
*/
struct ASDCPState;
- boost::shared_ptr<ASDCPState> _state;
+ std::shared_ptr<ASDCPState> _state;
AtmosAsset* _asset;
};
+
}
+
+
+#endif