X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fkdm_dialog.h;h=099db951beede0d9fde2b4d3622bdc60cb8398f5;hb=b609165c39b8d6772d1c4fe2238c3bd66b70c787;hp=e0111b6c524b64b90355c41c5ece042fb8c85202;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/wx/kdm_dialog.h b/src/wx/kdm_dialog.h index e0111b6c5..099db951b 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. @@ -37,25 +37,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; };