/*
- Copyright (C) 2014-2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
+
#include "job.h"
#include <dcp/types.h>
#include <boost/filesystem.hpp>
+
class SendProblemReportJob : public Job
{
public:
SendProblemReportJob (
- boost::shared_ptr<const Film>,
+ std::shared_ptr<const Film> film,
std::string from,
std::string summary
);
- std::string name () const;
- std::string json_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;