From bb8def962ae0092238d2263c1a2335b0206c4dc4 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 1 Mar 2022 16:27:59 +0100 Subject: Move Rating out to a separate file. --- src/types.h | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/types.h') diff --git a/src/types.h b/src/types.h index be9ba1b3..b68402af 100644 --- a/src/types.h +++ b/src/types.h @@ -373,28 +373,6 @@ std::string marker_to_string (Marker); Marker marker_from_string (std::string); -class Rating -{ -public: - Rating (std::string agency_, std::string label_) - : agency (agency_) - , label (label_) - {} - - explicit Rating (cxml::ConstNodePtr node); - - void as_xml (xmlpp::Element* parent) const; - - /** URI of the agency issuing the rating */ - std::string agency; - /** Rating (e.g. PG, PG-13, 12A etc) */ - std::string label; -}; - - -extern bool operator== (Rating const & a, Rating const & b); - - enum class Status { FINAL, ///< final version -- cgit v1.2.3