diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-04-20 23:41:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-17 00:46:19 +0100 |
| commit | 2f6087e528c1a48fed0ac7166b1ff8704684c87a (patch) | |
| tree | dcffc9da0bc8ec3341a7e8679284531836f7192f /src/asset.h | |
| parent | b1a47060818175bf222da2ab11f7caec73f5a70c (diff) | |
Read PKL when reading DCP.
Diffstat (limited to 'src/asset.h')
| -rw-r--r-- | src/asset.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/asset.h b/src/asset.h index 143c6296..f69be5a1 100644 --- a/src/asset.h +++ b/src/asset.h @@ -40,6 +40,7 @@ #include "object.h" #include "types.h" +#include "pkl.h" #include <boost/filesystem.hpp> #include <boost/function.hpp> #include <boost/bind.hpp> @@ -77,11 +78,7 @@ public: */ void write_to_assetmap (xmlpp::Node* node, boost::filesystem::path root) const; - /** Write details of the asset to a PKL AssetList node. - * @param node Parent node. - * @param standard Standard to use. - */ - void write_to_pkl (xmlpp::Node* node, boost::filesystem::path root, Standard standard) const; + void add_to_pkl (boost::shared_ptr<PKL> pkl, boost::filesystem::path root) const; /** @return the most recent disk file used to read or write this asset, if there is one */ boost::optional<boost::filesystem::path> file () const { |
