summaryrefslogtreecommitdiff
path: root/src/lib/content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-01-27 23:20:35 +0100
committerCarl Hetherington <cth@carlh.net>2026-02-16 01:20:17 +0100
commit1f4f56b4d5e3d08be5ff823c9890a8b4e0af5967 (patch)
treec73cd840eea3b320c3307f4dcd3449fc4e6f1bd1 /src/lib/content.h
parentf015d6b314a6bfc8534e3e2c331d6edd5f817e25 (diff)
Separate some things out from the examination process.
Diffstat (limited to 'src/lib/content.h')
-rw-r--r--src/lib/content.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/content.h b/src/lib/content.h
index d036808c7..02973e8f7 100644
--- a/src/lib/content.h
+++ b/src/lib/content.h
@@ -93,6 +93,9 @@ public:
*/
virtual void examine(std::shared_ptr<const Film> film, std::shared_ptr<Job> job, bool tolerant);
+ /** Adapt anything about this content just before it's added to the given film */
+ virtual void prepare_for_add_to_film(std::shared_ptr<const Film>) {}
+
virtual void take_settings_from(std::shared_ptr<const Content> c);
/** @return Quick one-line summary of the content, as will be presented in the