diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-03-01 16:27:59 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-03-01 16:27:59 +0100 |
| commit | bb8def962ae0092238d2263c1a2335b0206c4dc4 (patch) | |
| tree | 2fda08b5c61d2b9508651dd495ec77c23becd953 /src/types.h | |
| parent | 4e5da9f3c71cb2fd4059eab5785602cf524457be (diff) | |
Move Rating out to a separate file.
Diffstat (limited to 'src/types.h')
| -rw-r--r-- | src/types.h | 22 |
1 files changed, 0 insertions, 22 deletions
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 |
