summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-09-25 13:49:13 +0100
committerCarl Hetherington <cth@carlh.net>2013-09-25 13:49:13 +0100
commitd087368dc0dcd6026b3a967f00f145feb701dd0e (patch)
treef44d2bb828c3572f0bbb3a74ec4e2f497d54168c /src/wx
parent5909b9672821c1d5ea974761316dc0f3df558349 (diff)
Basic email of KDMs works.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/kdm_dialog.cc6
-rw-r--r--src/wx/kdm_dialog.h1
2 files changed, 7 insertions, 0 deletions
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<Cinema>);