summaryrefslogtreecommitdiff
path: root/src/lib/text_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-21 22:56:49 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-21 22:56:49 +0100
commita461561a21f02b7a33acba9d74db5076b37ef05e (patch)
treef9b0ce432a7bcefd91ea8c0731a299c11683d459 /src/lib/text_decoder.h
parent78625ddeddb0a19910d8ff44e8f1e983370d2842 (diff)
White space: text_decoder.{cc,h}
Diffstat (limited to 'src/lib/text_decoder.h')
-rw-r--r--src/lib/text_decoder.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/lib/text_decoder.h b/src/lib/text_decoder.h
index 26248ef06..8afe9fae4 100644
--- a/src/lib/text_decoder.h
+++ b/src/lib/text_decoder.h
@@ -27,7 +27,6 @@
#include "decoder.h"
#include "decoder_part.h"
#include "rect.h"
-#include "content_text.h"
#include "types.h"
#include <dcp/subtitle_standard.h>
#include <dcp/text_string.h>
@@ -44,25 +43,25 @@ class Image;
class TextDecoder : public DecoderPart
{
public:
- TextDecoder (Decoder* parent, std::shared_ptr<const TextContent>);
+ TextDecoder(Decoder* parent, std::shared_ptr<const TextContent>);
- boost::optional<dcpomatic::ContentTime> position (std::shared_ptr<const Film>) const override {
+ boost::optional<dcpomatic::ContentTime> position(std::shared_ptr<const Film>) const override {
return _position;
}
- void emit_bitmap_start (ContentBitmapText const& bitmap);
- void emit_bitmap (dcpomatic::ContentTimePeriod period, std::shared_ptr<const Image> image, dcpomatic::Rect<double> rect);
+ void emit_bitmap_start(ContentBitmapText const& bitmap);
+ void emit_bitmap(dcpomatic::ContentTimePeriod period, std::shared_ptr<const Image> image, dcpomatic::Rect<double> rect);
void emit_plain_start(dcpomatic::ContentTime from, std::vector<dcp::TextString> s, dcp::SubtitleStandard valign_standard);
- void emit_plain_start (dcpomatic::ContentTime from, sub::Subtitle const & subtitle);
+ void emit_plain_start(dcpomatic::ContentTime from, sub::Subtitle const & subtitle);
void emit_plain(dcpomatic::ContentTimePeriod period, std::vector<dcp::TextString> s, dcp::SubtitleStandard valign_standard);
- void emit_plain (dcpomatic::ContentTimePeriod period, sub::Subtitle const & subtitle);
- void emit_stop (dcpomatic::ContentTime to);
+ void emit_plain(dcpomatic::ContentTimePeriod period, sub::Subtitle const & subtitle);
+ void emit_stop(dcpomatic::ContentTime to);
- void maybe_set_position (dcpomatic::ContentTime position);
+ void maybe_set_position(dcpomatic::ContentTime position);
- void seek () override;
+ void seek() override;
- std::shared_ptr<const TextContent> content () const {
+ std::shared_ptr<const TextContent> content() const {
return _content;
}