summaryrefslogtreecommitdiff
path: root/src/lib/content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-05 00:46:46 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-05 23:52:14 +0100
commit474e13cf51457a51a6870c324e77ca30290a0d28 (patch)
tree9a96ab781a07fff8c84812d7dd0570eac83dddbb /src/lib/content.h
parentaa10e37a255a63dc269fb30358a5946d558e39b0 (diff)
Add Content::{font_paths,replace_font_path}().
Diffstat (limited to 'src/lib/content.h')
-rw-r--r--src/lib/content.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/content.h b/src/lib/content.h
index bee7419dd..8ddb7d7e7 100644
--- a/src/lib/content.h
+++ b/src/lib/content.h
@@ -139,6 +139,9 @@ public:
return _paths[i];
}
+ std::vector<boost::filesystem::path> font_paths() const;
+ void replace_font_path(boost::filesystem::path old_path, boost::filesystem::path new_path);
+
std::time_t last_write_time(size_t i) const {
boost::mutex::scoped_lock lm(_mutex);
return _last_write_times[i];