diff options
Diffstat (limited to 'src/lib/text_content.h')
| -rw-r--r-- | src/lib/text_content.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/lib/text_content.h b/src/lib/text_content.h index 5eda8764f..1c7eef19a 100644 --- a/src/lib/text_content.h +++ b/src/lib/text_content.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2019 Carl Hetherington <cth@carlh.net> + Copyright (C) 2013-2020 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -40,7 +40,6 @@ public: static int const Y_SCALE; static int const USE; static int const BURN; - static int const LANGUAGE; static int const FONTS; static int const COLOUR; static int const EFFECT; @@ -77,7 +76,6 @@ public: void set_y_offset (double); void set_x_scale (double); void set_y_scale (double); - void set_language (std::string language); void set_colour (dcp::Colour); void unset_colour (); void set_effect (dcp::Effect); @@ -129,11 +127,6 @@ public: return _fonts; } - std::string language () const { - boost::mutex::scoped_lock lm (_mutex); - return _language; - } - boost::optional<dcp::Colour> colour () const { boost::mutex::scoped_lock lm (_mutex); return _colour; @@ -186,10 +179,6 @@ public: static std::list<boost::shared_ptr<TextContent> > from_xml (Content* parent, cxml::ConstNodePtr, int version); -protected: - /** subtitle language (e.g. "German") or empty if it is not known */ - std::string _language; - private: friend struct ffmpeg_pts_offset_test; |
