summaryrefslogtreecommitdiff
path: root/src/lib/text_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-11-07 03:03:29 +0100
committerCarl Hetherington <cth@carlh.net>2021-11-22 23:59:43 +0100
commit0254f2d12acb2ff8d770b4e47dc15599d145fe17 (patch)
treef7240c24914ce89920f5f36636f2d771a417798c /src/lib/text_decoder.h
parent0060e0f1969823e4329b15a92e130c8790a2e9d5 (diff)
Put Image into the dcpomatic namespace.
Diffstat (limited to 'src/lib/text_decoder.h')
-rw-r--r--src/lib/text_decoder.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/text_decoder.h b/src/lib/text_decoder.h
index d1355afb0..d0cadf675 100644
--- a/src/lib/text_decoder.h
+++ b/src/lib/text_decoder.h
@@ -36,7 +36,9 @@ namespace sub {
class Subtitle;
}
-class Image;
+namespace dcpomatic {
+ class Image;
+}
class TextDecoder : public DecoderPart
@@ -52,8 +54,8 @@ public:
return _position;
}
- void emit_bitmap_start (dcpomatic::ContentTime from, std::shared_ptr<const Image> image, dcpomatic::Rect<double> rect);
- void emit_bitmap (dcpomatic::ContentTimePeriod period, std::shared_ptr<const Image> image, dcpomatic::Rect<double> rect);
+ void emit_bitmap_start (dcpomatic::ContentTime from, std::shared_ptr<const dcpomatic::Image> image, dcpomatic::Rect<double> rect);
+ void emit_bitmap (dcpomatic::ContentTimePeriod period, std::shared_ptr<const dcpomatic::Image> image, dcpomatic::Rect<double> rect);
void emit_plain_start (dcpomatic::ContentTime from, std::list<dcp::SubtitleString> s);
void emit_plain_start (dcpomatic::ContentTime from, sub::Subtitle const & subtitle);
void emit_plain (dcpomatic::ContentTimePeriod period, std::list<dcp::SubtitleString> s);