X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fmetadata_dialog.h;fp=src%2Fwx%2Fmetadata_dialog.h;h=591ef3db44b3d0db62f814d8019fd326ec9f0623;hb=0bbbe85d4a206900b19bc7849a45f63cd8858e89;hp=8a0ff9f440583dc134a581f511117c981d1e5af1;hpb=5c86ef0c95903d64cefe93940534c3672cdce68d;p=dcpomatic.git diff --git a/src/wx/metadata_dialog.h b/src/wx/metadata_dialog.h index 8a0ff9f44..591ef3db4 100644 --- a/src/wx/metadata_dialog.h +++ b/src/wx/metadata_dialog.h @@ -23,6 +23,7 @@ #define DCPOMATIC_METADATA_DIALOG_H +#include "editable_list.h" #include "lib/change_signaller.h" #include "lib/film.h" #include "lib/weak_film.h" @@ -33,6 +34,7 @@ LIBDCP_ENABLE_WARNINGS class Button; +class RatingDialog; class wxSpinCtrlDouble; class LanguageTagWidget; @@ -50,6 +52,8 @@ protected: virtual void film_changed (ChangeType type, Film::Property property); virtual void setup_sensitivity (); + EditableList* _ratings; + private: void sign_language_video_language_changed (); void edit_release_territory (); @@ -66,6 +70,8 @@ private: void enable_chain_changed (); void enable_luminance_changed (); void luminance_changed (); + std::vector ratings () const; + void set_ratings (std::vector r); wxCheckBox* _enable_release_territory; /** The current release territory displayed in the UI; since we can't easily convert