diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-06-23 00:24:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-06-23 00:24:07 +0100 |
| commit | d5c390849df518273da8fc365e129f3460ac027b (patch) | |
| tree | 1402ef93fa71fffc810bdc7d04688bc6a8e20ff9 /src/lib/config.h | |
| parent | 11835d1e0bf15dd16a0f5fe3844fafb924f0a927 (diff) | |
Add option to CC a KDM email, and add
$SCREENS and $CINEMA_NAME as variables
in the email.
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 c359901a4..ebcf7e83d 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -173,6 +173,10 @@ public: return _kdm_from; } + std::string kdm_cc () const { + return _kdm_cc; + } + std::string kdm_email () const { return _kdm_email; } @@ -324,6 +328,11 @@ public: changed (); } + void set_kdm_cc (std::string f) { + _kdm_cc = f; + changed (); + } + void set_kdm_email (std::string e) { _kdm_email = e; changed (); @@ -406,6 +415,7 @@ private: std::string _mail_user; std::string _mail_password; std::string _kdm_from; + std::string _kdm_cc; std::string _kdm_email; /** true to check for updates on startup */ bool _check_for_updates; |
