X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcinema.h;h=3bf958d82b451d5f49e0183730c5ef2a22d864dd;hb=2e62b2c0de47fc8e5bcb5466b2876f9b23d2ae84;hp=5c0386837098f1fd668749a57cafeee078ced081;hpb=cf8e0e9e26dbaefab768000ebc1655b34ad11105;p=dcpomatic.git diff --git a/src/lib/cinema.h b/src/lib/cinema.h index 5c0386837..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 -class Cinema; +namespace xmlpp { + class Element; +} -/** @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::optional cert) - : name (n) - , certificate (cert) - {} - - Screen (cxml::ConstNodePtr); - - void as_xml (xmlpp::Element *) const; - - boost::shared_ptr cinema; - std::string name; - boost::optional 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; };