X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftranscode_job.h;h=23a856069d15b6529be66aa6cfebd4f3355c8bfc;hb=f97a548fa95de856e1936baffd7f24bb0441d5d7;hp=aa640f6979976105e2a214e34426840cd08613fa;hpb=bb767c7e338414beee132af3e96829c1448e214b;p=dcpomatic.git diff --git a/src/lib/transcode_job.h b/src/lib/transcode_job.h index aa640f697..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 s, boost::shared_ptr o, Log* l); - + TranscodeJob (boost::shared_ptr); + std::string name () const; + std::string json_name () const; void run (); std::string status () const; private: - boost::shared_ptr _encoder; + int remaining_time () const; + + boost::shared_ptr _transcoder; };