/*
- Copyright (C) 2012-2018 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2019 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
REEL_LENGTH,
UPLOAD_AFTER_MAKE_DCP,
REENCODE_J2K,
- MARKERS
+ MARKERS,
+ RATINGS
};
return _markers;
}
+ std::vector<dcp::Rating> ratings () const {
+ return _ratings;
+ }
+
/* SET */
void set_directory (boost::filesystem::path);
void set_reencode_j2k (bool);
void set_marker (dcp::Marker type, DCPTime time);
void unset_marker (dcp::Marker type);
+ void set_ratings (std::vector<dcp::Rating> r);
/** Emitted when some property has of the Film is about to change or has changed */
mutable boost::signals2::signal<void (ChangeType, Property)> Change;
/** true if the user has ever explicitly set the video frame rate of this film */
bool _user_explicit_video_frame_rate;
std::map<dcp::Marker, DCPTime> _markers;
+ std::vector<dcp::Rating> _ratings;
int _state_version;