From df17bbd25da69fc38eb2dcd8b4a2531cf0bab0bc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 23 Jul 2018 11:20:12 +0100 Subject: More automated renaming. ActiveCaptions -> ActiveText BitmapCaption -> BitmapText ContentCaption -> ContentText ContentTextCaption -> ContentStringText TextCaptionFileContent -> StringTextFileContent TextCaptionFileDecoder -> StringTextFileDecoder TextCaptionFile -> StringTextFile TextCaption -> StringText PlayerCaption -> PlayerText CaptionContent -> TextContent CaptionDecoder -> TextDecoder CaptionPanel -> TextPanel CaptionView -> TextView CaptionAppearanceDialog -> SubtitleAppearanceDialog CaptionType -> TextType --- src/lib/player.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/lib/player.h') diff --git a/src/lib/player.h b/src/lib/player.h index c086b9697..280373738 100644 --- a/src/lib/player.h +++ b/src/lib/player.h @@ -21,9 +21,9 @@ #ifndef DCPOMATIC_PLAYER_H #define DCPOMATIC_PLAYER_H -#include "player_caption.h" -#include "active_captions.h" -#include "content_caption.h" +#include "player_text.h" +#include "active_text.h" +#include "content_text.h" #include "film.h" #include "content.h" #include "position_image.h" @@ -86,7 +86,7 @@ public: DCPTime content_time_to_dcp (boost::shared_ptr content, ContentTime t); - std::list closed_captions_for_frame (DCPTime time) const; + std::list closed_captions_for_frame (DCPTime time) const; /** Emitted when something has changed such that if we went back and emitted * the last frame again it would look different. This is not emitted after @@ -103,7 +103,7 @@ public: /** Emitted when a caption is ready. This signal may be emitted considerably * after the corresponding Video. */ - boost::signals2::signal Caption; + boost::signals2::signal Caption; private: friend class PlayerWrapper; @@ -118,7 +118,7 @@ private: void film_changed (Film::Property); void playlist_changed (); void playlist_content_changed (boost::weak_ptr, int, bool); - std::list transform_bitmap_captions (std::list) const; + std::list transform_bitmap_captions (std::list) const; Frame dcp_to_content_video (boost::shared_ptr piece, DCPTime t) const; DCPTime content_video_to_dcp (boost::shared_ptr piece, Frame f) const; Frame dcp_to_resampled_audio (boost::shared_ptr piece, DCPTime t) const; @@ -128,9 +128,9 @@ private: boost::shared_ptr black_player_video_frame (Eyes eyes) const; void video (boost::weak_ptr, ContentVideo); void audio (boost::weak_ptr, AudioStreamPtr, ContentAudio); - void bitmap_text_start (boost::weak_ptr, boost::weak_ptr, ContentBitmapCaption); - void plain_text_start (boost::weak_ptr, boost::weak_ptr, ContentTextCaption); - void subtitle_stop (boost::weak_ptr, boost::weak_ptr, ContentTime, CaptionType); + void bitmap_text_start (boost::weak_ptr, boost::weak_ptr, ContentBitmapText); + void plain_text_start (boost::weak_ptr, boost::weak_ptr, ContentStringText); + void subtitle_stop (boost::weak_ptr, boost::weak_ptr, ContentTime, TextType); DCPTime one_video_frame () const; void fill_audio (DCPTimePeriod period); std::pair, DCPTime> discard_audio ( @@ -195,7 +195,7 @@ private: Empty _black; Empty _silent; - ActiveCaptions _active_captions[CAPTION_COUNT]; + ActiveText _active_captions[CAPTION_COUNT]; boost::shared_ptr _audio_processor; boost::signals2::scoped_connection _film_changed_connection; -- cgit v1.2.3