From d087368dc0dcd6026b3a967f00f145feb701dd0e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 25 Sep 2013 13:49:13 +0100 Subject: Basic email of KDMs works. --- src/wx/kdm_dialog.cc | 6 ++++++ src/wx/kdm_dialog.h | 1 + 2 files changed, 7 insertions(+) (limited to 'src/wx') diff --git a/src/wx/kdm_dialog.cc b/src/wx/kdm_dialog.cc index 9db512780..6164f7fd9 100644 --- a/src/wx/kdm_dialog.cc +++ b/src/wx/kdm_dialog.cc @@ -385,3 +385,9 @@ KDMDialog::directory () const { return wx_to_std (_folder->GetPath ()); } + +bool +KDMDialog::write_to () const +{ + return _write_to->GetValue (); +} diff --git a/src/wx/kdm_dialog.h b/src/wx/kdm_dialog.h index 0acf9a61e..ec4a50ac3 100644 --- a/src/wx/kdm_dialog.h +++ b/src/wx/kdm_dialog.h @@ -42,6 +42,7 @@ public: boost::posix_time::ptime from () const; boost::posix_time::ptime until () const; std::string directory () const; + bool write_to () const; private: void add_cinema (boost::shared_ptr); -- cgit v1.2.3