diff options
Diffstat (limited to 'src/verify.h')
| -rw-r--r-- | src/verify.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/verify.h b/src/verify.h index 88b4d0b9..8f6ef18f 100644 --- a/src/verify.h +++ b/src/verify.h @@ -533,6 +533,7 @@ private: ID, OTHER_ID, FRAME_RATE, + CPL_ID, CALCULATED_HASH, REFERENCE_HASH }; @@ -632,6 +633,15 @@ public: return data<std::string>(Data::REFERENCE_HASH); } + VerificationNote& set_cpl_id(std::string id) { + _data[Data::CPL_ID] = id; + return *this; + } + + boost::optional<std::string> cpl_id() const { + return data<std::string>(Data::CPL_ID); + } + private: Type _type; Code _code; |
