diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-17 01:39:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-17 01:39:45 +0100 |
| commit | 28ab65a9d625e03753cd40e22d9f991d59460a16 (patch) | |
| tree | 0e069ed40bb9b2c53edf45dcd10b05d1719e9519 /src/cpl.cc | |
| parent | 5eb0ff8f094517ab6d82751288a69c8fcea74eb1 (diff) | |
Use PKL types rather than file extensions.
Diffstat (limited to 'src/cpl.cc')
| -rw-r--r-- | src/cpl.cc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -270,6 +270,12 @@ CPL::resolve_refs (list<shared_ptr<Asset> > assets) string CPL::pkl_type (Standard standard) const { + return static_pkl_type (standard); +} + +string +CPL::static_pkl_type (Standard standard) +{ switch (standard) { case INTEROP: return "text/xml;asdcpKind=CPL"; |
