X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fupload_job.h;h=a3da164bf56f8ea6990af4204f4c357332123e32;hb=b915348a8288d68e2ff114fb3dd89ad22e699969;hp=3612eaaeeeeb3eb496e6583fce81623d9f5b5bd5;hpb=9695a0f81ce2a0ccd02cf4608e7151e4f07baabc;p=dcpomatic.git diff --git a/src/lib/upload_job.h b/src/lib/upload_job.h index 3612eaaee..a3da164bf 100644 --- a/src/lib/upload_job.h +++ b/src/lib/upload_job.h @@ -1,37 +1,42 @@ /* - Copyright (C) 2012-2015 Carl Hetherington + Copyright (C) 2012-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 . */ + /** @file src/upload_job.h * @brief A job to copy DCPs to a server using libcurl. */ + #include "job.h" + class UploadJob : public Job { public: - UploadJob (boost::shared_ptr); + explicit UploadJob (std::shared_ptr); + ~UploadJob (); - std::string name () const; - std::string json_name () const; - void run (); - std::string status () const; + std::string name () const override; + std::string json_name () const override; + void run () override; + std::string status () const override; private: void set_status (std::string);