Forward-declare grk_plugin stuff.
[dcpomatic.git] / src / lib / j2k_encoder.h
index 913beb5a91b5e0e9eb8bb8b5281b8bc021d0bdea..0dbe654a439730ff1d23f42c9dd4206a3a520592 100644 (file)
@@ -32,9 +32,6 @@
 #include "enum_indexed_vector.h"
 #include "event_history.h"
 #include "exception_store.h"
-#ifdef DCPOMATIC_GROK
-#include "grok/context.h"
-#endif
 #include "j2k_encoder_thread.h"
 #include "writer.h"
 #include <boost/optional.hpp>
@@ -52,6 +49,11 @@ class Film;
 class Job;
 class PlayerVideo;
 
+namespace grk_plugin {
+       struct DcpomaticContext;
+       struct GrokContext;
+}
+
 struct local_threads_created_and_destroyed;
 struct remote_threads_created_and_destroyed;
 struct frames_not_lost_when_threads_disappear;