summaryrefslogtreecommitdiff
path: root/src/lib/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/font.h')
-rw-r--r--src/lib/font.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/font.h b/src/lib/font.h
index 0dedf7e49..0dd63448e 100644
--- a/src/lib/font.h
+++ b/src/lib/font.h
@@ -22,6 +22,7 @@
#include <libcxml/cxml.h>
#include <boost/optional.hpp>
+#include <boost/signals2.hpp>
#include <boost/filesystem.hpp>
#include <string>
@@ -45,8 +46,11 @@ public:
void set_file (boost::filesystem::path file) {
_file = file;
+ Changed ();
}
+ boost::signals2::signal<void()> Changed;
+
private:
/** Font ID, used to describe it in the subtitle content */
std::string _id;