From 080e8995a771354381ecad46b83d5a95309d81de Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 22 Mar 2026 01:10:22 +0100 Subject: Clarify ID in verification note. --- src/verify.h | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) (limited to 'src/verify.h') diff --git a/src/verify.h b/src/verify.h index ce097578..af84a77f 100644 --- a/src/verify.h +++ b/src/verify.h @@ -624,8 +624,9 @@ private: FRAME, COMPONENT, SIZE, - ID, - OTHER_ID, + LOAD_FONT_ID, + ASSET_ID, + OTHER_ASSET_ID, FRAME_RATE, CPL_ID, CALCULATED_HASH, @@ -683,22 +684,31 @@ public: return data(Data::SIZE); } - VerificationNote& set_id(std::string id) { - _data[Data::ID] = id; + VerificationNote& set_load_font_id(std::string id) { + _data[Data::LOAD_FONT_ID] = id; return *this; } - boost::optional id() const { - return data(Data::ID); + boost::optional load_font_id() const { + return data(Data::LOAD_FONT_ID); } - VerificationNote& set_other_id(std::string other_id) { - _data[Data::OTHER_ID] = other_id; + VerificationNote& set_asset_id(std::string id) { + _data[Data::ASSET_ID] = id; return *this; } - boost::optional other_id() const { - return data(Data::OTHER_ID); + boost::optional asset_id() const { + return data(Data::ASSET_ID); + } + + VerificationNote& set_other_asset_id(std::string other_id) { + _data[Data::OTHER_ASSET_ID] = other_id; + return *this; + } + + boost::optional other_asset_id() const { + return data(Data::OTHER_ASSET_ID); } VerificationNote& set_frame_rate(int frame_rate) { -- cgit v1.2.3