summaryrefslogtreecommitdiff
path: root/src/smpte_subtitle_asset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/smpte_subtitle_asset.h')
-rw-r--r--src/smpte_subtitle_asset.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/smpte_subtitle_asset.h b/src/smpte_subtitle_asset.h
index 444c53e6..9dee7f6d 100644
--- a/src/smpte_subtitle_asset.h
+++ b/src/smpte_subtitle_asset.h
@@ -130,6 +130,20 @@ private:
int _time_code_rate;
boost::optional<Time> _start_time;
+ class Font
+ {
+ public:
+ Font (std::string uuid_, boost::shared_array<uint8_t> data_, boost::uintmax_t size_)
+ : uuid (uuid_)
+ , data (data_, size_)
+ {}
+
+ std::string uuid;
+ Data data;
+ mutable boost::optional<boost::filesystem::path> file;
+ };
+
+ std::list<Font> _fonts;
std::list<boost::shared_ptr<SMPTELoadFontNode> > _load_font_nodes;
};