diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-04-27 01:50:00 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-04-29 22:51:18 +0100 |
| commit | 068291b7233b01573863d7fb5eda2a82883c748d (patch) | |
| tree | 1bca551006315fd234b2408e1be47fcd2970916d /src/lib/cinema.h | |
| parent | 1863fff137bda1c0d3702a845cc79afbfc8c74c4 (diff) | |
Add free-text notes field to cinemas and screens.
Diffstat (limited to 'src/lib/cinema.h')
| -rw-r--r-- | src/lib/cinema.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/cinema.h b/src/lib/cinema.h index 70508f233..db0c7fac7 100644 --- a/src/lib/cinema.h +++ b/src/lib/cinema.h @@ -39,9 +39,10 @@ class Screen; class Cinema : public boost::enable_shared_from_this<Cinema> { public: - Cinema (std::string const & n, std::list<std::string> const & e, int utc_offset_hour, int utc_offset_minute) - : name (n) + Cinema (std::string const & name_, std::list<std::string> const & e, std::string notes_, int utc_offset_hour, int utc_offset_minute) + : name (name_) , emails (e) + , notes (notes_) , _utc_offset_hour (utc_offset_hour) , _utc_offset_minute (utc_offset_minute) {} @@ -60,6 +61,7 @@ public: std::string name; std::list<std::string> emails; + std::string notes; int utc_offset_hour () const { return _utc_offset_hour; |
