X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftranscode_job.h;h=23a856069d15b6529be66aa6cfebd4f3355c8bfc;hb=e60bb3e51bd1508b149e6b8f6608f09b5196ae26;hp=fe68a49100630dac9b9cad0bfc72cf284f016b44;hpb=9dd38ef2f05b24ba669acb9805e0914ac227fff2;p=dcpomatic.git diff --git a/src/lib/transcode_job.h b/src/lib/transcode_job.h index fe68a4910..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,15 +32,15 @@ class Encoder; class TranscodeJob : public Job { public: - TranscodeJob (boost::shared_ptr s, boost::shared_ptr o, Log* l, boost::shared_ptr req); - + 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; -private: - boost::shared_ptr _encoder; + boost::shared_ptr _transcoder; };