#include <map>
class wxTreeCtrl;
-class wxDatePickerCtrl;
-class wxTimePickerCtrl;
-class wxDirPickerCtrl;
-class DirPickerCtrl;
class Cinema;
class Screen;
class Film;
class ScreensPanel;
+class KDMTimingPanel;
+class KDMOutputPanel;
struct CPLSummary;
class KDMDialog : public wxDialog
KDMDialog (wxWindow *, boost::shared_ptr<const Film>);
std::list<boost::shared_ptr<Screen> > screens () const;
-
/** @return KDM from time in local time */
boost::posix_time::ptime from () const;
/** @return KDM until time in local time */
boost::posix_time::ptime until () const;
boost::filesystem::path cpl () const;
+
boost::filesystem::path directory () const;
bool write_to () const;
dcp::Formulation formulation () const;
void update_cpl_summary ();
void cpl_browse_clicked ();
- static boost::posix_time::ptime posix_time (wxDatePickerCtrl *, wxTimePickerCtrl *);
-
ScreensPanel* _screens;
- wxDatePickerCtrl* _from_date;
- wxDatePickerCtrl* _until_date;
- wxTimePickerCtrl* _from_time;
- wxTimePickerCtrl* _until_time;
+ KDMTimingPanel* _timing;
+ KDMOutputPanel* _output;
wxChoice* _cpl;
wxButton* _cpl_browse;
wxStaticText* _dcp_directory;
wxStaticText* _cpl_id;
wxStaticText* _cpl_annotation_text;
- wxChoice* _type;
- wxRadioButton* _write_to;
-#ifdef DCPOMATIC_USE_OWN_DIR_PICKER
- DirPickerCtrl* _folder;
-#else
- wxDirPickerCtrl* _folder;
-#endif
- wxRadioButton* _email;
std::vector<CPLSummary> _cpls;
};