summaryrefslogtreecommitdiff
path: root/src/atmos_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-17 01:39:45 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-17 01:39:45 +0100
commit28ab65a9d625e03753cd40e22d9f991d59460a16 (patch)
tree0e069ed40bb9b2c53edf45dcd10b05d1719e9519 /src/atmos_asset.h
parent5eb0ff8f094517ab6d82751288a69c8fcea74eb1 (diff)
Use PKL types rather than file extensions.
Diffstat (limited to 'src/atmos_asset.h')
-rw-r--r--src/atmos_asset.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/atmos_asset.h b/src/atmos_asset.h
index 8e9190c8..61f94055 100644
--- a/src/atmos_asset.h
+++ b/src/atmos_asset.h
@@ -51,7 +51,10 @@ public:
boost::shared_ptr<AtmosAssetWriter> start_write (boost::filesystem::path file);
boost::shared_ptr<AtmosAssetReader> start_read () const;
- std::string pkl_type (Standard) const;
+ static std::string static_pkl_type (Standard);
+ std::string pkl_type (Standard s) const {
+ return static_pkl_type (s);
+ }
Fraction edit_rate () const {
return _edit_rate;