Add DCP::asset_map().
authorCarl Hetherington <cth@carlh.net>
Sun, 1 Jan 2023 20:14:18 +0000 (21:14 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 7 Jan 2023 21:45:45 +0000 (22:45 +0100)
src/dcp.h

index 9811b60d6e2a5f65ecbdb664803862ac3d1a796a..941df67cad91d793c0a339bbd640ee463481d84b 100644 (file)
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -190,6 +190,10 @@ public:
                return _asset_map->path();
        }
 
+       boost::optional<AssetMap> asset_map() const {
+               return _asset_map;
+       }
+
        static std::vector<boost::filesystem::path> directories_from_files (std::vector<boost::filesystem::path> files);
 
 private: