diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-13 14:20:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-13 14:20:36 +0100 |
| commit | 797916ae28d976f3c5be62d37b45864219af6098 (patch) | |
| tree | a9bf9231987085c0eb9b6c3ce7427e1489929ec8 /src/asset_map.h | |
| parent | d77d0d1bd972f6343752ca45a3d5e0a0924e2d50 (diff) | |
Use libcxml. Lump all static configuration flags into one.
Diffstat (limited to 'src/asset_map.h')
| -rw-r--r-- | src/asset_map.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/asset_map.h b/src/asset_map.h index 8cf89b4b..e7ba6978 100644 --- a/src/asset_map.h +++ b/src/asset_map.h @@ -23,18 +23,18 @@ #include <stdint.h> #include <boost/shared_ptr.hpp> -#include "xml.h" +#include <libcxml/cxml.h> namespace libdcp { /** @class Chunk * @brief A simple parser for and representation of a \<Chunk\> node within an asset map. */ -class Chunk : public XMLNode +class Chunk { public: Chunk (); - Chunk (xmlpp::Node const * node); + Chunk (boost::shared_ptr<const cxml::Node> node); std::string path; int64_t volume_index; @@ -45,11 +45,11 @@ public: /** @class AssetMapAsset * @brief A simple parser for and representation of an \<AssetMap\> node within an asset map. */ -class AssetMapAsset : public XMLNode +class AssetMapAsset { public: AssetMapAsset (); - AssetMapAsset (xmlpp::Node const * node); + AssetMapAsset (boost::shared_ptr<const cxml::Node> node); std::string id; std::string packing_list; @@ -59,7 +59,7 @@ public: /** @class AssetMap * @brief A simple parser for and representation of an asset map file. */ -class AssetMap : public XMLFile +class AssetMap { public: AssetMap (std::string file); |
