summaryrefslogtreecommitdiff
path: root/src/lib/cinema.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cinema.cc')
-rw-r--r--src/lib/cinema.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/cinema.cc b/src/lib/cinema.cc
index e9a7dce68..6e651dc76 100644
--- a/src/lib/cinema.cc
+++ b/src/lib/cinema.cc
@@ -32,6 +32,7 @@ using boost::shared_ptr;
Cinema::Cinema (cxml::ConstNodePtr node)
: name (node->string_child ("Name"))
+ , notes (node->optional_string_child("Notes").get_value_or(""))
{
BOOST_FOREACH (cxml::ConstNodePtr i, node->node_children("Email")) {
emails.push_back (i->content ());
@@ -67,6 +68,8 @@ Cinema::as_xml (xmlpp::Element* parent) const
parent->add_child("Email")->add_child_text (i);
}
+ parent->add_child("Notes")->add_child_text (notes);
+
parent->add_child("UTCOffsetHour")->add_child_text (dcp::raw_convert<string> (_utc_offset_hour));
parent->add_child("UTCOffsetMinute")->add_child_text (dcp::raw_convert<string> (_utc_offset_minute));