diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-09-25 12:20:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-09-25 12:20:26 +0100 |
| commit | 5909b9672821c1d5ea974761316dc0f3df558349 (patch) | |
| tree | f1eaa4603f26663f1facb9246f852f6c7f4a5bb8 /src/lib/config.h | |
| parent | 13d924ad844ca6b642880910e21c5e322dbc4408 (diff) | |
Part of work to add emailing of KDMs.
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index 8dcb513a5..7dd5abd17 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -142,6 +142,10 @@ public: return _kdm_from; } + std::string kdm_email () const { + return _kdm_email; + } + /** @param n New number of local encoding threads */ void set_num_local_encoding_threads (int n) { _num_local_encoding_threads = n; @@ -244,6 +248,10 @@ public: void set_kdm_from (std::string f) { _kdm_from = f; } + + void set_kdm_email (std::string e) { + _kdm_email = e; + } void write () const; @@ -294,6 +302,7 @@ private: std::list<boost::shared_ptr<Cinema> > _cinemas; std::string _mail_server; std::string _kdm_from; + std::string _kdm_email; /** Singleton instance, or 0 */ static Config* _instance; |
