X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fmono_picture_asset.h;h=625d6ac8fecb9503b7c0c07b332cdc1175e79e1d;hb=20e3e4c2a7a91e45740987a702f5d4c1ea2f9030;hp=505d3c20923a9f2292308d2847ddab8e2846ad93;hpb=6f28eb4948be29bb0c273e93bbb161d14e8e071f;p=libdcp.git diff --git a/src/mono_picture_asset.h b/src/mono_picture_asset.h index 505d3c20..625d6ac8 100644 --- a/src/mono_picture_asset.h +++ b/src/mono_picture_asset.h @@ -70,17 +70,18 @@ public: /** Start a progressive write to a MonoPictureAsset. * @path file File to write to. - * @path overwrite true to overwrite an existing file; for use when continuing a write which - * previously failed. If in doubt, use false here. + * @path behaviour OVERWRITE_EXISTING to overwrite and potentially add to an existing file + * (after a write previously failed), MAKE_NEW to create a new file. + * If in doubt, use MAKE_NEW here. */ - std::shared_ptr start_write (boost::filesystem::path file, bool overwrite); + std::shared_ptr start_write(boost::filesystem::path file, Behaviour behaviour) override; std::shared_ptr start_read () const; bool equals ( std::shared_ptr other, EqualityOptions opt, NoteHandler note - ) const; + ) const override; private: std::string cpl_node_name () const;