X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fkdm_dialog.h;h=ea504f8429b1922f4846320510e59641ff207f6d;hb=97193e96c637ca92eeaf6e72ee38aa628308973b;hp=a76c2a14f9e26d46bb899ca1118a48e51a8ab123;hpb=1d022220899c63e2cae0a2a9a81f6c6db955a23d;p=dcpomatic.git diff --git a/src/wx/kdm_dialog.h b/src/wx/kdm_dialog.h index a76c2a14f..ea504f842 100644 --- a/src/wx/kdm_dialog.h +++ b/src/wx/kdm_dialog.h @@ -21,12 +21,14 @@ #include "wx_util.h" #include #include -#include #include #include +namespace dcpomatic { + class Screen; +} + class Cinema; -class Screen; class Film; class ScreensPanel; class KDMTimingPanel; @@ -37,13 +39,14 @@ struct CPLSummary; class KDMDialog : public wxDialog { public: - KDMDialog (wxWindow *, boost::shared_ptr film); + KDMDialog (wxWindow *, std::shared_ptr film); private: void setup_sensitivity (); void make_clicked (); + bool confirm_overwrite (boost::filesystem::path path); - boost::weak_ptr _film; + std::weak_ptr _film; ScreensPanel* _screens; KDMTimingPanel* _timing; KDMCPLPanel* _cpl;