4th parameter of time is ticks (1 tick = 4ms) not milliseconds
[libdcp.git] / src / pkl.h
index 2b58c590e0b3866b532c3413785514da2083bd7b..8c64f43bb55a39d42739b5dc7347fd6c1296eea2 100644 (file)
--- a/src/pkl.h
+++ b/src/pkl.h
@@ -12,8 +12,9 @@ public:
        std::string id;
        std::string annotation_text;
        std::string hash;
-       int size;
+       int64_t size;
        std::string type;
+       std::string original_file_name;
 };
 
 class PKL : public XMLFile
@@ -21,6 +22,8 @@ class PKL : public XMLFile
 public:
        PKL (std::string file);
 
+       boost::shared_ptr<PKLAsset> asset_from_id (std::string id) const;
+
        std::string id;
        std::string annotation_text;
        std::string issue_date;