summaryrefslogtreecommitdiff
path: root/src/interop_subtitle_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-09 11:13:02 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-09 11:13:02 +0100
commit5c1b079a28941781c9cfa46d57e0c20b55681b32 (patch)
tree35c0d2aac409ca1b52699e974f299a64aa5ffc1f /src/interop_subtitle_asset.h
parent6425742f95a4c2e539061b29016a4a5bd10ac9ae (diff)
Basically-working interop subtitle font handling.
Diffstat (limited to 'src/interop_subtitle_asset.h')
-rw-r--r--src/interop_subtitle_asset.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/interop_subtitle_asset.h b/src/interop_subtitle_asset.h
index 378bacc7..4d2c2893 100644
--- a/src/interop_subtitle_asset.h
+++ b/src/interop_subtitle_asset.h
@@ -47,10 +47,12 @@ public:
std::list<boost::shared_ptr<LoadFontNode> > load_font_nodes () const;
- void add_font (std::string id, std::string uri);
+ void add_font (std::string id, boost::filesystem::path file);
Glib::ustring xml_as_string () const;
void write (boost::filesystem::path path) const;
+ void resolve_fonts (std::list<boost::shared_ptr<Object> > objects);
+ void add_font_assets (std::list<boost::shared_ptr<Asset> >& assets);
/** Set the reel number or sub-element identifier
* of these subtitles.