X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Finterop_metadata_dialog.h;h=a2423d9bd3725a350114559cc15cf0167b53dc3b;hb=e8748f158249d7be906f6c6cf2411df45dd07a24;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..a2423d9bd 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,30 @@ */ -#include "editable_list.h" + +#include "metadata_dialog.h" +#include #include +#include +LIBDCP_DISABLE_WARNINGS #include -#include -#include +LIBDCP_ENABLE_WARNINGS #include + class Film; -class RatingDialog; +class LanguageTagWidget; -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 set_ratings (std::vector r); + void setup_standard (wxPanel* panel, wxSizer* sizer) override; + void content_version_changed (); - boost::weak_ptr _film; - EditableList* _ratings; wxTextCtrl* _content_version; };