summaryrefslogtreecommitdiff
path: root/src/subtitle_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-04 01:13:33 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-04 01:13:33 +0000
commit695506b51231548d76d9c8b5848671faab4a27b4 (patch)
treeacf157c18ab8a4dac3b3ef1dca0c3f2a15fb8c77 /src/subtitle_content.h
parent1b258903ae2ac1e99a60982d8f67720afa8f9b53 (diff)
Make a parent for SMPTELoadFont and InteropLoadFont.
Diffstat (limited to 'src/subtitle_content.h')
-rw-r--r--src/subtitle_content.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/subtitle_content.h b/src/subtitle_content.h
index 94b46868..7121387a 100644
--- a/src/subtitle_content.h
+++ b/src/subtitle_content.h
@@ -32,6 +32,7 @@ class SubtitleString;
class Font;
class Text;
class Subtitle;
+class LoadFont;
/** @class SubtitleContent
* @brief A parent for classes representing a file containing subtitles.
@@ -67,8 +68,10 @@ public:
Time latest_subtitle_out () const;
+ virtual std::list<boost::shared_ptr<LoadFont> > load_font_nodes () const = 0;
+
protected:
- void parse_common (boost::shared_ptr<cxml::Document> xml, std::list<boost::shared_ptr<dcp::Font> > font_nodes);
+ void parse_common (boost::shared_ptr<cxml::Document> xml, std::list<boost::shared_ptr<Font> > font_nodes);
std::string pkl_type (Standard) const {
return "text/xml";