X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftranscode_job.h;h=23a856069d15b6529be66aa6cfebd4f3355c8bfc;hb=7ff262bc7a3e5ac16feab2fe7a0afbbe14c33896;hp=def545958f4ff0c52a0626e2ae5b1a2106ccdf6f;hpb=6809fdcbf8c65afe3c986b0e2b430d55ce7b124c;p=dcpomatic.git diff --git a/src/lib/transcode_job.h b/src/lib/transcode_job.h index def545958..23a856069 100644 --- a/src/lib/transcode_job.h +++ b/src/lib/transcode_job.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Carl Hetherington + Copyright (C) 2012-2015 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,10 +21,10 @@ * @brief A job which transcodes from one format to another. */ -#include #include "job.h" +#include -class Encoder; +class Transcoder; /** @class TranscodeJob * @brief A job which transcodes from one format to another. @@ -32,12 +32,15 @@ class Encoder; class TranscodeJob : public Job { public: - TranscodeJob (boost::shared_ptr f); - + TranscodeJob (boost::shared_ptr); + std::string name () const; + std::string json_name () const; void run (); std::string status () const; -protected: +private: int remaining_time () const; + + boost::shared_ptr _transcoder; };