using namespace boost;
/** @param s FilmState for the film that we are operating on.
- * @param o Options.
* @param l A log that we can write to.
*/
-Job::Job (shared_ptr<const FilmState> s, shared_ptr<const Options> o, Log* l, shared_ptr<Job> req)
+Job::Job (shared_ptr<const FilmState> s, Log* l, shared_ptr<Job> req)
: _fs (s)
- , _opt (o)
, _log (l)
, _required (req)
, _state (NEW)
Job::set_progress (float p)
{
boost::mutex::scoped_lock lm (_progress_mutex);
+ _progress_unknown = false;
_stack.back().normalised = p;
}
_error = e;
}
-/** Say that this job's progress will always be unknown */
+/** Say that this job's progress will be unknown until further notice */
void
Job::set_progress_unknown ()
{