#include "wx_util.h"
#include <dcp/types.h>
#include <wx/wx.h>
-#include <wx/treectrl.h>
#include <boost/shared_ptr.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <map>
-class wxTreeCtrl;
-class wxDirPickerCtrl;
-class DirPickerCtrl;
-
class Cinema;
class Screen;
class Film;
class ScreensPanel;
class KDMTimingPanel;
+class KDMOutputPanel;
+class KDMCPLPanel;
struct CPLSummary;
class KDMDialog : public wxDialog
boost::posix_time::ptime until () const;
boost::filesystem::path cpl () const;
+
boost::filesystem::path directory () const;
bool write_to () const;
dcp::Formulation formulation () const;
private:
void setup_sensitivity ();
- void update_cpl_choice ();
- void update_cpl_summary ();
- void cpl_browse_clicked ();
ScreensPanel* _screens;
KDMTimingPanel* _timing;
- 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;
+ KDMCPLPanel* _cpl;
+ KDMOutputPanel* _output;
};