X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Ftranscode_job.h;h=030e22bef092dea8bc67b794bea4bef8668a042f;hp=88f41d6554cf76fb19b28fb8c6692d42503c4c2b;hb=da44da6f31f97d39ca91c35955e573e76371f2c2;hpb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 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 + Copyright (C) 2012-2021 Carl Hetherington 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 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 t); private: - int remaining_time () const; + int remaining_time () const override; std::shared_ptr _encoder; };