using std::string;
using std::cout;
-using boost::shared_ptr;
+using std::shared_ptr;
ExamineContentJob::ExamineContentJob (shared_ptr<const Film> film, shared_ptr<Content> c)
: Job (film)
ExamineContentJob::~ExamineContentJob ()
{
+ stop_thread ();
}
string
ExamineContentJob::name () const
{
- return _("Examine content");
+ return _("Examining content");
}
string
void
ExamineContentJob::run ()
{
- _content->examine (shared_from_this ());
+ _content->examine (_film, shared_from_this());
set_progress (1);
set_state (FINISHED_OK);
}