diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-05-04 23:02:45 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-05-06 20:15:16 +0200 |
| commit | ca56871d4860b8ead384c410fe374c2fa993f88f (patch) | |
| tree | 66550be54fafd67b71bd8f91b3cd105213a31b58 /src/lib/kdm_with_metadata.h | |
| parent | 36ce958a516567d8481163692c028a88c6ce0df7 (diff) | |
Add KDMWithMetadataPtr typedef
Diffstat (limited to 'src/lib/kdm_with_metadata.h')
| -rw-r--r-- | src/lib/kdm_with_metadata.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/lib/kdm_with_metadata.h b/src/lib/kdm_with_metadata.h index 8d6d61daa..19af0356f 100644 --- a/src/lib/kdm_with_metadata.h +++ b/src/lib/kdm_with_metadata.h @@ -46,15 +46,20 @@ public: virtual void kdm_as_xml (boost::filesystem::path out) const = 0; virtual std::string kdm_id () const = 0; - static int write_files ( - std::list<boost::shared_ptr<KDMWithMetadata> > screen_kdms, boost::filesystem::path directory, - dcp::NameFormat name_format, dcp::NameFormat::Map name_values, - boost::function<bool (boost::filesystem::path)> confirm_overwrite - ); - boost::shared_ptr<dcpomatic::Screen> screen; }; + +typedef boost::shared_ptr<KDMWithMetadata> KDMWithMetadataPtr; + + +int write_files ( + std::list<KDMWithMetadataPtr> screen_kdms, boost::filesystem::path directory, + dcp::NameFormat name_format, dcp::NameFormat::Map name_values, + boost::function<bool (boost::filesystem::path)> confirm_overwrite + ); + + class DCPKDMWithMetadata : public KDMWithMetadata { public: |
