X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Finterop_metadata_dialog.h;h=1d7a5a6eb848736f3ad6d618ecae3abff4cf7af6;hb=fe0684e9bd2bc814fd0adeda3953cec9295a0f12;hp=43d028eabb923cc836a524d540effbfd541b3e14;hpb=d97029163865e212dc3d7b3c57c16459933a11f6;p=dcpomatic.git diff --git a/src/wx/interop_metadata_dialog.h b/src/wx/interop_metadata_dialog.h index 43d028eab..1d7a5a6eb 100644 --- a/src/wx/interop_metadata_dialog.h +++ b/src/wx/interop_metadata_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2019 Carl Hetherington + Copyright (C) 2020-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,27 +18,36 @@ */ + #include "editable_list.h" +#include "metadata_dialog.h" +#include #include +#include +LIBDCP_DISABLE_WARNINGS #include -#include -#include +LIBDCP_ENABLE_WARNINGS #include + class Film; +class LanguageTagWidget; class RatingDialog; -class InteropMetadataDialog : public wxDialog + +class InteropMetadataDialog : public MetadataDialog { public: - InteropMetadataDialog (wxWindow* parent, boost::weak_ptr film); + InteropMetadataDialog (wxWindow* parent, std::weak_ptr film); private: - std::vector ratings () const; + void setup_standard (wxPanel* panel, wxSizer* sizer) override; + void set_ratings (std::vector r); void content_version_changed (); - boost::weak_ptr _film; + std::vector ratings () const; + EditableList* _ratings; wxTextCtrl* _content_version; };