summaryrefslogtreecommitdiff
path: root/src/dcp.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-08-12 23:26:10 +0100
committerCarl Hetherington <cth@carlh.net>2012-08-12 23:26:10 +0100
commita1a33941351365cc371f468c6c9c8f0cf8ca32d2 (patch)
tree07291db383d88e512b09450b26199b046028dff2 /src/dcp.h
parent916247147468aee47354ebb3088f47b8a56fcccf (diff)
Try to be recursive when examining DCP directories.
Diffstat (limited to 'src/dcp.h')
-rw-r--r--src/dcp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dcp.h b/src/dcp.h
index 3817913c..90369aa5 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -145,6 +145,14 @@ private:
*/
void write_assetmap (std::string cpl_uuid, int cpl_length, std::string pkl_uuid, int pkl_length) const;
+ struct Files {
+ std::string cpl;
+ std::string pkl;
+ std::string asset_map;
+ };
+
+ void scan (Files& files, std::string directory) const;
+
/** the directory that we are writing to */
std::string _directory;
/** the name of the DCP */