From d4019480147bd6b478f8b067982c53251e5d6f15 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 17 Jun 2025 22:35:39 +0200 Subject: Add all DCP CPLs to the content list, and write CPL ID to SPLs instead of digest (#3040). --- src/lib/content_store.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lib/content_store.h') diff --git a/src/lib/content_store.h b/src/lib/content_store.h index d5a6336a5..c615a856e 100644 --- a/src/lib/content_store.h +++ b/src/lib/content_store.h @@ -24,11 +24,13 @@ class Content; + /** @class ContentStore - * @brief Parent for classes which store content and can return content with a given digest. + * @brief Parent for classes which store content and can return content with a given digest or CPL ID. */ class ContentStore { public: - virtual std::shared_ptr get (std::string digest) const = 0; + virtual std::shared_ptr get_by_digest(std::string digest) const = 0; + virtual std::shared_ptr get_by_cpl_id(std::string id) const = 0; }; -- cgit v1.2.3