X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fcinema.h;h=3bf958d82b451d5f49e0183730c5ef2a22d864dd;hp=74357f65d687e0261ded537e94b3b4f95afcfdb2;hb=aeb835a18c8df347e0ed68fb24631b320abeb611;hpb=94201bd2a5a4cb391b7f2bdeba56b928fed7cfe1 diff --git a/src/lib/cinema.h b/src/lib/cinema.h index 74357f65d..3bf958d82 100644 --- a/src/lib/cinema.h +++ b/src/lib/cinema.h @@ -18,37 +18,17 @@ */ /** @file src/lib/cinema.h - * @brief Screen and Cinema classes. + * @brief Cinema class. */ -#include -#include #include +#include -class Cinema; - -/** @class Screen - * @brief A representation of a Screen for KDM generation. - * - * This is the name of the screen and the certificate of its - * server. - */ -class Screen -{ -public: - Screen (std::string const & n, boost::shared_ptr cert) - : name (n) - , certificate (cert) - {} - - Screen (cxml::ConstNodePtr); +namespace xmlpp { + class Element; +} - void as_xml (xmlpp::Element *) const; - - boost::shared_ptr cinema; - std::string name; - boost::shared_ptr certificate; -}; +class Screen; /** @class Cinema * @brief A description of a Cinema for KDM generation. @@ -72,13 +52,13 @@ public: void add_screen (boost::shared_ptr); void remove_screen (boost::shared_ptr); - + std::string name; std::string email; std::list > screens () const { return _screens; } -private: +private: std::list > _screens; };