summaryrefslogtreecommitdiff
path: root/src/lib/film.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-10-23 12:35:07 +0200
committerCarl Hetherington <cth@carlh.net>2025-10-23 12:35:09 +0200
commit0ae0428494f6f3d23ac8224561b73607f524b32c (patch)
treea8f48f3bec5b595cd7eaac5f168734d1b6f5293a /src/lib/film.h
parentce596021e11ea3b579f759436d66c43ac107d3d1 (diff)
Remove log handling from Film.
It should be the main UI's responsibility to set up dcpomatic_log, maybe writing it to the film's directory if it wants to.
Diffstat (limited to 'src/lib/film.h')
-rw-r--r--src/lib/film.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/film.h b/src/lib/film.h
index 8574c700f..08f639db9 100644
--- a/src/lib/film.h
+++ b/src/lib/film.h
@@ -109,13 +109,6 @@ public:
void send_dcp_to_tms();
- /** @return Logger.
- * It is safe to call this from any thread.
- */
- std::shared_ptr<Log> log() const {
- return _log;
- }
-
boost::filesystem::path file(boost::filesystem::path f) const;
boost::filesystem::path dir(boost::filesystem::path d, bool create = true) const;
@@ -486,8 +479,6 @@ private:
void check_reel_boundaries_for_atmos();
std::vector<dcpomatic::DCPTimePeriod> reels_for_type(ReelType type) const;
- /** Log to write to */
- std::shared_ptr<Log> _log;
std::shared_ptr<Playlist> _playlist;
/** Complete path to directory containing the film metadata;