summaryrefslogtreecommitdiff
path: root/src/wx/kdm_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-05 23:36:57 +0100
committerCarl Hetherington <cth@carlh.net>2015-10-09 13:44:48 +0100
commitbdd2c3396318d64a7c1c2ad870e1ba7a1352c16d (patch)
treec4ddcc9bd36f39c0234766b55484bf0b299de6ee /src/wx/kdm_dialog.h
parente02afbbc64a6f615e450a3c68b8900588bd21fd0 (diff)
Split KDM from/until into KDMTimingPanel.
Diffstat (limited to 'src/wx/kdm_dialog.h')
-rw-r--r--src/wx/kdm_dialog.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/wx/kdm_dialog.h b/src/wx/kdm_dialog.h
index 5588aa9f2..365d05a99 100644
--- a/src/wx/kdm_dialog.h
+++ b/src/wx/kdm_dialog.h
@@ -26,8 +26,6 @@
#include <map>
class wxTreeCtrl;
-class wxDatePickerCtrl;
-class wxTimePickerCtrl;
class wxDirPickerCtrl;
class DirPickerCtrl;
@@ -35,6 +33,7 @@ class Cinema;
class Screen;
class Film;
class ScreensPanel;
+class KDMTimingPanel;
struct CPLSummary;
class KDMDialog : public wxDialog
@@ -43,7 +42,6 @@ public:
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 */
@@ -60,13 +58,8 @@ private:
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;
wxChoice* _cpl;
wxButton* _cpl_browse;
wxStaticText* _dcp_directory;