summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-12-23 21:53:51 +0000
committerCarl Hetherington <cth@carlh.net>2013-12-23 21:53:51 +0000
commit320c9b6d68d111bc0768e210cc8c7ae9d0d7c22e (patch)
tree7ad4f70d6d32fc465b5826b333596696f67e8972 /src/lib/config.h
parent692e67b9dc1e8cd72546b3766e8f38956932ee58 (diff)
Move default config options into their own tab; support user/password for SMTP TLS/SSL.
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index 14c707dd2..67d293884 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -155,6 +155,14 @@ public:
return _mail_server;
}
+ std::string mail_user () const {
+ return _mail_user;
+ }
+
+ std::string mail_password () const {
+ return _mail_password;
+ }
+
std::string kdm_from () const {
return _kdm_from;
}
@@ -261,6 +269,14 @@ public:
_mail_server = s;
}
+ void set_mail_user (std::string u) {
+ _mail_user = u;
+ }
+
+ void set_mail_password (std::string p) {
+ _mail_password = p;
+ }
+
void set_kdm_from (std::string f) {
_kdm_from = f;
}
@@ -321,6 +337,8 @@ private:
std::vector<PresetColourConversion> _colour_conversions;
std::list<boost::shared_ptr<Cinema> > _cinemas;
std::string _mail_server;
+ std::string _mail_user;
+ std::string _mail_password;
std::string _kdm_from;
std::string _kdm_email;