diff options
Diffstat (limited to 'src/picture_asset.h')
| -rw-r--r-- | src/picture_asset.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/picture_asset.h b/src/picture_asset.h index 011dea87..236eca22 100644 --- a/src/picture_asset.h +++ b/src/picture_asset.h @@ -73,9 +73,14 @@ public: /** Create a new PictureAsset with a given edit rate and standard */ explicit PictureAsset (Fraction edit_rate, Standard standard); + enum class Behaviour { + OVERWRITE_EXISTING, + MAKE_NEW + }; + virtual std::shared_ptr<PictureAssetWriter> start_write ( boost::filesystem::path file, - bool overwrite + Behaviour behaviour ) = 0; Size size () const { |
