summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/font.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/font.h b/src/lib/font.h
index 24d8ed2bb..55c4249cc 100644
--- a/src/lib/font.h
+++ b/src/lib/font.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2014-2021 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2023 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -71,6 +71,9 @@ public:
Changed ();
}
+ /** @return the data set passed to the dcp::ArrayData constructor,
+ * otherwise the contents of _file, otherwise boost::none.
+ */
boost::optional<dcp::ArrayData> data() const;
boost::signals2::signal<void()> Changed;