summaryrefslogtreecommitdiff
path: root/src/xml.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-08-21 16:13:22 +0100
committerCarl Hetherington <cth@carlh.net>2012-08-21 16:13:22 +0100
commitb56b008e2ad86bd2c29a42390891a32ae658d6c4 (patch)
tree1b40a20756da219dd495f1b67ecea37f8cccf8ce /src/xml.h
parentf902811342bb9f72bb11e2658aea14cfe8b04c64 (diff)
Recurse into font nodes and pick up details of italics.
Diffstat (limited to 'src/xml.h')
-rw-r--r--src/xml.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xml.h b/src/xml.h
index 5ff5f614..f1e39b55 100644
--- a/src/xml.h
+++ b/src/xml.h
@@ -6,6 +6,7 @@
#include <stdint.h>
#include <glibmm.h>
#include <boost/shared_ptr.hpp>
+#include <boost/optional.hpp>
#include "types.h"
#include "exceptions.h"
#include "dcp_time.h"
@@ -39,6 +40,7 @@ protected:
std::string string_attribute (std::string);
int64_t int64_attribute (std::string);
int64_t optional_int64_attribute (std::string);
+ boost::optional<bool> optional_bool_attribute (std::string);
std::string content ();