diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-16 13:56:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-16 13:56:42 +0100 |
| commit | ab3d0c5040bbf4d40790ad91990f0f2b6aa8e838 (patch) | |
| tree | 278ab7ec10cecf8da9bdcf19f8c491cd0cfcfb05 /src/lib/config.h | |
| parent | d7cefaf92f12975691bfe695f43f621debd0617e (diff) | |
Make KDM email subject configurable.
Suggested-by: Carsten Kurz
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index ebcf7e83d..85e419a0a 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -169,6 +169,10 @@ public: return _mail_password; } + std::string kdm_subject () const { + return _kdm_subject; + } + std::string kdm_from () const { return _kdm_from; } @@ -323,6 +327,11 @@ public: changed (); } + void set_kdm_subject (std::string s) { + _kdm_subject = s; + changed (); + } + void set_kdm_from (std::string f) { _kdm_from = f; changed (); @@ -414,6 +423,7 @@ private: std::string _mail_server; std::string _mail_user; std::string _mail_password; + std::string _kdm_subject; std::string _kdm_from; std::string _kdm_cc; std::string _kdm_email; |
