diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-06-17 22:35:39 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-07-03 22:46:34 +0200 |
| commit | d4019480147bd6b478f8b067982c53251e5d6f15 (patch) | |
| tree | 9cf10f9655b7ef332d3362da32eba4000cd1fe4d /src/lib/content_store.h | |
| parent | b4c7d661a2c7b072d18e82129ff0a31a99ba5081 (diff) | |
Add all DCP CPLs to the content list, and write CPL ID to SPLs instead of digest (#3040).
Diffstat (limited to 'src/lib/content_store.h')
| -rw-r--r-- | src/lib/content_store.h | 6 |
1 files changed, 4 insertions, 2 deletions
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<Content> get (std::string digest) const = 0; + virtual std::shared_ptr<Content> get_by_digest(std::string digest) const = 0; + virtual std::shared_ptr<Content> get_by_cpl_id(std::string id) const = 0; }; |
