DCP (DCP const&) = delete;
DCP& operator= (DCP const&) = delete;
+ DCP (DCP &&);
+ DCP& operator= (DCP &&);
+
/** Read a DCP. This method does not do any deep checking of the DCP's validity, but
* if it comes across any bad things it will do one of two things.
*
return _pkls;
}
- boost::optional<boost::filesystem::path> asset_map_path() {
+ boost::optional<boost::filesystem::path> asset_map_file() const {
if (!_asset_map) {
return {};
}
- return _asset_map->path();
+ return _asset_map->file();
+ }
+
+ boost::optional<AssetMap> asset_map() const {
+ return _asset_map;
}
static std::vector<boost::filesystem::path> directories_from_files (std::vector<boost::filesystem::path> files);