summaryrefslogtreecommitdiff
path: root/src/lib/text_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-22 22:07:13 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-22 22:07:13 +0100
commit6a646daeb7586fdf42bfd344960d9ba1e83466bf (patch)
treeaf2b6703ddb7fbb7942a72d7ab4d0ad27b368960 /src/lib/text_content.h
parent92be7bea08058565088d74ca7a695ed6ad9da3fc (diff)
Revert "Store a name with text content."
This reverts commit 2571104b6a208fa00b2c98d50f97849c3e7fa6c9.
Diffstat (limited to 'src/lib/text_content.h')
-rw-r--r--src/lib/text_content.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/text_content.h b/src/lib/text_content.h
index 0327d4a97..e5981acaf 100644
--- a/src/lib/text_content.h
+++ b/src/lib/text_content.h
@@ -37,7 +37,6 @@ public:
static int const Y_SCALE;
static int const USE;
static int const BURN;
- static int const NAME;
static int const LANGUAGE;
static int const FONTS;
static int const COLOUR;
@@ -74,7 +73,6 @@ public:
void set_y_offset (double);
void set_x_scale (double);
void set_y_scale (double);
- void set_name (std::string name);
void set_language (std::string language);
void set_colour (dcp::Colour);
void unset_colour ();
@@ -125,11 +123,6 @@ public:
return _fonts;
}
- std::string name () const {
- boost::mutex::scoped_lock lm (_mutex);
- return _name;
- }
-
std::string language () const {
boost::mutex::scoped_lock lm (_mutex);
return _language;
@@ -183,8 +176,6 @@ public:
static std::list<boost::shared_ptr<TextContent> > from_xml (Content* parent, cxml::ConstNodePtr, int version);
protected:
- /** Name (annotation text) for this subtitle */
- std::string _name;
/** subtitle language (e.g. "German") or empty if it is not known */
std::string _language;