From: Carl Hetherington Date: Sun, 9 Jul 2023 21:25:36 +0000 (+0200) Subject: Tidy up some includes / forward declarations. X-Git-Tag: v2.17.9~49 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=73b289a5048af5069204860e2f6608523f6a70a6;p=dcpomatic.git Tidy up some includes / forward declarations. --- diff --git a/src/lib/grok/context.h b/src/lib/grok/context.h index cb913f58d..da2fd78de 100644 --- a/src/lib/grok/context.h +++ b/src/lib/grok/context.h @@ -22,6 +22,7 @@ #include "../config.h" #include "../dcp_video.h" +#include "../film.h" #include "../log.h" #include "../dcpomatic_log.h" #include "../writer.h" diff --git a/src/lib/j2k_encoder.h b/src/lib/j2k_encoder.h index 433a0498f..840602dbb 100644 --- a/src/lib/j2k_encoder.h +++ b/src/lib/j2k_encoder.h @@ -27,10 +27,9 @@ * @brief J2KEncoder class. */ -#include "grok/context.h" +#include "grok/context.h" #include "cross.h" -#include "dcp_video.h" #include "enum_indexed_vector.h" #include "event_history.h" #include "exception_store.h" @@ -43,6 +42,8 @@ #include #include + +class DCPVideo; class EncodeServerDescription; class Film; class Job;