diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-03 11:17:34 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-03 20:18:04 +0200 |
| commit | 689fa55d1529ad88449ca464e9107c4dcc54d1cb (patch) | |
| tree | edd1264941263f2fa25a98d61f98c87876c5b667 /src/lib/transcode_job.h | |
| parent | 0aabe4060ea4bad7c7caac633aef0737fccff8c2 (diff) | |
C++11 tidying.
Diffstat (limited to 'src/lib/transcode_job.h')
| -rw-r--r-- | src/lib/transcode_job.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/lib/transcode_job.h b/src/lib/transcode_job.h index 88f41d655..030e22bef 100644 --- a/src/lib/transcode_job.h +++ b/src/lib/transcode_job.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2019 Carl Hetherington <cth@carlh.net> + Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -18,14 +18,18 @@ */ + /** @file src/transcode_job.h * @brief A job which transcodes from one format to another. */ + #include "job.h" + class Encoder; + /** @class TranscodeJob * @brief A job which transcodes a Film to another format. */ @@ -35,15 +39,15 @@ public: explicit TranscodeJob (std::shared_ptr<const Film> film); ~TranscodeJob (); - 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; void set_encoder (std::shared_ptr<Encoder> t); private: - int remaining_time () const; + int remaining_time () const override; std::shared_ptr<Encoder> _encoder; }; |
