diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-05-27 23:05:29 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-05-27 23:05:46 +0100 |
| commit | 2115fca942897260bb338c8093ada5186d9b775d (patch) | |
| tree | 2dfbfdc6e6749fa6125e31feb95158cf1723d5f2 /src/lib/send_notification_email_job.h | |
| parent | 1158dd504d0838b0c359b2cf1d63615c4ecb0a53 (diff) | |
Add missing icons and make emailing work.
Diffstat (limited to 'src/lib/send_notification_email_job.h')
| -rw-r--r-- | src/lib/send_notification_email_job.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/lib/send_notification_email_job.h b/src/lib/send_notification_email_job.h new file mode 100644 index 000000000..f6ca3fbd6 --- /dev/null +++ b/src/lib/send_notification_email_job.h @@ -0,0 +1,34 @@ +/* + Copyright (C) 2018 Carl Hetherington <cth@carlh.net> + + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + DCP-o-matic is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with DCP-o-matic. If not, see <http://www.gnu.org/licenses/>. + +*/ + +#include "job.h" + +class SendNotificationEmailJob : public Job +{ +public: + SendNotificationEmailJob (std::string body); + + std::string name () const; + std::string json_name () const; + void run (); + +private: + std::string _body; +}; |
