projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changes to libdcp.
[dcpomatic.git]
/
src
/
lib
/
cinema.h
diff --git
a/src/lib/cinema.h
b/src/lib/cinema.h
index 8421f468751f72548560c9705f27cefa9bb8fcaa..4639261c30bebc93e6237e6abe05546763026415 100644
(file)
--- a/
src/lib/cinema.h
+++ b/
src/lib/cinema.h
@@
-21,9
+21,9
@@
* @brief Screen and Cinema classes.
*/
* @brief Screen and Cinema classes.
*/
-#include <boost/enable_shared_from_this.hpp>
-#include <dcp/certificates.h>
#include <libcxml/cxml.h>
#include <libcxml/cxml.h>
+#include <dcp/certificate.h>
+#include <boost/enable_shared_from_this.hpp>
class Cinema;
class Cinema;
@@
-44,7
+44,7
@@
public:
Screen (cxml::ConstNodePtr);
void as_xml (xmlpp::Element *) const;
Screen (cxml::ConstNodePtr);
void as_xml (xmlpp::Element *) const;
-
+
boost::shared_ptr<Cinema> cinema;
std::string name;
boost::optional<dcp::Certificate> certificate;
boost::shared_ptr<Cinema> cinema;
std::string name;
boost::optional<dcp::Certificate> certificate;
@@
-72,13
+72,13
@@
public:
void add_screen (boost::shared_ptr<Screen>);
void remove_screen (boost::shared_ptr<Screen>);
void add_screen (boost::shared_ptr<Screen>);
void remove_screen (boost::shared_ptr<Screen>);
-
+
std::string name;
std::string email;
std::list<boost::shared_ptr<Screen> > screens () const {
return _screens;
}
std::string name;
std::string email;
std::list<boost::shared_ptr<Screen> > screens () const {
return _screens;
}
-private:
+private:
std::list<boost::shared_ptr<Screen> > _screens;
};
std::list<boost::shared_ptr<Screen> > _screens;
};