diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-09-25 01:36:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-09-25 01:36:53 +0100 |
| commit | 922361469072474da4294a90f1436cd0117cb90f (patch) | |
| tree | e7971d036636e2b29ef348e145d64aa8173c8444 /src/lib/job.h | |
| parent | 82af50304f55a961cba6afefbfa7edd5440bfcc4 (diff) | |
Re-transcode and re-check J2Ks after a bad one is found.
Diffstat (limited to 'src/lib/job.h')
| -rw-r--r-- | src/lib/job.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/job.h b/src/lib/job.h index fee887b42..b39130479 100644 --- a/src/lib/job.h +++ b/src/lib/job.h @@ -26,6 +26,7 @@ #include <string> #include <boost/thread/mutex.hpp> +#include <boost/enable_shared_from_this.hpp> #include <sigc++/sigc++.h> class Log; @@ -35,7 +36,7 @@ class Options; /** @class Job * @brief A parent class to represent long-running tasks which are run in their own thread. */ -class Job +class Job : public boost::enable_shared_from_this<Job> { public: Job (boost::shared_ptr<const FilmState> s, boost::shared_ptr<const Options> o, Log* l); |
