X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsend_problem_report_job.h;h=5310010aeb96fc669d88cf67007380ff31b0b186;hb=f706bbb9afd10472e81a051cd5db601d6404377c;hp=c40011d0ce733696c09e0f343258e6071905aae7;hpb=cf8e0e9e26dbaefab768000ebc1655b34ad11105;p=dcpomatic.git diff --git a/src/lib/send_problem_report_job.h b/src/lib/send_problem_report_job.h index c40011d0c..5310010ae 100644 --- a/src/lib/send_problem_report_job.h +++ b/src/lib/send_problem_report_job.h @@ -1,37 +1,43 @@ /* - Copyright (C) 2014 Carl Hetherington + Copyright (C) 2014-2021 Carl Hetherington - This program is free software; you can redistribute it and/or modify + 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. - This program is distributed in the hope that it will be useful, + 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 this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with DCP-o-matic. If not, see . */ + #include "job.h" #include #include + class SendProblemReportJob : public Job { public: SendProblemReportJob ( - boost::shared_ptr, + std::shared_ptr film, std::string from, std::string summary ); - std::string name () const; - void run (); + ~SendProblemReportJob (); + + std::string name () const override; + std::string json_name () const override; + void run () override; private: void add_file (std::string& body, boost::filesystem::path file) const;