summaryrefslogtreecommitdiff
path: root/src/interop_subtitle_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-04-14 16:05:59 +0200
committerCarl Hetherington <cth@carlh.net>2023-04-14 16:05:59 +0200
commit7b96b3ceec5d14874628cd8b9cb7a827d266b2f4 (patch)
treeaaca321f02a8061e69b848ea8c1717b7305ef6a4 /src/interop_subtitle_asset.h
parent2c4dcc782d1db5422e9ccefee8ab8fd3639ea064 (diff)
Replace slightly weird add_font_assets() API.
Diffstat (limited to 'src/interop_subtitle_asset.h')
-rw-r--r--src/interop_subtitle_asset.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interop_subtitle_asset.h b/src/interop_subtitle_asset.h
index 72d862ad..3005c8fc 100644
--- a/src/interop_subtitle_asset.h
+++ b/src/interop_subtitle_asset.h
@@ -82,9 +82,9 @@ public:
void write (boost::filesystem::path path) const override;
void resolve_fonts (std::vector<std::shared_ptr<Asset>> assets);
- void add_font_assets (std::vector<std::shared_ptr<Asset>>& assets);
- void add_font_assets(std::vector<std::shared_ptr<const Asset>>& assets);
void set_font_file (std::string load_id, boost::filesystem::path file);
+ std::vector<std::shared_ptr<Asset>> font_assets();
+ std::vector<std::shared_ptr<const Asset>> font_assets() const;
/** @return the <LoadFont> IDs of fonts for which we have not (yet) found a font asset.
* This could be because resolve_fonts() has not yet been called, or because there is