summaryrefslogtreecommitdiff
path: root/src/wx/kdm_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/kdm_dialog.h')
-rw-r--r--src/wx/kdm_dialog.h7
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;