X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fkdm_dialog.h;h=a240ec1b6bb85040cf854b62cf9fd05a99546e65;hb=7c44dc0607d46d93e3b3e9b46d1e5ecd2bc64a99;hp=e0111b6c524b64b90355c41c5ece042fb8c85202;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/wx/kdm_dialog.h b/src/wx/kdm_dialog.h index e0111b6c5..a240ec1b6 100644 --- a/src/wx/kdm_dialog.h +++ b/src/wx/kdm_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Carl Hetherington + Copyright (C) 2012-2016 Carl Hetherington This file is part of DCP-o-matic. @@ -25,8 +25,11 @@ #include #include +namespace dcpomatic { + class Screen; +} + class Cinema; -class Screen; class Film; class ScreensPanel; class KDMTimingPanel; @@ -37,25 +40,17 @@ struct CPLSummary; class KDMDialog : public wxDialog { public: - KDMDialog (wxWindow *, boost::shared_ptr); - - std::list > screens () const; - /** @return KDM from time in local time; note that ptime has no time zone information */ - boost::posix_time::ptime from () const; - /** @return KDM until time in local time; note that ptime has no time zone information */ - boost::posix_time::ptime until () const; - - boost::filesystem::path cpl () const; - - boost::filesystem::path directory () const; - bool write_to () const; - dcp::Formulation formulation () const; + KDMDialog (wxWindow *, boost::shared_ptr film); private: void setup_sensitivity (); + void make_clicked (); + bool confirm_overwrite (boost::filesystem::path path); + boost::weak_ptr _film; ScreensPanel* _screens; KDMTimingPanel* _timing; KDMCPLPanel* _cpl; KDMOutputPanel* _output; + wxButton* _make; };