Logo Search packages:      
Sourcecode: pan version File versions  Download package

gboolean Decoder::progress_update_timer_func ( gpointer  decoder ) [static, private]

tell our task about the decode's progress

Definition at line 291 of file decoder.cc.

  Decoder *self = static_cast<Decoder *>(decoder);
  Task *task = self->task;
  if (!task || self->was_cancelled()) return false;

  const double percent (self->percent);
  const std::string f (content_to_utf8 (self->current_file));

  task->set_status_va (_("Decoding %s"), f.c_str());

  return true; // keep timer func running

Generated by  Doxygen 1.6.0   Back to index