summaryrefslogtreecommitdiff
path: root/src/lib/cinema.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-11-13 13:07:16 +0000
committerCarl Hetherington <cth@carlh.net>2015-11-13 13:07:16 +0000
commitdf89a39cfd34d0d70609daa214d3b618bb6223bd (patch)
tree1629307cc535fc0ea8804ca935022dddf163135d /src/lib/cinema.h
parent43800d83434697a31bdfae62dd377cfc3900986b (diff)
Allow multiple recipients of KDM emails (#745).
Diffstat (limited to 'src/lib/cinema.h')
-rw-r--r--src/lib/cinema.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/cinema.h b/src/lib/cinema.h
index 3bf958d82..aec4c83ec 100644
--- a/src/lib/cinema.h
+++ b/src/lib/cinema.h
@@ -33,15 +33,15 @@ class Screen;
/** @class Cinema
* @brief A description of a Cinema for KDM generation.
*
- * This is a cinema name, contact email address and a list of
+ * This is a cinema name, contact email addresses and a list of
* Screen objects.
*/
class Cinema : public boost::enable_shared_from_this<Cinema>
{
public:
- Cinema (std::string const & n, std::string const & e)
+ Cinema (std::string const & n, std::list<std::string> const & e)
: name (n)
- , email (e)
+ , emails (e)
{}
Cinema (cxml::ConstNodePtr);
@@ -54,7 +54,7 @@ public:
void remove_screen (boost::shared_ptr<Screen>);
std::string name;
- std::string email;
+ std::list<std::string> emails;
std::list<boost::shared_ptr<Screen> > screens () const {
return _screens;
}