diff options
Diffstat (limited to 'src/interop_subtitle_asset.h')
| -rw-r--r-- | src/interop_subtitle_asset.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/interop_subtitle_asset.h b/src/interop_subtitle_asset.h index 41ed83b3..7c727d69 100644 --- a/src/interop_subtitle_asset.h +++ b/src/interop_subtitle_asset.h @@ -47,7 +47,7 @@ public: std::list<boost::shared_ptr<LoadFontNode> > load_font_nodes () const; - void add_font (std::string id, boost::filesystem::path file); + void add_font (std::string font_id, std::string uuid, boost::filesystem::path file); Glib::ustring xml_as_string () const; void write (boost::filesystem::path path) const; @@ -102,6 +102,24 @@ private: std::string _language; std::string _movie_title; std::list<boost::shared_ptr<InteropLoadFontNode> > _load_font_nodes; + + class Font + { + public: + Font (std::string load_id_, std::string uuid_, boost::filesystem::path file_) + : load_id (load_id_) + , uuid (uuid_) + , data (file_) + , file (file_) + {} + + std::string load_id; + std::string uuid; + Data data; + mutable boost::optional<boost::filesystem::path> file; + }; + + std::list<Font> _fonts; }; } |
