/*
- Copyright (C) 2014-2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2019 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
files in the program, then also delete it here.
*/
+
/** @file src/reel_picture_asset.h
- * @brief ReelPictureAsset class.
+ * @brief ReelPictureAsset class
*/
+
#ifndef LIBDCP_REEL_PICTURE_ASSET_H
#define LIBDCP_REEL_PICTURE_ASSET_H
-#include "reel_mxf.h"
+
+#include "reel_encryptable_asset.h"
#include "reel_asset.h"
#include "picture_asset.h"
+
namespace dcp {
+
/** @class ReelPictureAsset
- * @brief Part of a Reel's description which refers to a picture asset.
+ * @brief Part of a Reel's description which refers to a picture asset
*/
-class ReelPictureAsset : public ReelAsset, public ReelMXF
+class ReelPictureAsset : public ReelAsset, public ReelEncryptableAsset
{
public:
- ReelPictureAsset ();
- ReelPictureAsset (boost::shared_ptr<PictureAsset> asset, int64_t entry_point);
- explicit ReelPictureAsset (boost::shared_ptr<const cxml::Node>);
+ ReelPictureAsset (std::shared_ptr<PictureAsset> asset, int64_t entry_point);
+ explicit ReelPictureAsset (std::shared_ptr<const cxml::Node>);
virtual xmlpp::Node* write_to_cpl (xmlpp::Node* node, Standard standard) const;
- virtual bool equals (boost::shared_ptr<const ReelAsset>, EqualityOptions, NoteHandler) const;
+ bool equals (std::shared_ptr<const ReelPictureAsset>, EqualityOptions, NoteHandler) const;
/** @return the PictureAsset that this object refers to */
- boost::shared_ptr<const PictureAsset> asset () const {
+ std::shared_ptr<const PictureAsset> asset () const {
return asset_of_type<const PictureAsset> ();
}
/** @return the PictureAsset that this object refers to */
- boost::shared_ptr<PictureAsset> asset () {
+ std::shared_ptr<PictureAsset> asset () {
return asset_of_type<PictureAsset> ();
}
Fraction _screen_aspect_ratio;
};
+
}
+
#endif