X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fkdm_dialog.h;h=07b998224dba662a33583f95d83e4896d1826619;hb=f4964573a60155545e02cbbebc47199f7480cf14;hp=7d64fea7776783e36fde90d627dfe89ae565fa60;hpb=736b3a068ba5a402b541d32f270669e6e1a4e5c4;p=dcpomatic.git diff --git a/src/wx/kdm_dialog.h b/src/wx/kdm_dialog.h index 7d64fea77..07b998224 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. @@ -19,7 +19,7 @@ */ #include "wx_util.h" -#include "lib/kdm_name_format.h" +#include "lib/kdm_filename_format.h" #include #include #include @@ -38,28 +38,16 @@ 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; - KDMNameFormat name_format () const; - - int ShowModal (); + KDMDialog (wxWindow *, boost::shared_ptr film); private: void setup_sensitivity (); + void make_clicked (); + boost::weak_ptr _film; ScreensPanel* _screens; KDMTimingPanel* _timing; KDMCPLPanel* _cpl; KDMOutputPanel* _output; + wxButton* _make; };