diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-03-22 01:10:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-03-22 01:10:22 +0100 |
| commit | 080e8995a771354381ecad46b83d5a95309d81de (patch) | |
| tree | 220e36d49ac4e40605bbfd8a115a9adfe7965f19 /src/verify.h | |
| parent | 4700724da0aaf27aa43e4809d263c0fc00a8be9f (diff) | |
Clarify ID in verification note.
Diffstat (limited to 'src/verify.h')
| -rw-r--r-- | src/verify.h | 30 |
1 files changed, 20 insertions, 10 deletions
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<int>(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<std::string> id() const { - return data<std::string>(Data::ID); + boost::optional<std::string> load_font_id() const { + return data<std::string>(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<std::string> other_id() const { - return data<std::string>(Data::OTHER_ID); + boost::optional<std::string> asset_id() const { + return data<std::string>(Data::ASSET_ID); + } + + VerificationNote& set_other_asset_id(std::string other_id) { + _data[Data::OTHER_ASSET_ID] = other_id; + return *this; + } + + boost::optional<std::string> other_asset_id() const { + return data<std::string>(Data::OTHER_ASSET_ID); } VerificationNote& set_frame_rate(int frame_rate) { |
