diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-10 21:54:45 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-10 21:54:45 +0000 |
| commit | 0b45af42b5a30c3a71d2e1de491843d125e46793 (patch) | |
| tree | 8b7e55d9f8ab53cb115c56779bd4e1df23ba6b62 /src/wx/kdm_dialog.h | |
| parent | 6bfdd0f45927a4dfecf10e851b1902a899de5aa2 (diff) | |
Fixes to times for KDMs.
Diffstat (limited to 'src/wx/kdm_dialog.h')
| -rw-r--r-- | src/wx/kdm_dialog.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/wx/kdm_dialog.h b/src/wx/kdm_dialog.h index d161223a8..ac2db9b95 100644 --- a/src/wx/kdm_dialog.h +++ b/src/wx/kdm_dialog.h @@ -19,6 +19,7 @@ #include <map> #include <boost/shared_ptr.hpp> +#include <boost/date_time/posix_time/posix_time.hpp> #include <wx/wx.h> #include <wx/treectrl.h> @@ -37,8 +38,8 @@ public: KDMDialog (wxWindow *); std::list<boost::shared_ptr<Screen> > screens () const; - boost::local::date_time from () const; - boost::local::date_time until () const; + boost::posix_time::ptime from () const; + boost::posix_time::ptime until () const; std::string directory () const; private: @@ -54,6 +55,8 @@ private: std::list<std::pair<wxTreeItemId, boost::shared_ptr<Cinema> > > selected_cinemas () const; std::list<std::pair<wxTreeItemId, boost::shared_ptr<Screen> > > selected_screens () const; void setup_sensitivity (); + + static boost::posix_time::ptime posix_time (wxDatePickerCtrl *, wxTimePickerCtrl *); wxTreeCtrl* _targets; wxButton* _add_cinema; |
