{
public:
Job (boost::shared_ptr<const Film>);
- virtual ~Job() {}
+ virtual ~Job ();
/** @return user-readable name of this job */
virtual std::string name () const = 0;
return _film;
}
+ void when_finished (boost::signals2::connection& connection, boost::function<void()> finished);
+
boost::signals2::signal<void()> Progress;
/** Emitted from the UI thread when the job is finished */
boost::signals2::signal<void()> Finished;