Various work on certificate handling for screens; need XML config here, now.
[dcpomatic.git] / src / lib / cinema.h
1 #include <libdcp/certificates.h>
2
3 class Screen
4 {
5 public:
6         Screen (std::string const & n, boost::shared_ptr<libdcp::Certificate> cert)
7                 : name (n)
8                 , certificate (cert)
9         {}
10         
11         std::string name;
12         boost::shared_ptr<libdcp::Certificate> certificate;
13 };
14
15 class Cinema
16 {
17 public:
18         Cinema (std::string const & n, std::string const & e)
19                 : name (n)
20                 , email (e)
21         {}
22         
23         std::string name;
24         std::string email;
25         std::list<boost::shared_ptr<Screen> > screens;
26 };